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.

nav_test_split_obstacle_size

CS2 Only

Command

nav_test_split_obstacle_size

<Obstacle Size>

Sets the size threshold for obstacles in the navigation mesh splitting algorithm, so obstacles at or above this size are treated as separate entities during nav mesh generation.

Command Details

nav_test_split_obstacle_update_pos

CS2 Only

Command

nav_test_split_obstacle_update_pos

<0 / 1>

Use this command to test and update the navigation mesh based on obstacle positions, helping the AI adjust its pathfinding accurately in CS2.

Command Details

nav_validate

CS2 Only

Command

nav_validate

<0 / 1>

Adjusts the navigation system validation level. Higher values increase validation thoroughness but may reduce performance.

Command Details

nav_volume_debug

CS2 Only

Command

nav_volume_debug

<0 / 1>

Shows or hides debug info for navigation volume queries to help developers troubleshoot and improve navigation paths.

Command Details

net_allow_multicast

CS2 and CSGO

Command

net_allow_multicast

<0 / 1>

Toggle multicast on or off. Multicast is enabled by default (1).

Command Details

net_listallmessages

CS2 Only

Command

net_listallmessages

Displays a list of all registered network messages to help debug network communications and understand what data is exchanged in the game.

Command Details

net_messageinfo

CS2 Only

Command

net_messageinfo

<Classname or ID>

Displays detailed information about a network message by its classname or ID, helping you debug network issues.

Command Details

net_option

CS2 Only

Command

net_option

<Option name><Value>

Get or set SteamNetworkingSockets options like fake packet lag and loss to simulate different network conditions for testing.

Command Details

net_print_sdr_ping_times

CS2 Only

Command

net_print_sdr_ping_times

Displays current ping times to Steam Datagram Relay (SDR) servers and shows the chosen network route in the console.

Command Details

net_public_adr

CS2 and CSGO

Command

net_public_adr

<IP Address>

Sets the server's public IP address used for NAT or DHCP configurations.

Command Details