How to ban a player on a CS:S server
Type banid 0 STEAM_0:1:12345678 kick in the server console to ban and kick that Steam ID for good, then writeid to save it.
banid
Bans a player by userid or Steam ID for a number of minutes, 0 for permanent.
banid <minutes> <userid|steamid> [kick] Examples
banid 0 STEAM_0:1:12345678 kick Permanent ban and kick.
banid 60 7 Ban userid 7 for one hour.
Arguments
minutesRequired- Ban length, 0 for permanent.
useridRequired- Userid or Steam ID.
kickOptional- Also kick the player now.
What it does
Add kick at the end to remove them now. Run writeid afterwards to save permanent bans to banned_user.cfg.
The game's own description: Add a user ID to the ban list.
Good to know
- Bans are lost on restart unless you run
writeid.
Run it on your server
On a SLASHPLAY 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 cstrike/cfg/server.cfg. New to this? Start a CS:S server first.
Your own
CS:S server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.