How to Create a Hurtworld Dedicated Server Guide
Host a server from us!
If you would prefer to get an instant Hurtworld server setup without using your computer resources, you can order a server here:
Windows 7, 8, 8.1, Server 2008, Server 2012 & 64-Bit
Quad core processor: 2 GHz
Memory: 4 GB RAM
Graphics: GeForce 460/Radeon HD 5850/Intel HD 4600 with at least 1024 MB video RAM
2 GB available space
Step 1 Gathering Game Server Files using SteamCMD
- Download the SteamCMD from here: steamCMD Download
- Create a folder where you would like your Hurtworld game server to be.
- Place the SteamCMD.exe file within that folder
- Create a batch file named SteamCMD.bat within the same folder
- Place the following inside of the bat file
- @echo off
- steamcmd.exe +force_install_dir C:\servers\hurtworld +login anonymous +app_update 405100 validate +quit
- Make sure to change the path you want your server files to download to.
- Save then run the bat file. Right click and run as administrator
Doing all of this will make the server files download.
Step 2: Setting up Your Hurtworld Dedicated Server
- Head into the folder where you downloaded the files
- Right click on the host.bat file and edit it to look like
- Hurtworld.exe -batchmode -nographics -exec "host 12871;queryport 12881;servername <color=#FF0000>SurvivalServers.com</color> HurtWorld;addadmin UID here " -logfile "gamelog.txt"
Save then run the bat file as admin
Step 3: Port Forwarding
Port forward the following ports
- 12871 TCP/UDP
You will do this through your router or windows firewall. Depending how you have your network setup. The following link will give you a hand with port forwarding on your router. portforward.com
Step 4: How to Join Your New Server
A list of commands
The following commands will give you greater control over your server:
host <port> Hosts a game on the default map, and specified port. Loads the autosave if there is one. host 12871 host <port> <map> Hosts a game on the specified map, and specified port. Loads the autosave if there is one. host 12871 Desert host <port> <map> <save> Hosts a game on the specified map, and specified port. Loads the specified savegame (relative to the .exe and without an extension) host 12871 Desert mysave maxplayers <num> Specify the maximum number of players maxplayers 20 servername <name> Set the name of the server, as visible in the server browser. servername My Server changelevel <levelName> Change, or reload the level. changelevel Desert creativemode <val> Turn creative mode on and off (free build). Value as 0 for off, 1 for on. creativemode 1 kick <guid> <reason> Kick a player, with a reason. Enter the start of a guid for a player (you can see these with `serverstatus`) to identify them. kick f422 Being a jerk saveserver <saveName> Save the server state to file, in the .exe directory. Can be loaded (see loadserver) saveserver mySave loadserver <saveName> Additively load the server state from file, relative to the .exe directory. loadserver mySave addadmin <playerid> Adds a player as admin to the local server for the current session only addadmin UID Here queryport <port> Specifies the port to use for communication with the master server, this port must be publicly accessible for the server to show up in the game browser. Default is 12881. queryport 12882 quit Quits the game immediately. quit quit <time> Quits the game after <time> seconds. Will show a nice message to all clients every 30 seconds, for 5 minutes before the server shuts down. quit 86400
Entering the commands listed above into the autoexec.cfg will allow them to run each time the server boots. Your autoexec file will be called autoexec_default.cfg so just take out the _default and you are good to go.
Admin Commands Client Side
itemlist <name filter> Shows a list of all items in game (some of them still in development) with item codes itemlist bow g <code> <count> Gives you an item based on item code. This can cause a great deal of lag. ( g 52 100 ) g <name> <count> Gives you <count> of every item thats name contains the string <name> g ore 255 rcon <command> Executes a command on the server as if it was typed directly into its console spawn <prefabname> This will spawn any networked object 2 meters in front of you. Such as spawn sandstorm refreshai Destroys all creatures and resource nodes in the world teleport <who> <toplayer> Specified by full name, will take player A directly to player B teleport spencer dazzler
Share your opinion