With RCON (Remote Console), you can control your Unturned game server remotely without being in the game: send messages to all players, save the world, or see who is currently online. For Unturned, RocketMod provides the RCON interface. In this guide, we'll show you how to activate RocketMod, enable RCON, and connect to it.
RCON is only available in Unturned with RocketMod. If RocketMod isn't running on your server yet, enable it as follows:
- Open the Files tab.
- Go to the
Modulesfolder and use Create folder to create a folder namedRocket.Unturned. An empty folder is enough. - Restart your server.
When your server starts, it automatically populates the folder with the appropriate RocketMod version and keeps it up to date with game updates. The first time you start with RocketMod, the Servers/Server/Rocket/Rocket.config.xml file is also created.
- In the Files tab, open the
Servers/Server/Rocket/Rocket.config.xmlfile. - Find the line that starts with
<RCON. - Set
Enabled="true"and enter your own secure password forPassword. - Save the file and restart your server.
The entry should then look like this (leave the other values in the line as they are):
<RCON Enabled="true" Port="28000" Password="your-secure-password" ... />
RCON stays disabled if you don't set your own password. If the Password field is empty or still contains the default password changeme, your server will disable RCON again on startup (Enabled="false"). This ensures your server console can never be accessed over the internet with a known password.
You don't need to change the Port value. ZapX assigns your server its own RCON port and automatically adds it to Rocket.config.xml each time the server starts. Any manual changes will be overwritten the next time it starts.
You can find your RCON port in your server's Overview under Additional Ports. Hover over the port number to see the label RCON (RocketMod).
RocketMod's RCON interface is a simple text connection over TCP. You can connect with any Telnet or raw TCP program, such as PuTTY (connection type Raw).
- Connect using your server's IP address and the RCON port shown in the overview.
- After connecting, RocketMod displays a welcome message.
- Log in with
login your-secure-password. - You can then enter commands just as you would in the server console.
If the password is incorrect, you won't get a response. If this happens, check the password in Rocket.config.xml.
| Command | Description |
|---|---|
broadcast <Text> | Sends a message to all players on the server |
players | Shows which players are currently online |
save | Saves the world |
Use broadcast to send chat messages. The say command only accepts a single word.
If many connections are made to the RCON port and immediately disconnected, for example by port scanners or availability checks, RocketMod may stop responding to RCON connections. Restarting your server fixes this. For this reason, it's best to test the port directly with your RCON program instead of using a port checker.
You can now control your Unturned server remotely. Find out how to give yourself admin rights in the game in Become an admin, and get an overview of all the areas of your server in the Dashboard overview. If you have any other questions, our support team is available every day! 🙂