CS2 Server Commands

Commands to enhance cs2 server features of Counter-Strike game

respawn_player

CS2 Only

Command

respawn_player

Force the player to respawn immediately if dead, ignoring any respawn delay or conditions.

Command Details

r_fallback_texture_lod_scale

CS2 Only

Command

r_fallback_texture_lod_scale

<Scale Factor>

Adjusts the scale of requested texture sizes for geometry without precomputed UV density. This helps optimize texture streaming and improve performance.

Command Details

r_indirectlighting

CS2 Only

Command

r_indirectlighting

<0 / 1>

Toggle indirect lighting in the game to change how scenes are visually rendered.

Command Details

r_particle_max_draw_distance

CS2 Only

Command

r_particle_max_draw_distance

<Distance>

Sets how far away particles will be drawn in the game, helping improve performance by not rendering particles that are too distant.

Command Details

r_shadows

CS2 Only

Command

r_shadows

<0 / 1>

Toggles shadow rendering in the game. Requires cheats to be enabled.

Command Details

r_skinning_enabled

CS2 Only

Command

r_skinning_enabled

<0 / 1>

Controls the skinning feature used to animate and render models in-game. This is a cheat command and works only on servers with cheats enabled.

Command Details

r_stereo_multiview_instancing

CS2 Only

Command

r_stereo_multiview_instancing

<0 / 1>

Toggle multiview instancing for stereo rendering, mainly for developers or those testing VR/3D features.

Command Details

run_perftest

CS2 Only

Command

run_perftest

Runs the perftest.cfg file to perform a series of performance tests in CS2.

Command Details

save_animgraph_recording

CS2 Only

Command

save_animgraph_recording

Saves all active animation graph recordings to disk for debugging and analysis.

Command Details

save_maxarray_spew

CS2 Only

Command

save_maxarray_spew

<Maximum array entries>

Sets the maximum number of array entries shown when using the SaveRestoreIO debug feature.

Command Details