CS2 Console Commands List

  • Page 9

Below is Total CS' 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). Click on a command's name to visit its individual page, on which you can find more information including working examples and its default setting or value.

Type the name of a command into the search box to instantly filter our entire database of commands. Toggle between different views by pressing the "Card View" and "Table View" buttons.

If you are looking for a more specific selection of commands, you may prefer to sort by category.

Updated for CS2: We've updated our list to include over 1,000 console commands that were added in CS2.

We're the only website that has a complete list of all Counter-Strike 2 commands with complete documentation and examples. CS:GO Commands are hidden from this list by default. If you're playing on CS:GO, check the "Show CS:GO Commands" box to show commands that exist in Counter-Strike: Global Offensive.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help
Ad

Commands List

mat_tonemap_force_min <value>

Forces the minimum tonemap value. Primarily a debugging tool to adjust in-game lighting.

Name Description
value

The minimum tonemap value to force. Use -1 to reset to default behavior.

Examples, Generator & More
mat_tonemap_force_percent_bright_pixels <Brightness Percentage>

This command is used to override the percentage of bright pixels in the tonemapping process, modifying the appearance of brightness in scenes. The old default value was set to 1.0.

Name Description
Brightness Percentage

The percentage of the screen that should be forced to bright pixels.

Examples, Generator & More
mat_tonemap_force_percent_target <Target Percent>

This command is used to override the default value that controls the tonemap percent target, historically set to 45. It is a cheat command, meaning it can only be used when cheats are enabled.

Name Description
Target Percent

The target percentage for the tonemap force. -1 resets to default.

Examples, Generator & More
mat_tonemap_force_rate <Rate>

Forces the tonemap scale rate. Used for debugging purposes, mainly by developers.

Name Description
Rate

The rate at which the tonemap scale changes. Setting this to -1 resets it to the default behavior.

Examples, Generator & More
mat_tonemap_force_scale <Scale>

Forces the tonemap scale to a certain value. This command affects the overall brightness of the scene. It's useful for developers or players who want to adjust the visual brightness for testing or gameplay reasons.

Name Description
Scale

The value to set the tonemap scale to.

Examples, Generator & More
mat_tonemap_force_use_alpha <Value>

Forces the tonemap to use a specific alpha value, typically for debugging or experimental purposes.

Name Description
Value

The specific alpha value to be used by tonemap. Setting this to -1 default behavior.

Examples, Generator & More
mat_tonemap_uncap_exposure <0 / 1>

Enables or disables the uncap exposure feature in the material system, allowing the scene's exposure to exceed normal limits when set to 'enable'. This is typically used for debugging or experimental visual effects, and is flagged as a cheat command.

Name Description
0 / 1

Disable or enable the uncap exposure feature.

Examples, Generator & More
mm_dedicated_search_maxping <Max Ping>

This console command is used to set your max preferred ping when connecting to matchmaking servers. It can be beneficial to adjust this command if you find yourself being put in laggy servers.

Name Description
Max Ping

The maximum ping of a server you join. The lower you set this, the less laggy your matches might be, but it usually increases the time it takes to find a game. The default value for this command is 150.

Examples, Generator & More
mp_bot_ai_bt <Behavior Tree File>

This command is used to set a behavior tree file that drives the bot behavior in the game.

Name Description
Behavior Tree File

The path and name of the behavior tree file to use for bots.

Examples, Generator & More
mp_buy_allow_grenades <0 / 1>

This command sets whether or not players can purchase any form of grenade from the buy menu. Default is 1 (enabled).

Name Description
0 / 1

Enter 0 to disable the buying of grenades. Enter 1 to to enable (default).

Examples, Generator & More
mp_buy_anywhere <0 / 1 / 2 / 3>

This command can be used to set whether or not players can access the buy menu when they are outside of the buyzone. Note that they still need to be within the buy time period - you can change the buy time period with mp_buytime.

Name Description
0 / 1 / 2 / 3

Your desired setting. Options are:

  • 0 - default, only in buy zones
  • 1 - buy anywhere for all teams
  • 2 - buy anywhere for terrorists only
  • 3 - buy anywhere for counter-terrorists only
Examples, Generator & More
mp_buy_during_immunity <0 / 1 / 2 / 3>

This command makes it so that players can buy when they are immune, regardless of the current buy time. This is used commonly in deathmatch servers. See argument information for options. Default is 0 (disabled).

Name Description
0 / 1 / 2 / 3

Your desired setting. Options are:

  • 0 - default, disabled
  • 1 - both teams can buy when they are immune (just after they spawn)
  • 2 - only terrorists can buy when they are immune
  • 3 - only counter-terrorists can buy when they are immune
Examples, Generator & More
mp_buytime <Seconds>

This command sets the amount of time (in seconds) that players have after a round starts to purchase items. This is the time period AFTER the round countdown. So players have the countdown at the start of the round (usually 15 seconds), plus this time period to buy.

Name Description
Seconds

The amount of seconds that players have to access and use the buy menu after the round begins.

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 terrorists. Default is 40 seconds or 35 seconds, depending on gamemode.

Name Description
Seconds

The amount of seconds it takes for the C4 to detonate after it has been planted.

Examples, Generator & More
mp_competitive_endofmatch_extra_time <Seconds>

This command sets the amount of time (in seconds) that the scoreboard will show for (or voting time there will be) after a competitive match ends. Default is 15 seconds.

Name Description
Seconds

The amount of time in seconds the scoreboard will show for after a competitive match ends. If there is voting (e.g. for overtime or extra map), this time will be used.

Examples, Generator & More
mp_ct_default_grenades <Grenade Code(s)>

This command sets the default grenades that counter terrorists spawn with. Default is none (0). Separate multiple grenades with spaces.

Name Description
Grenade Code(s)

The weapon codes of the grenades you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here.

Examples, Generator & More
mp_ct_default_melee <Weapon Code(s)>

This command sets the default melee weapon that counter terrorists spawn with at the start of the round. Default is weapon_knife.

Name Description
Weapon Code(s)

The weapon codes of the melee weapons you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here.

Examples, Generator & More
mp_ct_default_primary <Weapon Code(s)>

This command sets the default primary weapon that counter terrorists spawn with at the start of the round. Default is none (0).

Name Description
Weapon Code(s)

The weapon codes of the primary weapons you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here.

Examples, Generator & More
mp_ct_default_secondary <Weapon Code(s)>

This command sets the default secondary weapon that counter terrorists spawn with at the start of the round. Default is weapon_hkp2000.

Name Description
Weapon Code(s)

The weapon codes of the secondary weapons you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here.

Examples, Generator & More
mp_deathcam_skippable <0 / 1>

This command sets whether or not the deathcam can be skipped. Default is 1 (skippable).

Name Description
0 / 1

Enter 0 here to make it so that the death cam cannot be skipped. Enter 1 here to make it so that the death cam can be skipped (default).

Examples, Generator & More
1 8 9 10 130