How to log bans in Half-Life 2: Deathmatch
Add sv_logbans 1 and log on to hl2mp/cfg/server.cfg.
sv_logbans
Writes bans to the server log. Off by default.
sv_logbans <0|1> Examples
sv_logbans 1 Bans are logged.
Values
| Value | What it does |
|---|---|
| 0Default | Off |
| 1 | On |
Arguments
0|1Required1turns it on,0turns it off.
What it does
Turn it on to keep a record of who was banned and when.
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 hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.
Your own
HL2DM server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.