CS2 Console Commands

Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details. Click (Command Details) to view each specific command in more detail.

script_trace_disable

CS2 Only

Command

script_trace_disable

<File or Function Name>

Disable script trace output for a specific file or function to reduce debug information during development.

Command Details

script_trace_disable_all

CS2 Only

Command

script_trace_disable_all

Turns off all script trace output to keep the console clear while debugging.

Command Details

script_trace_disable_key

CS2 Only

Command

script_trace_disable_key

<Table/Instance>

Disable trace outputs from a specific table or instance to help debug scripted elements on the server.

Command Details

script_trace_enable

CS2 Only

Command

script_trace_enable

<0 / 1>

Enables or disables detailed trace output for a specific file or function to help with debugging and analysis.

Command Details

script_trace_enable_all

CS2 Only

Command

script_trace_enable_all

<0 / 1>

Enable or disable all script trace outputs to see detailed information about script execution. This server-side command requires cheat mode to be enabled and helps with debugging.

Command Details

script_trace_enable_key

CS2 Only

Command

script_trace_enable_key

<Table/Instance Name>

Enable detailed script tracing by specifying a script table or instance name. This helps debug script actions and behaviors.

Command Details

sc_screen_size_lod_scale_override

CS2 Only

Command

sc_screen_size_lod_scale_override

<Scale factor>

Adjust the Level of Detail (LOD) scale based on screen size, overriding the default setting to influence game visuals and performance.

Command Details

sc_setclassflags

CS2 Only

Command

sc_setclassflags

<Classname><Value>

Sets specific flags for an object class to change its behavior or properties at a low level.

Command Details

sc_showclasses

CS2 Only

Command

sc_showclasses

Lists all object class names recognized by the game's scene system. Mainly used for debugging and development.

Command Details

sc_skip_traversal

CS2 Only

Command

sc_skip_traversal

<0 / 1>

Use this cheat command to enable or disable skipping spatial content traversal, useful for testing or troubleshooting performance and spatial issues.

Command Details