CS2 Server Commands

Commands in this category can be used to change server and host settings like IP addresses, query settings, etc. They're useful in private servers, dedicated servers and for use as rcon commands.

cq_logging_interval

CS2 Only

Command

cq_logging_interval

<Interval in seconds>

Sets how often the server logs command queue stats per player in seconds. Use 0 to turn off the logging.

Command Details

cq_min_queue_size

CS2 Only

Command

cq_min_queue_size

<Size>

Sets the minimum size of the server's buffer queue, affecting how the server manages performance and network traffic.

Command Details

cq_print_every_command

CS2 Only

Command

cq_print_every_command

<0 / 1>

Prints every command executed by the game server to the console. Use this to monitor or troubleshoot server actions.

Command Details

crash_error_thread

CS2 Only

Command

crash_error_thread

Forces the engine to crash by triggering a fatal error on a background thread. Use this command for debugging purposes only.

Command Details

cs_logtouchexpansion

CS2 Only

Command

cs_logtouchexpansion

<Entity ID>

Logs the touch expansion components for a specific entity or for all entities.

Command Details

csm_bias_override_0

CS2 Only

Command

csm_bias_override_0

<0 / 1>

Overrides the game's default shadow mapping with a custom bias setting to change how shadows appear.

Command Details

csm_cascade3_override_dist

CS2 Only

Command

csm_cascade3_override_dist

<Distance>

Sets a custom distance for the third cascade in cascaded shadow mapping, controlling shadow detail range.

Command Details

csm_max_dist_between_caster_and_receiver

CS2 Only

Command

csm_max_dist_between_caster_and_receiver

<Distance>

Sets the default maximum distance allowed between the caster and receiver for specific in-game interactions. This cheat command works only in cheat-enabled sessions.

Command Details

csm_max_visible_dist

CS2 Only

Command

csm_max_visible_dist

<Distance>

Sets how far shadows are drawn from the player's perspective using cascaded shadow maps.

Command Details

csm_res_override_1

CS2 Only

Command

csm_res_override_1

<0 / 1>

Use this command to enable or disable custom rendering settings in Counter-Strike 2 for testing or debugging purposes.

Command Details