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.
- Connect to your VPS using Remote Desktop.
- Download SteamCMD for Windows and extract it, for example, to
C:\steamcmd. - Open a command prompt in the
C:\steamcmdfolder and download the server:
steamcmd.exe +force_install_dir C:\GameServers\hurtworld +login anonymous +app_update 405100 validate +quit
- Connect to your VPS using SSH.
- Set up SteamCMD as described in Set Up SteamCMD on Linux.
- Download the server using SteamCMD:
./steamcmd.sh +force_install_dir ~/hurtworld +login anonymous +app_update 405100 validate +quit
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.
Add any additional server commands to the autoexec.cfg file in the server folder, alongside Hurtworld.exe, with one command per line. The server does not read the example file provided, so create autoexec.cfg yourself. Restart the server after making changes.
Updates are not installed automatically. Stop the server and run the SteamCMD command from the installation steps again. Then restart the server.
| 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.
Stop the server and regularly copy the server folder to a safe location to back up your world and settings.
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. Learn more in Daily Backups, Restoring Backups, and Restricted Actions.
You can also find setup instructions in the Hurtworld Wiki. Many server operators use uMod for extensions such as plugins.