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.

sellbackall

CS2 Only

Command

sellbackall

Refunds all equipment you currently own, selling it back to get the full purchase price.

Command Details

sensitivity

CS2 and CSGO

Command

sensitivity

<Sensitivity>

Sets your mouse sensitivity to the specified value for smoother aiming.

Command Details

servercfgfile

CS2 and CSGO

Command

servercfgfile

<Config File Name>

Set the server’s configuration file to the specified config file.

Command Details

server_snd_cast

CS2 Only

Command

server_snd_cast

<Disable / Enable>

Casts a ray from the player's position and triggers a sound at the first point it hits on an object or terrain. The sound repeats periodically while the command is active. Used for testing and development on the server side.

Command Details

setang

CS2 and CSGO

Command

setang

<Pitch><Yaw><Roll>

Sets your player's view angles to the specified pitch, yaw, and optional roll values.

Command Details

setinfo

CS2 and CSGO

Command

setinfo

<Key><Value>

Add or update a user info key with a specified value.

Command Details

setpos

CS2 and CSGO

Command

setpos

<X><Y><Z>

Teleports your player to the specified X, Y, and Z coordinates in the game.

Command Details

setpos_player

CS2 and CSGO

Command

setpos_player

<User ID><X><Y><Z>

Moves a player to specified X, Y, and Z coordinates using their user ID, which is shown next to their name in the "status" command (usually values from 1-10).

Command Details

shake

CS2 and CSGO

Command

shake

Triggers a screen shake effect on the server.

Command Details

shake_stop

CS2 and CSGO

Command

shake_stop

Stops the screen from shaking, canceling any active effects started by the shake command.

Command Details