CS2 Console Commands List

  • Page 77

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
hostage_debug

This command can be used to enable hostage AI debug information. Default is 0 (disabled).

Examples, Generator & More
hostage_debug <0 / 1>
hostage_is_silent

This command, if set to 1, will make hostages silent. They won't make any noises and/or code driven response rules lines.

Examples, Generator & More
hostage_is_silent <0 / 1>
hostfile

This command can be used to set the hosts file (default is hosts.txt). If no argument is specified, this command will print to console the name of the hosts file the server is currently using.

Examples, Generator & More
hostfile <File Name>
host_framerate

This command will change the "frame rate" of the host (server). Lower numbers will mean time passes faster, higher numbers will mean time passes slower. Set to 0 to disable.

Examples, Generator & More
host_framerate <Framerate>
hostip

This command can be used to assign the server an IP to run on. If not, the IP 0.0.0.0 (bind to all available) will be used.

Examples, Generator & More
hostip <IP><hostip 0.0.0.0><hostip localhost>
hostname

The hostname for the server to use (this is your server domain).

Examples, Generator & More
hostname <Hostname><hostname mycsgoserver.com>
hostport

The port your server should run on. We recommend you keep this as default. You can run multiple servers on the same IP address if you change this port to a port that isn't in use.

Examples, Generator & More
hostport <Port>
host_timescale

This can be used to speed up and slow down the speed of time on the server. In otherwords, you can make things go in slow motion or speed the server up with this command.

Examples, Generator & More
host_timescale <Multiplier>
host_writeconfig

This command will save all of your server settings that you have set with host_ commands to your config.cfg, so that they apply even when the server restarts.

Examples, Generator & More
host_writeconfig <Config File>
hud_scaling

This command can be used to scale the size of the HUD. Scale must be be between 0.5 and 0.95. Default is 0.85.

Examples, Generator & More
hud_scaling <0.5 - 0.95>
hud_showtargetid

This command can enable or disable the red text with an enemy's that appears when you hover over an enemy. Default is enabled (1).

Examples, Generator & More
hud_showtargetid <0 / 1>
ik_debug_chain_to_filter_by

This command is used for debugging inverse kinematics (IK) chains. It allows users to filter by a specific IK chain for more focused debugging.

Examples, Generator & More
ik_debug_chain_to_filter_by <0 / 1>
ik_hinge_debug_bone_index

Sets the index of a bone to enable debug information for inverse kinematics (IK) related to hinged bones.

Examples, Generator & More
ik_hinge_debug_bone_index <Bone Index>
imgui_debug_entity

Displays an entity browser interface, focusing specifically on the entity identified by the command's argument.

Examples, Generator & More
imgui_debug_entity <Entity ID>
imgui_set_selection

This command is used to set the ImGui selection, primarily for debugging purposes within the game's interface development context.

Examples, Generator & More
imgui_set_selection <cmd>
imgui_set_status_text

This command sets the ImGui header status text. It's a developer tool used for modifying the interface display, particularly useful for debugging purposes.

Examples, Generator & More
imgui_set_status_text <Header Status Text>
impulse

This command has a set of pre-defined effects, the one that will be applied is determined by the impulse # you provide as an argument. For exmaple, impulse 101 gives you maximum money. See argument information for more help.

Examples, Generator & More
impulse <Impulse #>
incrementvar

This command will increment the specified convar by the specified amount. If the convar reaches the "max value" it will be set to "min value" and incremement from there.

Examples, Generator & More
incrementvar <Convar><Min><Max><Amount>
inferno_child_spawn_interval_multiplier

This command is used to influence the spawn intervals of molotv and incendiary grenades for each child.

Examples, Generator & More
inferno_child_spawn_interval_multiplier <Spawn Interval>
inferno_child_spawn_max_depth

This console command adjusts the max depth of the child spawn count in molotov and incendiary grenades.

Examples, Generator & More
inferno_child_spawn_max_depth <Depth>