Running your own Reign of Kings server on a VPS is a lot of fun, but it also means taking responsibility when something goes wrong. Crashes, lag, and configuration issues are common challenges that every server owner will encounter at some point.
To help you spend less time troubleshooting, here are the most common issues and how to fix them quickly on your VPS.
The causes of server issues are not always immediately obvious. The best place to start is the server output: the Server.exe server console shows you what the game server is doing in its window. Connect to your VPS using Remote Desktop to view it, or use the remote console. For instructions on setting up the server, see Reign of Kings: Set up a server on your VPS.
Server not visible
If your server does not appear in the server list, first check the Server.exe window to see whether it has finished starting. Then check that the ports in Configuration\ServerSettings.cfg are open in your operating system's firewall and in your VPS's network firewall. Also make sure that no filters are active in the server list that could hide your server.
Server won't start
Start Server.exe manually and monitor the output. If startup takes a very long time and the console reports that it cannot connect to the process, increase connectionTimeout in Configuration\ConsoleSettings.cfg. Common causes include a typo in ServerSettings.cfg, a port already in use by another program, or insufficient memory. If you changed the configuration, try reverting the change.
Nothing cuts a good session short faster than an unexpected crash. Possible causes include an outdated server version, faulty mods, an overloaded VPS, or a misconfiguration. The Server.exe server console monitors the game server and automatically restarts it after a crash. If it keeps crashing, the cause is usually a configuration issue or an extension.
Keep your server up to date
An outdated server can cause crashes, unexpected behavior, or startup issues, and often prevents players from connecting with a newer game version. Enable auto-updates in Configuration\ConsoleSettings.cfg (set autoUpdate to True and steamAppId to 381690), and the server console will download new versions automatically. Alternatively, stop the server and run the SteamCMD command from the installation again.
Faulty mods and extensions
Crashes are often caused by faulty or outdated mods and extensions, especially after a game update. Try disabling additional content and starting with a minimal configuration. If the problem goes away, add the content back one item at a time and test after each step. This helps you pinpoint what is causing the issue.
Issues such as lag or delays often occur when the configuration is unsuitable, the VPS has insufficient resources, or extensions overload the system.
Poor server configuration
Unsuitable settings can increase resource usage and cause lag. Check the values in Configuration\ServerSettings.cfg, such as the player count. Stop the server before editing the file, then restart it afterward. A regular restart using autoRestartTime in ConsoleSettings.cfg can help when the server runs for long periods.
Insufficient VPS resources
The memory and CPU your Reign of Kings server needs depend on the number of players and your settings. The operating system and other programs on the VPS also need resources. You can check your VPS's resource usage in the ZapX dashboard under Monitoring. If memory or CPU usage remains at full capacity, upgrading your VPS can help. Learn more in Upgrades, downgrades, renewals, and cancellations.
Ping spikes, lag, and network delays
Ping spikes and lag are usually caused by limited VPS resources, a large number of players, or a server location far from your players. First, check resource usage under Monitoring. If you suspect routing issues, see Diagnose network issues with WinMTR/MTR. If you still need help, contact our support team.
DDoS and other network threats
Game servers are occasionally targeted by DDoS attacks that flood the server with traffic. Your VPS is protected by our DDoS protection. You can view past attacks in the DDoS Manager for your VPS in the ZapX dashboard, if it is available at your location. If you suspect an attack is causing issues, contact our support team.
Regular backups can save you a lot of stress. Back up the Configuration folder and the save files in the server folder, ideally while the server is stopped. In addition, your entire VPS is automatically backed up every day. With an active ZapX Pass, you can restore these backups yourself and create your own backups. Learn more in Daily backups, restores, and restricted actions.