How to Use RCON on Your Unturned Server
RCON lets you run server commands remotely without being in-game. Unturned's RCON is provided by RocketMod and uses the Telnet protocol.
Before you start: Install RocketMod before following these steps.
Enable RCON
- Stop the server.
- In the game panel, click Configuration Files.
- Open
Rocket.config.xmlusing the text editor. - Set
RCONtotrueand set a strong password in the<RCON>block. - Note your RCON port: it is two ports above your game port. For example, if your game port is 27015, your RCON port is 27017.
- Save the file and start the server.
Connect with PuTTY
- Download PuTTY from chiark.greenend.org.uk/~sgtatham/putty/latest.html.
- Open PuTTY, enter your server IP and RCON port, and select Telnet as the connection type.
- Click Open.
- Log in with the password you set in
Rocket.config.xml:login <your-rcon-password>
You can now run server commands directly from the terminal session. To grant admin access so commands take effect, see How to Make Yourself an Admin on Your Unturned Server.