Natural Selection 2 server commands allow administrators to exert direct control over the game state and the connected player population. These inputs enable the manipulation of match flow, allowing for the forced restarts of rounds or the cycling of maps to maintain variety. Beyond gameplay pacing, the console enables roster management, granting authority to shuffle teams for balance or eject disruptive individuals. Advanced settings enable the enforcement of specific rules, including the activation of tournament modes or password protection.
Requirement: Admin permissions are required to run server commands. Learn how to add admins here.
Note: Find a user’s STEAM32 ID here.
| Command | Description |
|---|---|
sv_add_reserved_slot <name> <steamid> |
Adds a new reserved slot for the SteamID specified. |
sv_alltalk |
Toggles alltalk and changes the server setting. |
sv_auto_kick_afk <seconds> <number> |
Auto-kick is disabled when the first argument is 0. A player will be kicked only when the server is at the defined capacity (0-1). |
sv_autobalance <true/false> <player count> <seconds> |
Toggles auto team balance. The player count and seconds are optional. Count defaults to 2 over balance to enable. Defaults to 10 second wait to enable. |
sv_ban <player id> <duration in minutes> <reason text> |
Bans the player from the server; pass in 0 for duration to ban forever. |
sv_changemap <map name> |
Switches to the map specified. Default maps are not case-sensitive, custom maps are. If the map cannot be found, the server selects the first map in MapCycle.json. |
sv_cheats <boolean> |
Turns cheats on and off. |
sv_dyndns <address> |
Set a dynamic dns for the server. Use "" to disable the usage of the dyndns. |
sv_eject <player id> |
Ejects Commander from the Command Structure. |
sv_endgamehive2 <TeamNumber 1 or 2> |
Ends the game round. |
sv_forceeventeams |
Balances teams based on previous round and Hive skill. |
sv_help |
List all server commands. |
sv_kick <player id> |
Kicks the player from the server. |
sv_listbans |
Lists the banned players. |
sv_maxbots <float> |
The server will add the max amount of bots dynamically to the teams. |
sv_p_endlog |
Ends performance logging. |
sv_p_logall |
Starts performance logging. |
sv_password <string> |
Changes the password on the server. |
sv_pregamealltalk [<true/false>] |
Toggles pregamealltalk and changes the server setting. |
sv_psay <player id> <message> |
Sends a message to a single player. |
sv_randomall |
Forces all players to join a random team. |
sv_remove_reserved_slot <steamid> |
Removes the reserved slot for the SteamID specified. |
sv_reserved_slots <float> |
Set the amount of reserved slots available on the server. |
sv_reset |
Resets the game round. |
sv_rookieonly [<true/false>] |
Toggles rookie_only and changes the server setting. |
sv_rrall |
Forces all players to go to the Ready Room. |
sv_say <string> |
Sends a message to every player on the server. |
sv_setseason [<None, Fall, Winter, Default>] |
Sets what season is loaded. Requires map change. |
sv_setseasonmonth |
Overrides the month used for the ByDate season. |
sv_slay <player id> |
Kills player. |
sv_spawnteams <marinespawnname> <alienspawnname> |
Spawns teams at specified locations. Locations must be exact. |
sv_status |
Lists player Ids and names for use in sv commands. |
sv_statusip |
Lists player Ids and names for use in sv commands. |
sv_switchteam <player id> <team number> |
0 is Ready Room, 1 is Marines, 2 is Aliens, 3 is Spectate. |
sv_tests <boolean> |
Turns tests mode on and off. Grants access to commands such as nav_debug, and collision. |
sv_tsay <team number> <message> |
Sends a message to one team. |
sv_tournament <true/false> |
Enables or disabled tournament mode. |
sv_unban <steam id> |
Removes the player matching the passed in Steam Id from the ban list. |