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.

battery_saver

CS2 Only

Command

battery_saver

<0 / 1>

This command is deprecated and replaced by mobile_fps_* commands. It was used to toggle battery saver mode on or off.

Command Details

bot_controllable

CS2 Only

Command

bot_controllable

<0 / 1>

Sets whether players can take control of bots in the game.

Command Details

bot_ignore_enemies

CS2 Only

Command

bot_ignore_enemies

<0 / 1>

When enabled, bots will ignore enemy players, making them not respond or engage. This is useful for debugging and testing scenarios.

Command Details

bot_max_visible_smoke_length

CS2 Only

Command

bot_max_visible_smoke_length

<Distance in units>

Sets the maximum distance (in game units) at which bots can see players through smoke, making bot visibility through smoke more realistic.

Command Details

buddha_ignore_bots

CS2 Only

Command

buddha_ignore_bots

<0 / 1>

Controls whether bots ignore Buddha mode, which prevents them from taking lethal damage.

Command Details

buddha_reset_hp

CS2 Only

Command

buddha_reset_hp

<HP value>

When a player's health falls below zero in Buddha Mode, this command sets their HP to a chosen value to prevent death.

Command Details

cash_team_bonus_shorthanded

CS2 Only

Command

cash_team_bonus_shorthanded

<Bonus Amount>

Sets the cash bonus awarded to a team when they play with fewer players than their opponents.

Command Details

cast_bullet

CS2 Only

Command

cast_bullet

Use this command to test a bullet's flight path and effects in the game, helping with debugging and gameplay testing.

Command Details

cast_capsule

CS2 Only

Command

cast_capsule

Runs a capsule collision test to help developers check and troubleshoot physics and interactions.

Command Details

cast_convex

CS2 Only

Command

cast_convex

Runs a test of the convex hull collision detection system in CS2, helping debug and improve in-game physics and collision accuracy.

Command Details