I finally got a dedicated Hurtworld server to run on Debian Jessie:
1. Create a new user named “hwserver” and login:
2. Grab the install script I created:
3. Unpack the script and make it executable:
tar -xvzf hurtworldserver.tar.gz
chmod +x ./install.sh
4. If your user name is “hwserver” as specified above, you can run the script now to install the dedicated server via SteamCMD:
IMPORTANT: If your user name is different from “hwserver” you need to edit the script accordingly before you run it. The default installation directory for the server is “serverfiles”. You can change it in the script if you want to (Do not use a trailing slash!):
5. The script downloads and extracts SteamCMD, logs in anonymously, grabs the server files and finally links two files (steamclient.so and steam_appid.txt) to the positions where they seem to be expected.
6. Once everything is finished, you can start the server with “Hurtworld.x86” (I also tried “Hurtworld.x86_64” but it didn’t seem to work) in the installation directory. Add the desired parameters for server name, query port, player limit etc. as outlined here. Example:
/home/YOUR USER NAME/YOUR INSTALL DIR/Hurtworld.x86 -batchmode -nographics -exec "host 12871;queryport 12881;maxplayers 20;servername Linux Test Server" -logfile "gamelog.txt"
IMPORTANT: Don’t forget to open the specified ports in your firewall (in the example above 12871 TCP/UDP and 12881 UDP).
7. If you want to create a script to start the server, it could look something like this (using tmux):
tmux new-session -d -s hurtworld '/home/YOUR USER NAME/YOUR INSTALL DIR/Hurtworld.x86 -batchmode -nographics -exec "host 12871;queryport 12881;maxplayers 20;servername Linux Test Server" -logfile "gamelog.txt"'
Good luck with your server!