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 toggles the drawing of obstructions on navigation meshes, useful for debugging pathfinding.
Name | Description |
---|---|
0 / 1 |
Toggles the drawing of obstructions on navigation meshes on or off. |
This command toggles the visibility of the free split line in navigation mesh editing, used in map development and testing.
Name | Description |
---|---|
0 / 1 |
Toggles the visibility of the free split line in navigation mesh editing. |
This command lists all registered network messages, which is useful for debugging network communications and understanding the scope of information being exchanged in the game.
This command is used to display information about a network message either by specifying its classname or ID. It is primarily useful for debugging network-related issues.
Name | Description |
---|---|
Classname or ID |
The classname or ID of the network message to display information about. |
This command activates or deactivates the net message validation, which is commonly used for debugging purposes to ensure that network messages are correctly formatted and valid.
Name | Description |
---|---|
0 / 1 |
Enable or disable net message validation. |
Sets the cooldown time before a player's ping token refreshes, allowing them to ping again. Players initially have 5 tokens.
Name | Description |
---|---|
Cooldown Time |
The time in seconds before a player's ping token is refreshed. |
Defines the radius within which players can interact with objects in the game environment.
Name | Description |
---|---|
Radius |
Radius in game units within which players can interact with objects. |
This command will issue the specified rcon command (i.e. issues the specified command on your server). Rcon means remote console - it allows you to execute server commands from the client.
Name | Description |
---|---|
Command |
The command you wish to run using rcon (run on the server). |
The IP address of the remote console you wish to connect to (default is the address of your own server). Change this only if the rcon address for the server you are connected to is different from the server's IP.
Name | Description |
---|---|
IP Address |
The remote IP address you wish to use for rcon. |
This command will authenticate you for rcon with the specified password.
Name | Description |
---|---|
Password |
The password for rcon on your server. |
Toggles the depth prepass for large reflections in CS:GO. When enabled, it can improve the reflection quality of large surfaces at the cost of performance.
Name | Description |
---|---|
0 / 1 |
Sets the depth prepass for large reflections to off or on. |
This command controls whether small reflections receive a depth prepass in CS2, potentially impacting rendering performance and visual quality.
Name | Description |
---|---|
0 / 1 |
Enable or disable the depth prepass for small reflections. |
This command enables or disables the pre-pass rendering of alpha-tested materials in the skybox, which can affect rendering performance and visuals.
Name | Description |
---|---|
0 / 1 |
Enable or disable the feature. |
This command enables or disables the mixed resolution color slices feature, which can affect rendering performance and visual quality.
Name | Description |
---|---|
0 / 1 |
Determines whether the mixed resolution color slices feature is disabled or enabled. |
This command adjusts particle quality by allowing a mix of resolutions in particle textures for optimization or visual quality purposes. Primarily used for debugging or performance tweaking.
Name | Description |
---|---|
0 / 1 |
Disables or enables the mixed resolution particles feature. |
Adjusts the scaling factor for mixed resolution particle effects, potentially improving performance on systems with lower specs by reducing the detail of particle effects.
Name | Description |
---|---|
Scale factor |
The scale factor to apply to mixed resolution particle effects. |
This command sets the minimum distance for reflections to render on distant objects, enhancing detail and visual fidelity at range.
Name | Description |
---|---|
Distance |
The minimum distance at which reflections will be rendered on distant objects. |
Controls the scale of dithering effects in rendering, which can affect the visual texture quality in-game.
Name | Description |
---|---|
Dither Scale |
The scale of dithering effects. |
This command enables or disables the usage of direct lighting in the game, affecting how light sources illuminate the environment.
Name | Description |
---|---|
0 / 1 |
Disable or enable direct lighting. |
This command is used to reload the most recent saved game. It is a cheating command that requires cheats to be enabled.