This guide covers how to set up your Hurtworld dedicated server on Legion Hosting, configure startup variables, edit the server configuration, set up PvP and resource rates, connect to your server, and manage saves. Hurtworld is a multiplayer survival FPS where players gather resources, build bases, and craft gear to survive in a harsh environment. For admin commands, Oxide/uMod plugin support, and troubleshooting, see Hurtworld Admin Commands.
1. First Start
- Log in to GPanel and select your Hurtworld server.
- Go to the Startup tab and review the configurable variables (see Section 2).
- Set HOSTNAME and optionally adjust MAX_PLAYERS.
- Return to the Console tab and click Start.
- Wait for the console to confirm the server has started. The first launch generates the world and creates initial configuration files.
autoexec.cfg, start the server once, let it finish loading, then stop it before editing.
2. GPanel Startup Variables
| Variable | Required | Description |
|---|---|---|
HOSTNAME | Yes | The name displayed in the server browser. |
MAX_PLAYERS | No | Maximum concurrent players. Default is 60. |
QUERY_PORT | Auto | Steam query port. Default is 13871. Managed by GPanel. |
CREATIVE_MODE | No | Enable creative mode (free build). 0 = off, 1 = on. Default is 0. |
ADMINS | No | Steam ID of the server owner for admin access. |
INSTALL_OXIDE | No | Install Oxide/uMod modding framework. 0 = no, 1 = yes. Default is 0. |
3. Server Configuration (autoexec.cfg)
For advanced settings, edit the configuration file directly. Stop your server before making changes.
File Location
autoexec.cfg
Open via the Files tab in GPanel or SFTP. Uses console command syntax, one command per line.
Key Settings
| Command | Default | Description |
|---|---|---|
host | (from startup) | Server name displayed in the browser. |
maxplayers | 60 | Maximum concurrent players. |
setpassword | (empty) | Server join password. Leave empty for public. |
lootscale | 1 | Multiplier for loot drop rates. |
resourcescale | 1 | Multiplier for resource gathering. Set to 2 for double. |
craftscale | 1 | Multiplier for crafting speed. |
pvp true/false | true | Enables or disables PvP combat. |
protectalivetimeout | 0 | Spawn protection in seconds. |
autosaveinterval | 300 | Auto-save interval in seconds (5 minutes). |
Example autoexec.cfg
host "My Legion Hurtworld Server"
maxplayers 40
setpassword ""
lootscale 1.5
resourcescale 2
craftscale 1
pvp true
protectalivetimeout 30
autosaveinterval 300
4. Map Selection
Set the map using the MAP startup variable in GPanel or the loadmap command in autoexec.cfg.
| Map Name | Description |
|---|---|
HurtworldIsland | Default island map with desert, snow, and forest biomes. |
Diemensland | Alternative map with different terrain and resource distribution. |
Switching maps preserves builds on the previous map.
5. PvP and Resource Settings
Customize the play style in autoexec.cfg:
- PvP servers: Keep
pvp trueand setprotectalivetimeoutfor spawn protection. - PvE servers: Set
pvp falsefor cooperative play. - Boosted servers: Increase
resourcescaleandlootscalefor faster progression. - Hardcore servers: Keep all scales at
1or lower.
6. How to Connect
Option A -- In-Game Server Browser
- Launch Hurtworld from Steam.
- From the main menu, click Play Online.
- Search for your server by name, select it, and click Join.
Option B -- Direct Connect via Console
- Launch Hurtworld and press F1 to open the console.
- Type:
connect <your-server-ip>:<port>
7. Save Management
The server auto-saves at the interval set by autosaveinterval (default: 300 seconds / 5 minutes). Save files are stored in the saves/ directory containing player bases, inventories, vehicles, and world state.
Manual Backups via SFTP
- Stop the server from GPanel.
- Connect via SFTP (see How to Upload Files via SFTP).
- Download the entire
saves/directory and store it safely.
Restoring a Save
- Stop the server, connect via SFTP, and upload your backup to
saves/. - Start the server from GPanel to load the restored save.
Related Articles
- Hurtworld Admin Commands
- How to Find Your Server IP and Port
- How to Upload Files via SFTP
- Server Startup Guide
Need Help?
If you run into issues with your Hurtworld server that are not covered here, open a support ticket and include your server IP, a description of the problem, and any relevant error messages from the GPanel console.