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).
viewmodel_offset_y
viewmodel_offset_y
<Y Offset>
The Y offset of the viewmodel is used to move the weapon forward and backward, following the Y axis in a 3D environment.
Name:
Y Offset
Description:
You can adjust the command using values between -2 to 2. 2 is closer to the top of the screen. -2 is closer the bottom of the screen.
Examples, Generator & More
viewmodel_offset_x
viewmodel_offset_x
<X Offset>
The X offset of the viewmodel is used to move the weapon left and right, following the X axis in a 3D environment. You can adjust the command using values between -2 to 2.5.
Name:
X Offset
Description:
You can set this between 2.5 and -2.5. Setting to -2.5 will be closer to the middle of the screen. 2.5 is closer to the edge of the screen.
Examples, Generator & More
demo_listhighlights
demo_listhighlights
This command shows highlights of the demo, allowing quick reviews of important events​.
Examples, Generator & More
demo_listimportantticks
demo_listimportantticks
The ‘list important ticks’ gives all significant moments contained in the game client.
Examples, Generator & More
endmovie
Stops the movie recording, which was started by startmovie command.
Examples, Generator & More
startmovie
<Movie File Name>
This command Initiates movie recording from the demo and allows you to capture demo playback into a video file.
Name:
Movie File Name
Description:
The name of the movie file you wish to start.
Examples, Generator & More
viewmodel_presetpos
viewmodel_presetpos
<1 / 2 / 3>
If you aren’t too sure of how you are going to tweak your viewmodel offsets, you can actually use a preset of viewmodel commands that were created by Valve. You will have three different preset positions for viewmodels by using the viewmodel_presetpos command in combination with one of the five values.
Name:
1 / 2 / 3
Description:
1 - Desktop Preset Position
2 - Couch Preset Position
3 - Classic Preset Position
Examples, Generator & More
mp_buytime
<Seconds>
Unfortunately, sometimes people are too distracted from opening their phones after dying, and might miss the buy period. Or, they forget to buy an extra grenade or two and have to run back to base, only to see that the buy period is over. That being said, the buy period duration can be extended using the mp_buytime console command to as long as you desire. 
Name:
Seconds
Description:
The amount of buy time that players can use the buy menu for.
Examples, Generator & More
mp_forcerespawnplayers
mp_forcerespawnplayers
<0 / 1>
This command is intended to force all dead players to respawn, though it may not always work as expected.
Name:
0 / 1
Description:
mp_respawn_on_death_t <0 / 1> Where 0 means that Terrorists will only respawn at the start of the next round while entering 1 will mean that Terrorists will respawn immediately after death.
Examples, Generator & More
strafe
<+strafe> <-strafe>
Look at what exactly Strafe commands do in Counter-Strike: Global Offensive - and how you can use them to get an advantage over your opponents.
Name:
+strafe
Description:
This command will disable the mouse's ability to adjust where your player model is looking. Instead, the mouse movement will cause your character to strafe (move your character sideways). You can turn off this effect using the -strafe command.
Name:
-strafe
Description:
This command will disable the effect of the +strafe command - and restore your mouse's ability to control the camera and look around.
Examples, Generator & More
sv_minupdaterate
<Tickrate>
You enter the command in the control panel, and it simply sets the minimum update rate for the game server. It can be used in conjunction with the sv_mincmdrate command to adjust the server's tick rate, such as to 128 tick.
Name:
Tickrate
Description:
Where tick rate is your desired minimum update rate, for example, 128 ticks per second.
Examples, Generator & More
mp_deathcam_skippable
mp_deathcam_skippable
<0 / 1>
This command determines whether or not the death cam can be skipped. The default setting is 1 - which means that it is skippable.
Name:
0 / 1
Description:
Where entering 0 means the deathcam cannot be skipped, and if you set it to 1, it means that the deathcam can be skipped (which is the default).
Examples, Generator & More
sv_party_mode
<0 / 1>
One of the lesser known Counter Strike game modes, you can use this command to toggle the party game mode on and off. When party mode is enabled, bombs and tasers (zeuses) will shoot confetti. However, by default, this feature is turned off.
Name:
0 / 1
Description:
Where you set it to 0 to disable party mode (the default) and set it to 1 to enable party mode.
Examples, Generator & More
sv_dz_player_spawn
sv_dz_player_spawn
<Amount>
Using this command essentially determines the initial health that players spawn with in the Danger Zone. The default value is 120 - which is also the maximum health players can have.
Name:
Amount
Description:
The amount of spawn health the default is 120.
Examples, Generator & More
mp_respawn_immunitytime
mp_respawn_immunitytime
<Seconds>
This command can be edited to set how long players are immune after respawning and is normally used in deathmatch game modes. The default value is 0 for non-deathmatch game modes.
Name:
Seconds
Description:
mp_respawn_immunitytime : Where is how much immunity you get (in seconds) after being respawned.
Examples, Generator & More
toggle
<Command> <Values>
The toggle command allows you to switch a convar on and off (between 0 and 1) or cycle it through its values.
Name:
Command
Description:
Where is the convar you want to toggle.
Name:
Values
Description:
Values> is optional. If not specified, the command will toggle between 0 and 1. You can specify a list of values to cycle through, separated by spaces (e.g., "0 1 2 3" without quotes).
Examples, Generator & More
cl_disablehtmlmotd
cl_disablehtmlmotd
<0 / 1>
When set to 1, this command effectively disables HTML MOTDs, which prevents them from popping up and potentially disrupting your gameplay. These MOTDs are known for sometimes playing loud ads or containing various content that could be distracting - which is why you might want to disable them.
Name:
0 / 1
Description:
1 to disable HTML MOTD, 0 to enable.
Examples, Generator & More
killserver
This command will shut down the server you are currently in
Examples, Generator & More
unbindall
This command will remove all binds from all keys. However, before implementing this, you need to know that this action will remove binds from even the essential keys like W, A, S, and D, which will make all movement impossible until re-binding.
Examples, Generator & More
unbind
<Key>
The unbind will remove any key bindings associated with the specified key in CS:GO and CS2. You can use this command to clear any bind or actions previously assigned to keys.
Name:
Key
Description:
Where, in the place of , you enter the key you want to unbind from any actions.
Examples, Generator & More
cl_crosshair_recoil
cl_crosshair_recoil
<0 / 1>
This command will determine whether your crosshair moves when taking damage or experiencing aimpunch.
Name:
0 / 1
Description:
Where you enter "1" if you want to enable crosshair recoil when hit, or enter "0" if you want to disable crosshair recoil (which is the default setting).
Examples, Generator & More
sv_allowupload
<0 / 1>
This command determines whether or not clients are permitted to upload files to the server - usually customization files.
Name:
0 / 1
Description:
Where you set it to 0 to prevent clients from uploading files (default) and set it to 1 to allow them.
Examples, Generator & More
mp_match_end_changelevel
mp_match_end_changelevel
<0 / 1>
This command determines whether the map should reload when the next map is the same map. By default, it's set to off (0), which means scores and other settings reset at the end of a match without reloading the map if it's the same.
Name:
0 / 1
Description:
Where you set it to 0 to retain the current map if it's the same after a match (default) and set it to 1 to reload the map.
Examples, Generator & More
mat_texture_list
<+mat_texture_list> <-mat_texture_list>
This page offers assistance for mat_texture_list.
Name:
+mat_texture_list
Description:
This command toggles the display of CS:GO textures in the game. However, it's worth being aware that his command may cause your Counter-Strike: Global Offensive game to crash, so use it carefully.
Name:
-mat_texture_list
Description:
This command hides the display of CS:GO textures that +mat_texture_list brings up. Both of these commands can frequently cause CS:GO to crash, though, so make sure you use them carefully.
Examples, Generator & More
Show entries:
12318

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.