CS2 server commands
These commands set up a match on a server you run, or an offline game against bots.
server commands list
41 of 41
| Command | What it does | Default | Notes |
|---|---|---|---|
| mp_roundtime_defuse | Round length in minutes on bomb defusal maps. Set it high for practice so the round never ends. | 0 | |
| mp_roundtime | Round length in minutes for modes other than bomb defusal. | 5 | |
| mp_freezetime | Seconds of freeze time at the start of each round. 0 removes it. | 6 | |
| mp_buytime | Seconds after the round starts that you can still buy. | 90 | |
| mp_buy_anywhere | Lets players buy outside the buy zone. | 0 | |
| mp_maxmoney | The most money a player can hold. | 16000 | |
| mp_startmoney | Money each player starts a half with. | 800 | |
| mp_warmup_end | Ends warmup straight away and starts the match. | ||
| mp_restartgame | Restarts the match after the given number of seconds. Use it after changing round or money settings so they take effect. | 0 | |
| mp_ignore_round_win_conditions | Stops rounds from ending when a team is eliminated or the bomb goes off. | 0 (false) | |
| mp_limitteams | The largest player-count difference allowed between teams. 0 removes the limit, so you can play alone on one side. | 2 | |
| mp_autoteambalance | Moves players between teams to keep the sides even. Turn it off for practice. | 1 (true) | |
| mp_c4timer | Seconds from plant until the bomb explodes. | 40 | |
| mp_friendlyfire | Lets players damage teammates. | 0 (false) | |
| mp_free_armor | Gives every player armour at round start. | 0 | |
| mp_solid_teammates | Whether teammates block each other. | 1 | |
| mp_give_player_c4 | Whether a Terrorist is given the bomb at round start. | 1 (true) | |
| mp_defuser_allocation | Gives Counter-Terrorists defuse kits at round start. | 0 | |
| sv_airaccelerate | How much you can steer while airborne. Higher values make air strafing and surf easier. | 12 | |
| sv_gravity | World gravity. Lower values make jumps float. | 800 | |
| ammo_grenade_limit_total | The most grenades one player can carry. | 3 | |
| map | Loads a map. Offline, this starts a local game you control. | ||
| changelevel | Changes the map on a server you are already running. | ||
| maps | Lists the maps the game can load. | ||
| connect | Connects to a server by address. | ||
| disconnect | Leaves the current game. | ||
| status | Prints the server, map and players, with each player's ping and Steam ID. | ||
| quit | Closes CS2. | ||
| kick | Kicks a player from a server you run. | ||
| kickid | Kicks a player by their user ID from status. | ||
| callvote | Starts a vote, such as a kick or a timeout. | ||
| mp_pause_match | Pauses the match at the next freeze time. | ||
| mp_unpause_match | Ends a pause. | ||
| mp_warmup_pausetimer | Freezes the warmup timer so warmup never ends. | 0 | |
| mp_round_restart_delay | Seconds between the end of one round and the start of the next. | 7 | |
| mp_teamname_1 | Name shown for the first team. | (empty) | |
| mp_teamname_2 | Name shown for the second team. | (empty) | |
| record | Starts recording a demo of the game you are in. | sv_cheats | |
| stop | Stops recording a demo. | ||
| playdemo | Plays a demo file. | ||
| demoui | Opens the demo playback controls. |
Revision history
- First published. Every command checked against CS2's own cvar and command list (SteamDatabase dump b73cfdeb35, 28 Oct 2026).
- First published. Every command checked against CS2's own cvar and command list (SteamDatabase dump b73cfdeb35, 28 Oct 2026).