Skip to content

Reign of Kings: Set Up a Server on Your VPS

Install the Reign of Kings Dedicated Server on your Windows VPS with SteamCMD, then use auto-updates and crash protection → Learn more

12 November 20263 min read9 Views0 helpful

Don't have your own server yet? Host your Reign of Kings server with ZAP-Hosting.

Introduction

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.

Info

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.

Requirements

RequirementReign of Kings
Operating systemWindows
Server filesReign of Kings Dedicated Server, SteamCMD app ID 381690
Steam accountNot required; the download works with anonymous
AccessRemote Desktop
Info

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.

Install Reign of Kings

  1. Connect to your VPS using Remote Desktop.
  2. Download SteamCMD from Valve and extract it, for example, to C:\steamcmd\.
  3. Open PowerShell and download the server:
Code
C:\steamcmd\steamcmd.exe +force_install_dir C:\GameServers\reignofkings +login anonymous +app_update 381690 validate +quit
  1. Run Server.exe in the server folder. The first time it starts, the server creates a Configuration folder 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.

Configuration

The settings are stored in the Configuration folder in the server folder:

FileContents
ServerSettings.cfgGame server settings, such as player count and ports
ConsoleSettings.cfgServer 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.

Auto-update, auto-restart, and crash protection

The server console includes these features. Configure them in Configuration\ConsoleSettings.cfg:

  • Auto-update: In the Auto-Update section, set autoUpdate to True, choose the check interval in seconds (300 = 5 minutes), and set steamAppId to 381690. The console will then download new versions and restart the server automatically.
  • Auto-restart: In the Auto-Restart section, set autoRestartTime to the time between restarts in seconds, for example, 3600 for one hour. Set it to 0 to disable automatic restarts.
  • Crash protection: If the game server crashes, the console restarts it automatically.

Start the server and configure auto-start

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.

Remote console

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.

Connect to the server

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.

Ports and firewall

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.

Update the server

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.

Backups

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.

Further information

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.

Conclusion

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! 🙂

FAQ

Frequently asked questions

No. Reign of Kings is not (yet) included in the Game Server Installer. Install the Dedicated Server manually with SteamCMD using app ID 381690.
No. You can download the Reign of Kings Dedicated Server with SteamCMD using +login anonymous.
No. The Dedicated Server is only available for Windows. On a Linux VPS, first install a Windows server template via Settings > Reinstallation. This deletes all data.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.