Skip to content
/SLASHPLAY

How to ban a player in Sven Co-op

Type banid 0 #12 kick in the Console tab of your server page to ban userid 12 for good and kick them, then writeid to save the ban.

banid

Bans a Steam ID for a number of minutes, or for good with 0, and can kick the player at once.

banid <minutes> <player> [kick]

Examples

banid 0 #12 kick

Ban userid 12 for good and kick them.

banid 60 STEAM_0:1:12345678

Ban this Steam ID for an hour.

Arguments

minutesRequired
Ban length in minutes, 0 for permanent.
playerRequired
# and the userid from status, or the Steam ID.
kickOptional
Kick the player now as well.

What it does

Add kick at the end to remove them now. Run writeid afterwards to save permanent bans to banned.cfg.

Good to know

  • On SLASHPLAY, type it in the Console tab of the server page.
  • SLASHPLAY keeps svencoop/banned.cfg and svencoop/listip.cfg with your server, and Sven Co-op's own server.cfg loads both at every map.

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.