Skip to content
/SLASHPLAY

How to slap a player in Sven Co-op

As an admin listed in admins.txt, type admin_slap Dana 5 3 in the in-game chat for three slaps of 5 damage.

admin_slap

Admin chat command that slaps a player, with optional damage and a number of slaps.

admin_slap <player> [damage] [count]

Examples

admin_slap Dana

One slap, no damage.

admin_slap Dana 5 3

Three slaps of 5 damage.

Arguments

playerRequired
Name or Steam ID.
damageOptional
Damage per slap, 0 if left out.
countOptional
How many slaps, 1 if left out.

What it does

Use it to nudge an idle or stuck player.

Good to know

  • Type it in the in-game chat. Everyone sees a line saying which admin did what.
  • From the PlayerManagement plugin that ships with Sven Co-op and loads by default. Only players in admins.txt can use it. It can't be used on other admins.

Run it on your server

Type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to svencoop/server.cfg in the Files tab: Sven Co-op runs it at every map change. New to this? Start a Sven Co-op server first.

Your own
Sven Co-op server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.