You can host a Reign of Kings server on your own VPS at ZapX. You have full control over the system and can install the official Reign of Kings Dedicated Server yourself. This guide explains what you need, how to install the server, and how to manage it afterward.
Reign of Kings is not (yet) included in the Game Server Installer. You’ll need to install the server manually, as described in this guide.
| Requirement | Reign of Kings |
|---|---|
| Operating system | Windows |
| Server files | Reign of Kings Dedicated Server, SteamCMD app ID 381690 |
| Steam account | Not required; the download works with anonymous |
| Access | Remote Desktop |
The Dedicated Server is only available for Windows. If your VPS runs Linux, install a Windows server template via Settings > Reinstallation. This deletes all data on the VPS. For more information, see Server Reinstallation.
- Connect to your VPS using Remote Desktop.
- Download SteamCMD from Valve and extract it, for example, to
C:\steamcmd\. - Open PowerShell and download the server:
C:\steamcmd\steamcmd.exe +force_install_dir C:\GameServers\reignofkings +login anonymous +app_update 381690 validate +quit
- Run
Server.exein the server folder. The first time it starts, the server creates aConfigurationfolder containing its configuration files.
Server.exe is the server console from CodeHatch, the developer of Reign of Kings. It starts the actual game server, displays its output, and accepts commands without requiring you to connect to the game.
The settings are stored in the Configuration folder in the server folder:
| File | Contents |
|---|---|
ServerSettings.cfg | Game server settings, such as player count and ports |
ConsoleSettings.cfg | Server console settings: auto-update, auto-restart, and remote console |
Other files in the same folder manage permissions (Permissions.cfg), banned players (BannedPlayers.cfg), and the whitelist (Whitelist.cfg), for example. Stop the server before editing a file, then start it again afterward.
The server console includes these features. Configure them in Configuration\ConsoleSettings.cfg:
- Auto-update: In the Auto-Update section, set
autoUpdatetoTrue, choose the check interval in seconds (300= 5 minutes), and setsteamAppIdto381690. The console will then download new versions and restart the server automatically. - Auto-restart: In the Auto-Restart section, set
autoRestartTimeto the time between restarts in seconds, for example,3600for one hour. Set it to0to disable automatic restarts. - Crash protection: If the game server crashes, the console restarts it automatically.
Start the server with Server.exe. To have it start automatically when your VPS restarts, create a task in Task Scheduler with the At startup trigger that runs Server.exe from the server folder.
The server folder contains RemoteConsole.zip, which includes a program for controlling the server console remotely. Set the port and password in ConsoleSettings.cfg (rConPort, rConPassword). Choose a secure password and only open the port if you actually need the remote console. Find CodeHatch’s instructions for the remote console in the Steam Workshop guide.
Players can find your server in the in-game server list. If you changed the ports, use the values in ServerSettings.cfg. You can find your VPS IP address in the Overview section of the ZapX dashboard.
Your server’s ports are listed in Configuration\ServerSettings.cfg. Open them in the Windows Firewall. For more information, see Manage Windows Defender Firewall rules. If you use your VPS’s Network Firewall in the ZapX dashboard, open the ports there as well.
If you enabled auto-update, the server console takes care of updates automatically. Otherwise, stop the server and run the same SteamCMD command you used during installation. The Dedicated Server was last updated in 2019, so no major updates are expected.
Before making major changes, back up the Configuration folder and the game saves in the server folder. Stop the server first.
Your entire VPS is also backed up automatically every day. With an active ZapX Pass, you can restore these backups yourself and create your own backups. For more information, see Daily backups, restoring backups, and restricted actions.
The ReadMe.txt file in the server folder is CodeHatch’s official quick-start guide to downloading, auto-updating, auto-restarting, and using the remote console.
Your Reign of Kings server is now running on your VPS. If something isn’t working as expected, see Reign of Kings: Common Issues. If you have questions or need help, our support team is here for you every day! 🙂