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
Loading...

Commands List

Command Description More
mat_tonemap_force_min

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

Examples, Generator & More
mat_tonemap_force_min <value>
mat_tonemap_force_percent_bright_pixels

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.

Examples, Generator & More
mat_tonemap_force_percent_bright_pixels <Brightness Percentage>
mat_tonemap_force_percent_target

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.

Examples, Generator & More
mat_tonemap_force_percent_target <Target Percent>
mat_tonemap_force_rate

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

Examples, Generator & More
mat_tonemap_force_rate <Rate>
mat_tonemap_force_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.

Examples, Generator & More
mat_tonemap_force_scale <Scale>
mat_tonemap_force_use_alpha

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

Examples, Generator & More
mat_tonemap_force_use_alpha <Value>
mat_tonemap_uncap_exposure

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.

Examples, Generator & More
mat_tonemap_uncap_exposure <0 / 1>
mm_dedicated_search_maxping

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.

Examples, Generator & More
mm_dedicated_search_maxping <Max Ping>
mp_bot_ai_bt

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

Examples, Generator & More
mp_bot_ai_bt <Behavior Tree File>
mp_buy_allow_grenades

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

Examples, Generator & More
mp_buy_allow_grenades <0 / 1>
mp_buy_anywhere

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.

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

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).

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

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.

Examples, Generator & More
mp_buytime <Seconds>
mp_c4timer

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.

Examples, Generator & More
mp_c4timer <Seconds>
mp_competitive_endofmatch_extra_time

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.

Examples, Generator & More
mp_competitive_endofmatch_extra_time <Seconds>
mp_ct_default_grenades

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

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

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

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

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

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

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

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

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

Examples, Generator & More
mp_deathcam_skippable <0 / 1>
1 8 9 10 130