How to ban a player in Left 4 Dead
Type banid 0 STEAM_1:0:12345678 kick in the Console tab of the server page for a permanent ban, then writeid to save it to banned_user.cfg.
banid
Bans a player by userid or Steam ID for a number of minutes, 0 for permanent. Add kick to remove them now.
banid <minutes> <userid|steamid> [kick] Examples
banid 0 STEAM_1:0:12345678 kick Permanent ban, and kick now.
banid 60 5 kick One hour for userid 5.
Arguments
minutesRequired- Ban length in minutes, 0 for permanent.
userid|steamidRequired- The player's userid or Steam ID from
status. kickOptional- Also kick the player now.
What it does
Bans by Steam ID follow the player's account, so they hold when the player's address changes.
Good to know
- Run
writeidafterwards to save permanent bans toleft4dead/cfg/banned_user.cfg, which SLASHPLAY keeps with every save. - To load saved bans at each start, put
exec banned_user.cfgin server.cfg.
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 left4dead/cfg/server.cfg: the game ships without one, so upload your own with the file manager. New to this? Start a L4D server first.
Your own
L4D server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.