CS2 Console Commands List

Below is CSGOLucks searchable list of all CS2 console commands. Each command in our database has detailed documentation, with help and argument explanation (hover over a command to view).
cl_disablehtmlmotd
cl_disablehtmlmotd
<0 / 1>
This command can be used to disable HTML messages of the day.
Name:
0 / 1
Description:
Enter 1 to disable the HTML match of the day. Enter 0 to turn it back on which is set by default at 0
Examples, Generator & More
host_writeconfig
<Config File>
The command below can be used to save all of your game settings, including those you’ve adjusted with commands, and save them into one .cfg file.
Name:
Config File
Description:
This will be saved by default to config.cfg if it is not specified.
Examples, Generator & More
mp_ignore_round_win_conditions
mp_ignore_round_win_conditions
<0 / 1>
The command below removes the usual round win conditions in CS:GO or CS2 like when the bomb explodes, is defused, the entire team dies, or if time runs out. In other words, this command will make the round last indefinitely until you enable back the round win conditions or change to a different map.
Name:
0 / 1
Description:
Enter this command in the console and add a 1 to turn off the round win conditions so that the rounds can last forever. Enter a 0 after the command to enable back the round win conditions to end the round.
Examples, Generator & More
mp_damage_headshot_only
mp_damage_headshot_only
<0 / 1>
Turning this command on means that damage can only be done to players through headshots only.
Name:
0 / 1
Description:
Enter this command in the console and add a 1 to turn on headshot-only mode in CS2. If you want to disable it, enter 0 after the command.
Examples, Generator & More
mp_free_armor
<0 / 1 / 2>
The mp_free_armor command in CS:GO controls whether players are automatically given armor at the beginning of each round.
Name:
0 / 1 / 2
Description:
Enter a 0 here to disable free armor and helmet at the start of each round / on respawn (default). Enter 1 to give vest to all players on respawn. Enter 2 to give a free vest and helmet to all players on each respawn.
Examples, Generator & More
mp_c4timer
<Seconds>
This command sets how many seconds it takes for the bomb to explode after it has been planted by the T side of play.
Name:
Seconds
Description:
The amount of seconds it takes for the C4 to explode, after it has been planted.
Examples, Generator & More
cl_show_team_equipment
cl_show_team_equipment
<0 / 1>
The “cl_show_team_equipment” command is crucial for team play. When you type it, you can see your teammates' complete gear, such as weapons, armor, and other items, helping you coordinate better during each round. Knowing your team, you can make intelligent strategies and plan your buys so you can synchronize attacks or defenses.
Name:
0 / 1
Description:
1 to enable 0 to disable.
Examples, Generator & More
mp_maxrounds
<Amount>
This command sets the maximum amount of rounds that the server will last for.
Name:
Amount
Description:
The maximum amount of rounds that the server last for before a restart.
Examples, Generator & More
game_mode
<Game Mode>
This command is specifically designed to bring players the power to select the game mode of their choice. By using this command, you can select any of the 15 game modes available.
Name:
Game Mode
Description:
The number of the game mode you wish to play, the combinations are below.
Casual: game_mode 0; game_type 0
Competitive: game_mode 1; game_type 0
Wingman: game_mode 2; game_type 0
Weapons Expert: game_mode 3; game_type 0
Training Day: game_mode 4; game_type 0
Arms Race: game_mode 0; game_type 1
Demolition: game_mode 1; game_type 1
Deathmatch: game_mode 2; game_type 1
Training: game_mode 0; game_type 2
Custom: game_mode 0; game_type 3
Guardian: game_mode 0; game_type 4
Co-op Strike: game_mode 1; game_type 4
War Games: game_mode 0; game_type 5
Danger Zone: game_mode 0; game_type 6
Workshop: game_mode 0; game_type 7
Examples, Generator & More
mp_overtime_startmoney
mp_overtime_startmoney
<Amount>
This command was introduced to allow hosts and admins to decide how much money players should get at the start of each overtime half, allowing them to modify the standard economics of their private matches.
Name:
Amount
Description:
The default value of this command is 10,000, which means players will get $10,000 at the beginning of each overtime half. Hence, the syntax rules of it allow you to increase or decrease this sum of money, by using the corresponding numeric argument.
Examples, Generator & More
weapon_accuracy_nospread
weapon_accuracy_nospread
<0 / 1>
This command will enable or disable weapon inaccuracy spread.
Name:
0 / 1
Description:
When you turn it on, by setting it to “1”, all weapons will be accurate regardless of the distance, and when you set it to “0”, the weapons will have their corresponding inaccuracy in function of the distance.
Examples, Generator & More
mp_maxmoney
<Amount>
It is a command created to allow players to define the maximum money players can have at a time in a match. As long as it’s your private server, you can run this command without problems, allowing you to adjust the economics of the game as you please.
Name:
Amount
Description:
The mp_maxmoney command is set at 16,000 by default. Therefore, if you end up using other arguments, and you wish to set it back to default, all you need to do is to use “16000” as the argument and it will revert all the changes.
Examples, Generator & More
mp_autokick
<0 / 1>
The mp_autokick was created to allow admins to disable and enable automatic kick for AFK players and those who inflict excessive team damage.
Name:
0 / 1
Description:
By default, this command is set to “1”, which is “true”. However, if you want to turn it off, simply set it to “0”.
Examples, Generator & More
mp_friendlyfire
<0 / 1>
The mp_friendly command was introduced to bring players the possibility to turn team damage on and off as necessary. Because not everyone is playing competitively, and many prefer to simply play with their friends, this command was introduced.
Name:
0 / 1
Description:
The mp_friendlyfire command works by assigning a valid numeric argument to it. Because it’s been programmed to only activate or deactivate team damage in CS:GO and CS2, hence it can only be set to “true” or “false” by using “1” or “0” respectively.
Examples, Generator & More
dm_togglerandomweapons
dm_togglerandomweapons
<dm_togglerandomweapons>
This cool function will bring everyone a random selection of weapons after they die, allowing the heat of the battle to start right off the bat.
Name:
dm_togglerandomweapons
Examples, Generator & More
mp_respawn_immunitytime
mp_respawn_immunitytime
<Seconds>
This command determines how many seconds players remain immune to damage upon respawning.
Name:
Seconds
Description:
The default value is typically set to 0 for non-deathmatch modes, but this can be adjusted as needed, which the number is in seconds.
Examples, Generator & More
mp_deathcam_skippable
mp_deathcam_skippable
<0 / 1>
The mp_deathcam_skippable command allows server administrators to decide whether players can skip the deathcam after being killed.
Name:
0 / 1
Description:
This command sets whether or not the deathcam can be skipped or not. Default is 1 (skippable). 0 will make it unskippable.
Examples, Generator & More
sv_vote_kick_ban_duration
sv_vote_kick_ban_duration
<Minutes>
The sv_vote_kick_ban_duration command allows server administrators to define the length of time, in minutes, that a player who has been vote-kicked from the server will be banned.
Name:
Minutes
Description:
The duration of a ban from a vote kick, which in minutes. The default is 15.
Examples, Generator & More
mp_team_timeout_max
mp_team_timeout_max
<Timeouts>
This command allows server administrators to define the number of tactical timeouts each team can use, enhancing the game's strategic depth.
Name:
Timeouts
Description:
The max number of timeouts. The default value for this command is set at 1.
Examples, Generator & More
mp_autoteambalance
mp_autoteambalance
<0 / 1>
The auto team balance command is a built-in feature developed by Valve that ensures that the teams in Counter-Strike games are evenly matched.
Name:
0 / 1
Description:
Enter 0 here to disable auto team balancing. Enter 1 which will enable auto team balancing by (default).
Examples, Generator & More
mp_overtime_enable
mp_overtime_enable
<0 / 1>
This command is an order that can extend the match duration beyond its regular duration in case of an equal result in competitive matches.
Name:
0 / 1
Description:
Enter 0 to disable overtime ( set by default). Enter 1 here to enable overtime within your game
Examples, Generator & More
mp_respawnwavetime_ct
mp_respawnwavetime_ct
<Seconds>
Players can choose different respawn wave times for counter-terrorists.
Name:
Seconds
Description:
The amount of time, in seconds, between respawning waves.
Examples, Generator & More
mp_respawn_on_death_t
mp_respawn_on_death_t
<0/1>
This command will set whether or not the terrorists side will respawn after dying.
Name:
0/1
Description:
Set to 0 to make it so that terrorists only respawn at the start of each round. Set to 1 to make terrorists respawn after a death.
Examples, Generator & More
mp_randomspawn
<0 / 1 / 2 / 3>
In the Counter-Strike dictionary, spawning means returning to the game after a player has died. In most game scenarios, the player spawns after a round is finished. In the deathmatch game mode, the players re-spawn right after they die repeatedly until the whole map is finished.
Name:
0 / 1 / 2 / 3
Description:
- no random spawns
1 - everyone spawns in random locations (just like deathmatch)
2 - only terrorists spawn at a random location, CTs spawn at their spawn
3 - only CTs spawn at random location, terrorists spawn at their spawn
Examples, Generator & More
Show entries:
12