This guide covers how to set up and use RCON (Remote Console) on your Insurgency: Sandstorm dedicated server hosted with Legion Hosting, allowing you to remotely execute server commands without accessing GPanel. For initial server setup, maps, game modes, and connection instructions, see Insurgency: Sandstorm Server Setup Guide.
Enabling RCON
RCON allows you to remotely execute server commands without accessing GPanel. Insurgency: Sandstorm supports RCON when enabled through launch parameters.
Add the following to your ADDSWITCHES startup variable in GPanel:
-Rcon -RconPassword=YourSecurePassword
After adding these parameters, restart your server from GPanel for the changes to take effect.
Connecting via RCON
Use any standard Source RCON client to connect. You will need:
- Your server IP (from GPanel's Network tab)
- The RCON port (by default, the same as the query port shown in GPanel -- or set a custom port with
-RconListenPortinADDSWITCHES) - The RCON password you set in
ADDSWITCHES
To find your server's IP and port, see How to Find Your Server IP and Port.
RCON Launch Parameters
The following RCON-related parameters can be added to the ADDSWITCHES startup variable:
| Parameter | Description |
|---|---|
-Rcon |
Enables RCON access on the server. Must be combined with -RconPassword. |
-RconPassword=YourRconPass |
Sets the RCON password. Required when -Rcon is enabled. |
-RconListenPort=<port> |
Specifies a custom RCON listening port. If not set, RCON uses the game query port by default. |
Example ADDSWITCHES with RCON
-Rcon -RconPassword=MySecureRconPass -GameStats
Useful RCON Commands
| Command | Description |
|---|---|
listplayers |
Lists all connected players with their IDs. |
kick <playerID> |
Kicks a player by their ID. |
ban <playerID> |
Bans a player by their ID. |
permban <steamID> |
Permanently bans a player by their Steam ID. |
travel <scenario> |
Changes the map/scenario. For example: travel Scenario_Ministry_Checkpoint_Security |
restartround |
Restarts the current round. |
gamemodeproperty <property> <value> |
Changes a game mode property at runtime (e.g. round time, wave size). |
say <message> |
Sends a server-wide chat message. |
Related Articles
Need Help?
If you run into an issue not covered in this guide, our support team is available to assist.