sv_logbans Command

Explore usage, syntax, and examples for the sv_logbans CS2 developer console command.

sv_logbans

CS2 and CSGO

Command

sv_logbans

<0 / 1>

Enable this command to log all server bans in the server log. By default, ban logging is off.

<0 / 1>

Set to 0 to disable ban logging (default). Set to 1 to enable logging of bans in the server log.

sv_cheats Required

No

Client or Server Command

Client

Server

Default Value

0

sv_logbans Generator

Command

sv_logbans

<0 / 1>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

sv_logbans Examples

Command

sv_logbans

0

Default setting: bans are not recorded in the server log.

Command

sv_logbans

1

Enable ban logging to record all bans in the server log.