CS2 Console Commands List

  • Page 12

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
IPS

Commands List

sv_mapvetopickvote_maps <Map list>

Specifies the maps available for the map veto pick sequence in competitive matches.

Name Description
Map list

Comma-separated list of map names to be included in the veto pick sequence.

Examples, Generator & More
sv_mapvetopickvote_phase_duration

It seems like there was an error in the submission. The data appears incomplete or malformed, making it impossible to accurately describe or categorize the command.

Examples, Generator & More
sv_mapvetopickvote_rnd <0 / 1>

When enabled, this command shuffles the veto pick maps list order every time.

Name Description
0 / 1

Determines whether the shuffling of the veto pick maps list order is enabled or disabled.

Examples, Generator & More
sv_playerradio_use_allowlist <0 / 1>

This command determines whether player radio commands can only use responses from a predefined allow list, enhancing control over in-game communications.

Name Description
0 / 1

Determines whether the playerradio commands are restricted to an allow list.

Examples, Generator & More
sv_show_teammate_death_notification <0 / 1>

This command configures whether a notification is shown in the chat when a teammate dies.

Name Description
0 / 1

Determines whether the death notifications for teammates will be shown in chat.

Examples, Generator & More
sv_strafing_inaccuracy_bias <Inaccuracy Bias Value>

Adjusts the amount of inaccuracy bias applied when strafing to simulate movement inaccuracies.

Name Description
Inaccuracy Bias Value

The value to set for strafing inaccuracy bias. Lower values make strafing shots more accurate, and higher values make them less accurate.

Examples, Generator & More
sv_strafing_inaccuracy_enabled <0 / 1>

This command enables or disables inaccuracy while strafing. When enabled, it makes firing less accurate during movement.

Name Description
0 / 1

Determines if inaccuracy is added while strafing.

Examples, Generator & More
sv_strafing_inaccuracy_scale <Scale>

Adjusts the scale of inaccuracy applied to a weapon when the player is strafing. A higher value increases the inaccuracy.

Name Description
Scale

The scale of inaccuracy applied during strafing.

Examples, Generator & More
ui_party_msg_sound_enabled <0 / 1>

This command controls whether a short sound is played for lobby messages. When enabled, every time a lobby message is received, a notification sound will play.

Name Description
0 / 1

Toggle the lobby message sound notifications on or off.

Examples, Generator & More
ui_playsettings_custom_preset <Preset Number>

This command is used to set or retrieve the current custom preset number for play settings in CS2. The default value is 0, which likely indicates a default or non-customized setting.

Name Description
Preset Number

The number indicating the custom preset for play settings.

Examples, Generator & More
ui_playsettings_flags_listen_cooperative <0 / 1>

This command is used to set or get the cooperative play settings for listen servers.

Name Description
0 / 1

Set to 0 to disable cooperative play settings on listen servers, or 1 to enable them.

Examples, Generator & More
ui_playsettings_flags_official_cooperative <0 / 1>

Controls the setting flags for official cooperative game modes. Changing this setting may impact how cooperative game modes are configured or displayed in the UI.

Name Description
0 / 1

Enable or disable the setting flags for official cooperative game modes.

Examples, Generator & More
ui_playsettings_maps_official_gungameprogressive <Map Group ID>

This command is used to set the official map group for Arms Race, a game mode in Counter-Strike 2.

Name Description
Map Group ID

The ID of the map group for Arms Race mode.

Examples, Generator & More
ui_vanitysetting_loadoutslot_ct <Loadout Slot>

This command configures the default item or weapon loadout for the Counter-Terrorist side, specifically for the rifle slot.

Name Description
Loadout Slot

Specifies the weapon or item identifier for the loadout slot.

Examples, Generator & More
ui_vanitysetting_loadoutslot_t <Loadout Slot Item>

This command configures the visual setting for the loadout slot of the terrorist team, specifically for choosing the item displayed in the main menu.

Name Description
Loadout Slot Item

Specifies the item type to display for the terrorist team's loadout slot in the main menu.

Examples, Generator & More
writekeybindings <cmd>

This command saves the current key bindings to the disk, essentially backing up your current configuration.

Name Description
cmd

Specifies that the command is to be executed without any specific parameter change.

Examples, Generator & More
alias <Alias> <"Command">

The alias command in CS:GO allows you to assign a longer command or commands to a custom phrase that you enter into your console.

Name Description
Alias

The alias for the command(s) that you enter. In other words, the phrase that is typed into the console to run the alias commands. If you were to enter "example" (without quotes) here, typing example into the console would run the commands you specify.

"Command"

The command or list of commands that you want to execute when the alias command is activated/entered into the console. If you are entering more than one command, you will need to surround the list of commands with quotation marks (") and separate each command with a semi-colon. For example, "buy ak47; buy p250;" (if you wanted to buy an AK-47 and a P250).

Examples, Generator & More
bindss <Splitscreen Player Index> <Key> <0 / 1> <Command>

This command binds a specific key to a command for use by a particular splitscreen player, allowing for multiple players to have unique key bindings in a splitscreen setup.

Name Description
Splitscreen Player Index

The index of the splitscreen player (starting from 0) for whom the key binding will apply.

Key

The keyboard key or mouse button to bind.

0 / 1

Flag to specify if the command should run when the key is released.

Command

The command to be bound to the specified key.

Examples, Generator & More
bot_dont_shoot <0 / 1>

This command can be used to prevent NPC characters (bots) from being able to fire guns.

Name Description
0 / 1

Enter 1 to stop bots from being able to shoot their weapons, and 0 to allow them to fire as normal.

Examples, Generator & More
bot_kill <Kill Criteria>

This command kills all of the bots in your selected criteria. Unlike the bot_kick command, this doesn't remove them from server, and means that all killed bots will respawn on the next round.

Name Description
Kill Criteria

Optional. You can specify any of the following here to specify the type of bot(s) you wish to kill:

  • Specify T or CT to kill bot(s) from the terrorist or counter-terrorist team only.
  • Specify a bot's name (e.g. Opie) here to kill the bot with that name.
  • Specify a bot's difficulty (easy, normal, hard, or expert) here to kill bot(s) with that difficulty.
Examples, Generator & More