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.

hostip

CS2 and CSGO

Command

hostip

<IP><hostip 0.0.0.0><hostip localhost>

Set the server's IP address for hosting. If not set, the server will bind to all available IP addresses (0.0.0.0).

Command Details

hostname

CS2 and CSGO

Command

hostname

<Hostname><hostname mycsgoserver.com>

Set the server's hostname, which is the name displayed to players and represents your server's domain.

Command Details

hostname_in_client_status

CS2 Only

Command

hostname_in_client_status

<0 / 1>

Show the server hostname in the client's status information.

Command Details

hostport

CS2 and CSGO

Command

hostport

<Port>

Sets the port number your server will use. Keep the default port unless you need to run multiple servers on the same IP, then choose a different unused port.

Command Details

host_readconfig_ignore_userconfig

CS2 Only

Command

host_readconfig_ignore_userconfig

<0 / 1>

Sets whether the game should ignore reading from or writing to the user config file.

Command Details

host_timescale

CS2 and CSGO

Command

host_timescale

<Multiplier>

Adjust the speed of time on the server to slow down or speed up all game actions.

Command Details

host_timescale_dec

CS2 Only

Command

host_timescale_dec

Slows down the game simulation by decreasing the time scale, making all in-game actions happen more slowly.

Command Details

host_timescale_inc

CS2 Only

Command

host_timescale_inc

Increases the game’s timescale by one step, speeding up or slowing down game pace. This is a cheat command and works only when cheats are enabled.

Command Details

host_writeconfig

CS2 and CSGO

Command

host_writeconfig

<Config File>

Save your current server settings set with host_ commands to a config file. These settings will persist after the server restarts.

Command Details

ik_enable

CS2 Only

Command

ik_enable

<0 / 1>

Enables or disables Inverse Kinematics (IK) on player models, affecting how animations like limb movements are calculated and displayed.

Command Details