CS2 Server Commands

Commands in this category can be used to change server and host settings like IP addresses, query settings, etc. They're useful in private servers, dedicated servers and for use as rcon commands.

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

sv_max_allowed_net_graph

CS2 and CSGO

Command

sv_max_allowed_net_graph

<Value>

Sets the highest net_graph value that players can use on the server. A higher value displays more detailed network information.

Command Details

sv_max_deathmatch_respawns_per_tick

CS2 Only

Command

sv_max_deathmatch_respawns_per_tick

<Number of Respawns>

Sets the maximum number of player respawns allowed per tick in Counter-Strike 2 Deathmatch mode.

Command Details

sv_max_queries_sec

CS2 and CSGO

Command

sv_max_queries_sec

Sets the maximum number of queries per second that the server will respond to from the same IP address.

Command Details