Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!
Commands List
This command sets the maximum damage that a player's shield can take from a single explosive.
Name | Description |
---|---|
Maximum Damage |
The maximum amount of damage a shield can take from a single explosive. |
Adjusts the bonus damage protection percentage shielded players receive from explosive damage when crouching.
Name | Description |
---|---|
Damage bonus percentage |
The percentage of additional damage protection shielded players receive from explosives while crouching. |
This command sets the multiplier for the amount of explosive damage absorbed by shields in the game.
Name | Description |
---|---|
Multiplier |
The multiplier for explosive damage absorbed by shields. |
This command sets the scale of explosive damage dealt to a player holding a shield.
Name | Description |
---|---|
Scale |
The scale at which explosive damage is applied to shield-holding players. |
Sets the hitpoint value (health) for the player's shield in the game.
Name | Description |
---|---|
Value |
The hitpoint value to set for the player's shield. |
This command controls whether all chat messages are shown in GOTV broadcasts, allowing viewers to see team chats as well as all chat.
Name | Description |
---|---|
0 / 1 |
Controls the visibility of all chat messages in GOTV broadcasts. |
This command is used to define the default link or URL for the latest read news item within the game.
Name | Description |
---|---|
URL |
The URL to set as the default for the last read news link. |
This command defines the default matchmaking game mode setting in the UI preferences for official Valve servers.
Name | Description |
---|---|
Game Mode |
The game mode to be set as the default matchmaking preference. |
This command forces the view model (the visual representation of the player's weapon and arms) to always be visible, even when the camera is in third-person view. This can be useful for content creators or those wanting a consistent visual reference.
Name | Description |
---|---|
0 / 1 |
Determines whether the view model is always visible or not. |
This command configures whether or not the accuracy of a weapon should be reset to zero upon deployment.
Name | Description |
---|---|
0 / 1 |
Whether or not to reset weapon accuracy on deploy. |
This cheat command prevents bots (NPC characters) from being able to move.
Name | Description |
---|---|
0 / 1 |
Enter 1 to prevent bots from moving, and 0 to set them back to normal and resume their movement. |
This command, when enabled, makes bots ignore enemies. This can be useful for debugging purposes.
Name | Description |
---|---|
0 / 1 |
Determines whether bots should ignore enemies or not. |
This command sets what bots in your server will spawn with, such as particular weapon and grenade setups.
Name | Description |
---|---|
Weapon Codes |
A list of weapon codes, separated by spaces. For example, to make bots spawn with an AK-47 and a flashbang, you'd enter: "ak47 flashbang". See command examples for more help. |
This command overides the max distance value that bots are set, meaning they will or won't (depending on setting) be able to see you from much further across the map than usual.
Name | Description |
---|---|
-1 / 1 |
-1 is the default value for this command, which leaves this command off. Turn it on by replacing that value with a 1. |
This command, if enabled (set to 1), will make all bots relay your actions. If you jump, all bots will jump, if you shoot, all bots will shoot, etc.
Name | Description |
---|---|
0 / 1 |
Enter 0 here (default) for normal bot behaviour. Enter 1 here to enable bot_mimic and have all bots mimic your actions. |
This command, if set to 1, causes bots to stop what they're doing. This means they will stop moving, shooting and all other processes until you turn the command off (by setting it to 0, which is default).
Name | Description |
---|---|
0 / 1 |
Enter 1 to stop all bots from doing what they're doing and stand still, and 0 to turn the command off and resume bots movement and actions back to normal. |
This command brings up the option to call a vote in game, either to kick a player or to change map. You can select which vote you're calling after entering the command, and if the vote you call then receives a large majority of player votes to one side or another that decision is forced (e.g. the player you're voting to kick would be kicked if the large majority of players voted yes).
This command controls whether Closed Captions are displayed only when the player is spectating. Closed Captions include various in-game sounds as text.
Name | Description |
---|---|
0 / 1 |
Set to 0 to enable Closed Captions during play and spectate, set to 1 to restrict Closed Captions to spectator mode only. |
This command is used to change the map you're playing on.
Name | Description |
---|---|
Map Name |
The name of the map you want to transition to in it's technical name. Here is a full list of map codes. |
This command enables or disables automatic scaling of the cursor size based on the resolution.
Name | Description |
---|---|
0 / 1 |
Turns automatic cursor scaling on or off. |