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).
hud_takesshots
hud_takesshots
<0 / 1>
This command can be used and it will allow the auto-taking of screenshots at the end of each match when the scoreboard is up. The default is 0.
Name:
0 / 1
Description:
0 to disable 1 to enable.
viewmodel_offset_randomize
viewmodel_offset_randomize
<0 / 1>
This command will change the ViewModel offsets within a certain range, which will help to see the ViewModel positions in CS2.
Name:
0 / 1
Description:
To Enable or Disable
cl_spec_mode
cl_spec_mode
<0 / 1>
This command w
Name:
0 / 1
Description:
You can enter a 1 after this command and it will save your spectator settings.
achievement_debug
achievement_debug
<0 / 1>
When sv_cheats 1 is on this command will turn on achievement debug messages in game.
Name:
0 / 1
Description:
0 to enable 1 to disable this feature.
cl_viewmodel_shift_left_amt
cl_viewmodel_shift_left_amt
<Viewmodel Increase>
This command will set how much the ViewModel moves to the left when the shooting accuracy starts to increase.
Name:
Viewmodel Increase
Description:
You can choose a number between 0.5 and 2.
sv_competitive_official_5v5
sv_competitive_official_5v5
<0 / 1>
This command, when enabled will allow the server to show a 5v5 scoreboard and will allow spectators to see the outline glow of a player through walls.
Name:
0 / 1
Description:
Set to 0 to disable. Set to 1 to enable this command.
rcon
rcon
<Command>
This command will allow issue the selected rcon command.
Name:
Command
Description:
The command you wish to select using rcon (which means run on the server)
bot_freeze
bot_freeze
<0 / 1>
This cheat command will prevent bots (NPC characters) from being able to move in the game.
Name:
0 / 1
Description:
Enter 1 to prevent bots from moving, and 0 which will set them back to normal and resume in the game
clientport
clientport
<Port ID>
This is a command used to connect to a server directly.and can be useful in a LAN environments when multiple computers are operating from the same IP adresss.
Name:
Port ID
Description:
The ID of the server that you want to connect to.
sv_ent_showonlyhitbox
sv_ent_showonlyhitbox
<Entity ID>
This command highlights only the hitbox of a specific entity in the game, allowing for better seen hit detections.
Name:
Entity ID
Description:
This will specify the ID of the hitbox which will be highlighted.
cl_bobup
cl_bobup
<Value>
This will Adjust how much your viewmodel & weapon bobs up when running in game.
Name:
Value
Description:
The value attached to your viewmodel when bobbing up and down in game.
cl_deathnotices_show_numbers
cl_deathnotices_show_numbers
<0 / 1>
This command will control if numbers are displayed in the death notices in CS2.
Name:
0 / 1
Description:
1 to enable 0 to disable
cl_showerror
cl_showerror
<0 / 1>
This will Produce a list of error commands in your console if any are occuring.
Name:
0 / 1
Description:
1 to enable, 2 to enable it for a more detailed report. 0 will turn the command off.
cl_dz_playagain_auto_spectate
cl_dz_playagain_auto_spectate
<0 / 1>
This command, when (set to 1), will make you automatically switch to spectator mode after pressing play again in Danger Zone. game mode.
Name:
0 / 1
Description:
1 to enable 0 to disable.
sv_deadtalk
sv_deadtalk
<0 / 1>
This command, if enabled at 1 will allow dead players to speak to those still alive. Default is enabled (1), set to 0 to not allow dead players to speak to players while still alive. On either setting, dead players can hear both dead and the alive players.
Name:
0 / 1
Description:
0 to disable 1 to enable.
r_csgo_mixed_resolution_color_slices
r_csgo_mixed_resolution_color_slices
<0 / 1>
This command sets whether or not net graph font is proportional in CS2. Default is 1 (enabled).
Name:
0 / 1
Description:
0 to disable 1 to enable.
net_graphproportionalfont
net_graphproportionalfont
<0 / 1>
This command sets whether or not net graph font should be made proportional. Default is 1 (enabled).
Name:
0 / 1
Description:
0 to disable 1 to enable.
confirm_join_friend_session_exit_current
confirm_join_friend_session_exit_current
<Backup File>
Once invited to a friend's session, you can use this console command which will accept the invite and leave your current session you are currently in.
Name:
Backup File
Description:
The name of the backup file you wish to restore back to the game. Find the backup file name with mp_backup_restore_list_files. You need to include the .txt file extension.
hotsport
hotsport
<Backup File>
The port in which your server will run on. It is always recommended if you leave it at default which is 27015.
Name:
Backup File
Description:
The name of the backup file you wish to restore back to the game. Find the backup file name with mp_backup_restore_list_files. You need to include the .txt file extension.
mp_backup_restore_load_file
mp_backup_restore_load_file
<Backup File>
Name:
Backup File
Description:
The name of the backup file you wish to restore back to the game. Find the backup file name with mp_backup_restore_list_files. You need to include the .txt file extension.
cl_color
cl_color
<Color Value>
This useful command sets what color you like to be in matchmaking. This color is shown on the radar and also on your Steam Avatar.
Name:
Color Value
Description:
You can select a number from 0-4 that corresponds with one of the available colors.
cl_ent_show_damage
cl_ent_show_damage
<0 / 1>
This command will set a damage the damage recieved at the top of the players head in CS2.
Name:
0 / 1
Description:
0 to disable 1 to enable.
ui_mainmenu_bkgnd_movie_B0B70CFF
ui_mainmenu_bkgnd_movie_B0B70CFF
<Movie Name>
This command will set the background for the main movie in CS2.
Name:
Movie Name
Description:
The name of the movie that you would like to set as the background.
mp_weapons_glow_on_ground
mp_weapons_glow_on_ground
<0 / 1>
This command will set if weapons on the ground have a glow around each weapon that is on the floor.
Name:
0 / 1
Description:
Inputting a 1 will make weapons glow 0 is the default value with no glow.
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.