Run your own Hurtworld server on your ZapX VPS. Hurtworld is not (yet) available in the Game Server Installer, so you’ll need to set up the server manually. It’s quick and easy: the server files are available for free through SteamCMD. This guide explains what you need, how to install and start the server, and which ports to open.
| Requirement | Hurtworld |
|---|---|
| Operating system | Windows Server or Linux (64-bit), such as Debian or Ubuntu |
| Server files | Hurtworld Dedicated Server, SteamCMD app ID 405100 (anonymous download) |
| Access | Windows: Remote Desktop · Linux: SSH |
Hurtworld is not (yet) available in the Game Server Installer, so you’ll need to install the server yourself. To use a different operating system, install another template via Settings > Reinstallation. This deletes all data on the VPS. Learn more in Server Reinstallation.
Start Hurtworld with a command line that sets the port, query port, server name, and your admin. On Windows, create a file named start.bat in the server folder with the following contents:
Hurtworld.exe -batchmode -nographics -exec "host 12871;queryport 12881;servername Mein Hurtworld Server;maxplayers 50;addadmin <STEAMID64>" -logfile "gamelog.txt"
On Linux, start the server from the server folder with ./Hurtworld.x86_64 and the same parameters.
| Parameter | Description |
|---|---|
host 12871 | Game port |
queryport 12881 | Query port for the server list |
servername | Name shown in the server list |
maxplayers | Number of player slots |
addadmin <STEAMID64> | Makes the player with this SteamID64 an admin |
-logfile | File where the server writes its output |
addadmin only applies to the current session. Leave the command in your startup line so you have admin rights again after every restart.
To start the server automatically after your VPS restarts, create a task in Task Scheduler on Windows to run start.bat at system startup. On Linux, you can use a systemd service or start the server in a screen session.
| Port | Protocol | Use |
|---|---|---|
| 12871 | UDP | Game |
| 12881 | UDP | Query (server list) |
Some guides also recommend opening the game port for TCP. If players can’t connect to the server, open it for TCP as well.
Open the ports in your operating system’s firewall: on Windows, use the Windows Firewall (Manage Windows Defender Firewall rules); on Linux, follow the steps in Set Up the Linux Firewall, for example. Also open them in the ZapX Dashboard, in the Network Firewall tab for your VPS.
