All CS2/CSGO Commands List

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 (simply hover over a command to view).
demoui
This command toggles the visibility of the demo player UI. With the demo UI open, this allows you to speed up and slow down & skip rounds.
Examples, Generator & More
demo_recordcommands
demo_recordcommands
<0 / 1>
Enabling this will keep track of what commands you used in a certain demo session and save them along with the recording. This can be useful when testing out new things on your own private server and want to keep track of the commands you used.
Name:
0 / 1
Description:
Enter a 1 after the command, this will begin recording commands in a demo, and enter a 0 after the command to stop recording.
Examples, Generator & More
demo_resume
The complete polar opposite of demo_pause, demo_resume will basically continue to play the demo which had been previously paused. This command will only work if the demo is paused, otherwise typing this into the console and pressing enter will do nothing.
Examples, Generator & More
demo_pause
The demo_pause command will pause the demo you are currently watching. Playback also can be resumed with the demo_resume command.
Examples, Generator & More
Playdemo
<Demo File Name>
This command will play the specific demo file.
Name:
Demo File Name
Description:
This command will play the specified demo file. Demos are stored in this location by default Steam\steamapps\common\Counter-Strike Global Offensive\csgo folder. If you decide to place them in your replays folder, put replays/" before the name.
Examples, Generator & More
spray_menu
<-spray_menu> <+spray_menu>
This command will open up the graffiti spray menu and can close the spray menu.
Name:
-spray_menu
Description:
This command hides the spray menu.
Name:
+spray_menu
Description:
This command will open up the graffiti spray menu.
Examples, Generator & More
mp_maxrounds
<Amount>
This command will set the maximum amount of rounds that the server will use before it restarts.
Name:
Amount
Description:
The maximum amount of rounds that the server will have before it restarts.
Examples, Generator & More
host_writeconfig
<Config File>
This command will allow you to save all your server settings, that you can set with the host_commands to your config. cfg. This will be applied when the server restarts.
Name:
Config File
Description:
This will be saved to your config.cfg if it is not specified. The name of the config file which will save the settings.
Examples, Generator & More
mp_ignore_round_win_conditions
mp_ignore_round_win_conditions
<0 / 1>
This command is used to enable and disable round win conditions in your game.
Name:
0 / 1
Description:
This command when enabled will make the game ignore the conditions that make the round end. Things such as a bomb successfully exploding, or a team wipe. When enabled, the round will last forever, until you disable the input. The default value is 0.
Examples, Generator & More
record
<Demo File Name>
This command will allow you to start recording your current game as a demo. You will need to use a specific file name. You can use the stop command to stop the recording. The Demo will be saved in Steam\steamapps\common\Counter-Strike Global Offensive\csgo. By default.
Name:
Demo File Name
Description:
The name of the file in which the demo will be saved.
Examples, Generator & More
cl_teamid_overhead_always
cl_teamid_overhead_always
<0 / 2>
This command code will enable both the display of team ID and the equipment your teammates have above each of their heads.
Name:
0 / 2
Description:
Setting it to 0 so as not to show the player's Team ID or equipment overhead. Setting this to 1 will only show the team ID over (the arrow that will only appear when hovering over a teammate's head. Setting this to 2 will show the team ID and equipment above the team mates heads permanently.
Examples, Generator & More
mp_damage_headshot_only
mp_damage_headshot_only
<0 / 1>
Turning this command on means that damage to enemies can only be done via headshots.
Name:
0 / 1
Description:
Enter a 1 after this command to enable it and enter a 0 after the command which will disable it by default.
Examples, Generator & More
cl_draw_only_deathnotices
cl_draw_only_deathnotices
<0 / 1>
This console command is used for CS2 frag movie creators. This command will strip down the UI and will only include the crosshair and kill feed.
Name:
0 / 1
Description:
Add a 1 after the command to turn this command on, and 0 to turn it off.
Examples, Generator & More
Show entries:
1161718

Above 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 (simply hover over a command to view).

You can type in the name of a specific command to filter that command.

We also have a Command category making it easier for those looking for CSGO commands in a certain category.