Server & Match Commands
See also: CS2 tools, guides, skins database, cases, weapon stats, pro player settings, map callouts, console commands.
Server administration and match settings for private servers. See the full CS2 console command list, or build a config with the autoexec generator, bind generator and practice config generator.
All Server & Match Commands (20)
changelevelChange to a different map (e.g. changelevel de_mirage)
mapLoad a map and restart the server (e.g. map de_dust2)
game_modeSet game mode (0=casual, 1=competitive, 2=wingman)
game_typeSet game type (0=classic, 1=arms race, etc.)
mp_autoteambalanceAuto-balance teams (0=off, 1=on)
mp_limitteamsMax player imbalance between teams (0=no limit)
mp_timelimitTime limit per map in minutes (0=none)
mp_maxroundsMax rounds per half
mp_overtime_enableEnable overtime in competitive (1=on)
mp_overtime_maxroundsMax rounds in overtime
mp_halftimeEnable halftime (1=on)
mp_friendlyfireEnable friendly fire (0=off, 1=on)
mp_solid_teammatesTeammates block each other (0=pass through, 1=solid)
mp_autokickAuto-kick idle players and team killers
sv_passwordServer password (empty = public)
sv_lanRun server in LAN mode only (1=LAN)
hostnameSet the server name displayed in browser
rcon_passwordRemote console password for server administration
rconExecute a remote console command (e.g. rcon sv_cheats 1)
kickKick a player by name or userid
Other Command Categories
Frequently Asked Questions
- How many server & match commands are there in CS2?
- There are 20 server & match commands in CS2. 20 can be used in any game mode, and 0 require sv_cheats 1.
- Which server & match commands require sv_cheats?
- None of the server & match commands require sv_cheats. All 20 commands can be used in any game mode including competitive matchmaking.
- How do I use server & match commands in CS2?
- Open the developer console by pressing the tilde key (~). If it does not open, enable it in Settings > Game > Enable Developer Console. Then type the command and press Enter. You can add these commands to your autoexec.cfg for them to run automatically on launch.
- How do I save console commands permanently?
- Create an autoexec.cfg file in your CS2 cfg folder (Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/) and add your commands there. End the file with host_writeconfig. These commands run automatically every time CS2 launches.