Skip to content
/SLASHPLAY

How to log bans on a Left 4 Dead server

Add sv_logbans 1 to left4dead/cfg/server.cfg and turn logging on with log on; bans then show in the server log.

sv_logbans

Writes bans into the server log. Off by default.

sv_logbans <0|1>

Examples

sv_logbans 1

Log bans.

Values

ValueWhat it does
0Default Off
1 On

Arguments

0|1Required
1 logs bans.

What it does

Useful when you want a record of who was banned and when.

Good to know

  • Typed in the Console tab it lasts until the server restarts. To keep it, add sv_logbans 1 to left4dead/cfg/server.cfg, which the server runs at every map load.

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.