CS2 Console Commands

Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details. Click (Command Details) to view each specific command in more detail.

sv_logecho

CS2 and CSGO

Command

sv_logecho

<0 / 1>

Controls whether text saved to the log file is also displayed in the console. Enabled by default.

Command Details

sv_logfile

CS2 and CSGO

Command

sv_logfile

<0 / 1>

Enable or disable logging of server information in the log file. By default, logging is enabled (1). Set to 0 to stop logging server info.

Command Details

sv_logflush

CS2 and CSGO

Command

sv_logflush

<0 / 1>

Controls if the log file is saved to disk immediately whenever a new entry is logged. By default, the log file saves periodically to reduce lag. Enabling this can cause performance issues.

Command Details

sv_log_onefile

CS2 and CSGO

Command

sv_log_onefile

<0 / 1>

Enable this command to log all server information into a single file instead of separate categorized log files. Default is 0 (disabled).

Command Details

sv_log_roundstats

CS2 Only

Command

sv_log_roundstats

<0 / 1>

Enable or disable logging of round statistics in the server logs.

Command Details

sv_logsdir

CS2 and CSGO

Command

sv_logsdir

<Directory Name>

Sets the folder where game logs are saved. Defaults to "logs".

Command Details

sv_mapvetopickvote_maps

CS2 Only

Command

sv_mapvetopickvote_maps

<Map list>

Sets which maps can be chosen during the map veto pick sequence in competitive matches.

Command Details

sv_mapvetopickvote_rnd

CS2 Only

Command

sv_mapvetopickvote_rnd

<0 / 1>

Enables or disables randomizing the order of veto pick maps each time.

Command Details

sv_matchend_drops_enabled

CS2 and CSGO

Command

sv_matchend_drops_enabled

<0 / 1>

Enable or disable item drops at the end of a match. Gameplay time rewards apply regardless of this setting.

Command Details

sv_matchpause_auto_5v5

CS2 and CSGO

Command

sv_matchpause_auto_5v5

<0 / 1>

Automatically pauses the match at the end of a round if either team has fewer than 5 players. Disabled by default.

Command Details