sv_logbans Command

When set to 1 this option causes server bans to be recorded in the server log. Default value is 0 (bans are not logged).

Category
Server
Game
CS2 + CSGO
Scope
Global
Cheats
Not Required

Command Arguments

These are the parameters sv_logbans uses. Required arguments must be provided for the command to work.

<0 / 1>

BoolRequired

Use 0 to prevent bans from being written to the log file (default). Use 1 to record bans in the log file.

Default: 0

Command Builder

Interactive command builder that generates a valid sv_logbans command for in-game use.

All required arguments filled!

Generated Command

sv_logbans 0

Command Information

Learn more about how to use sv_logbans effectively.

Argument Data Types

Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.

Required Arguments

Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.

Command Scope

Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.

Cheats Required

Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.