CS2 Server Commands

Commands to enhance cs2 server features of Counter-Strike game

execute_command_every_frame

CS2 Only

Command

execute_command_every_frame

<0 / 1>

Enables a specified command to run automatically every frame. This is useful for testing or automation but is considered a cheat and requires cheats to be enabled on the server.

Command Details

ff_damage_decoy_explosion

CS2 Only

Command

ff_damage_decoy_explosion

<0 / 1>

Toggles whether decoy grenades can damage teammates when they explode.

Command Details

fog_override_enable

CS2 Only

Command

fog_override_enable

<0 / 1>

Enable or disable fog_override console variables to use custom fog settings instead of the map's default fog data.

Command Details

fog_override_max_density

CS2 Only

Command

fog_override_max_density

<Density value>

Sets the maximum fog density in the game to adjust visibility, making fog thicker or clearer.

Command Details

game_alias

CS2 Only

Command

game_alias

<cmd>

Sets up the game type and mode quickly using predefined aliases like 'deathmatch'. This helps you start games with specific settings fast.

Command Details

gameinstructor_dump_run_lesson_counts

CS2 Only

Command

gameinstructor_dump_run_lesson_counts

Lists all in-game lessons that have been completed or displayed.

Command Details

give_oriented

CS2 Only

Command

give_oriented

<Item Name>

Gives the specified item to the player, placed according to the player's current view angles.

Command Details

hostage_debug

CS2 and CSGO

Command

hostage_debug

<0 / 1>

Enable or disable display of hostage AI debug info in the server console. Default is off.

Command Details

hostfile

CS2 and CSGO

Command

hostfile

<File Name>

Sets the server's hosts file (default is hosts.txt). If no file name is given, it displays the current hosts file in use.

Command Details

host_framerate

CS2 and CSGO

Command

host_framerate

<Framerate>

Sets the host (server) frame rate. Lower values make time pass faster, higher values slow it down. Set to 0 to remove the frame rate limit.

Command Details