Server

Server Commands

Browse the complete list of all Counter-Strike 2 Server commands with documentation and usage examples.

2582
Commands
16
Categories
Always
Free to use

Browse by Category

Explore commands organized by category to find exactly what you need.

Browse All Server Commands

Explore our collection of Server commands. Use the filters to find the specific command you need.

sv_logbans<0 / 1>

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

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_logblocks<0 / 1>

If enabled (1), this option logs instances of blocked server queries. Default is 0 (does not log blocked queries). Enabling it may cause log files to grow very large.

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_logecho<0 / 1>

This setting controls whether every line written to the log file is also echoed to the console. Default is 1 (enabled).

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_logflush<0 / 1>

This option controls whether the log file is flushed to disk on every log entry. By default it is disabled and flushing occurs periodically rather than per line. Enabling it may cause lag.

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_log_onefile<0 / 1>

When enabled, this option writes all server information into a single file rather than separate categorized logs. Default is 0 (disabled).

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_logsdir<Directory Name>

This option specifies the folder where log files are stored. Default is "logs".

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_mapvetopickvote_maps<Map list>

Defines the maps that are available for the map veto pick sequence in competitive games.

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_mapvetopickvote_rnd<0 / 1>

When enabled, this command randomizes the order of the veto pick maps list each time.

ServerCS2 OnlyGlobalNo Cheats
View Details

sv_matchend_drops_enabled<0 / 1>

This option controls whether end-of-match drops are enabled. Reward gameplay time continues to be accrued regardless.

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_max_deathmatch_respawns_per_tick<Number of Respawns>

Specifies the maximum number of respawns permitted per tick in Counter-Strike 2 Deathmatch.

ServerCS2 OnlyGlobalNo Cheats
View Details

sv_max_queries_sec

Defines the maximum number of queries per second that will be answered from a single IP address.

ServerCS2 + CSGOGlobalNo Cheats
View Details

sv_max_queries_sec_global

Specifies the maximum number of queries per second the server will respond to.

ServerCS2 + CSGOGlobalNo Cheats
View Details

How to Apply Commands

Follow this step-by-step guide to apply console commands to your game and customize your CS2 experience.

  1. Open the in-game developer console by pressing ~ or `.
  2. If the console doesn't open, check your key bindings in the settings menu to locate the correct console key.
  3. Type the desired console command exactly as listed (for example sv_cheats 1) and press Enter to execute it.
  4. Observe the effect of the command immediately in-game to confirm it applied correctly.
  5. Adjust any related settings as needed for your preferences, including sensitivity, viewmodel, and visual settings.