Skip to content
/SLASHPLAY

How to log bans in CS 1.6

Type sv_logbans 1 in the server console and bans and unbans are written to the server log. Needs log on.

sv_logbans

Writes bans and unbans to the server log.

sv_logbans <0|1>

Examples

sv_logbans 1

Keep a record of bans in the log.

Values

ValueWhat it does
0Default Bans are not logged
1 Bans and unbans are logged

Arguments

0|1Required
0 off, 1 logs bans.

What it does

With this on, banid, addip and their removals show up in the log, which helps you trace who banned whom and when. Logging must be on with log on for anything to be written.

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/server.cfg. New to this? Start a CS 1.6 server first.

Your own
CS 1.6 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.