Hosting a server for Unturned lets you run a persistent, public instance of the game for a community. This guide explains how to set up a dedicated server using the Unity standalone build provided by the game, covering installation, configuration, port forwarding, command-line arguments, and ongoing maintenance. You will learn how to secure the server, manage mods, back up saves, and keep the instance stable over time.
Understanding Unturned Dedicated Servers
Unturned supports a dedicated server mode that runs without the Steam client. The server uses the same Unity build as the game and can be hosted on a PC or a remote Linux machine with Mono or a compatible runtime. A server process handles world state, player management, and synchronization, while clients connect via UDP. Understanding this architecture helps you configure networking, storage, and performance settings appropriately.
Key Concepts and Terminology
- Dedicated server: A headless instance that does not require a Steam client or graphical session.
- Port forwarding: Configuring your router to direct external traffic to the server computer on a specific port.
- Command-line arguments: Parameters passed to the server executable to control behavior, such as port, name, and maximum players.
- Region and latency: Physical distance between server and players affects responsiveness; choose a location that minimizes ping for your primary player base.
System Requirements and Hosting Options
Unturned server requirements are modest for small communities but scale with player count and mod usage. You can host on a home PC, a cloud virtual machine, or a rented game server. Consider CPU, RAM, disk I/O, and network bandwidth when choosing hardware. Cloud providers give you a public IP and easy firewall controls, while a home setup requires careful router configuration and a stable connection.
| Metric | Estimate or Range | Context |
|---|---|---|
| Minimum RAM (no mods) | 2–4 GB | Light server with few players |
| Recommended RAM (moderate load) | 4–8 GB | 8–20 players, some mods |
| Storage (base + saves) | 5–10 GB | Unity build plus world data |
| Upload bandwidth | 1–5 Mbps suggested | Scales with player count and tick rate |
| Typical tick rate | 30–60 Hz | Server performance dependent on hardware |
Preparing Your Machine
Operating System and Runtime
Unturned server builds are provided for Windows and Linux. On Windows, you can run the dedicated server executable directly. On Linux, you may need to use Mono or a compatible runtime depending on the build. Ensure your machine or VM has the required libraries installed, and allow the server process through any host-based firewall. Keep the system updated to avoid compatibility issues.
Account and Permissions
Create a dedicated user account for the server to limit permissions and improve security. Avoid running the server as an administrator or root. On Windows, use a standard user with access to the server directory; on Linux, create a service user and set appropriate ownership for files and logs.
Port Forwarding and Networking
To make your server reachable from the internet, you must forward the server port on your router. Unturned typically uses UDP. Common practice is to forward a single port, such as 28015 or another value you specify, to the internal IP of the server machine. After forwarding, verify the external port is open using an online port-checking tool from outside your network.
Network Configuration Tips
- Use a static IP for the server machine to prevent the internal address from changing.
- Enable UPnP only if you trust your router’s implementation; manual port forwarding is more predictable.
- Set your router’s firewall to allow inbound UDP traffic on the server port from any address.
- Avoid exposing unnecessary services on the same machine to reduce attack surface.
Command-Line Arguments and Startup Configuration
Unturned servers accept several command-line arguments that control behavior at launch. Common arguments include the port, server name, password options, and tick rate. You can create a startup script or batch file to pass these arguments consistently. Always test the server in a local network before exposing it to the internet to confirm arguments are parsed correctly.
Common Arguments Reference
- -port: Sets the UDP port for server traffic.
- -name: Sets the displayed server name in the server browser.
- -password: Forces a password for all players (set a secure password).
- -insecure: Allows connections without Steam authentication (use with caution).
- -tickrate: Sets server simulation rate, commonly 30 or 60.
Configuration Files and Server Data
The server reads configuration values from data files in its installation directory. You can adjust settings such as the maximum number of players, loot tables, and economy parameters by editing these files. Back up configuration files before editing them, and keep a record of changes so you can revert if needed. Understand how each setting affects gameplay to avoid unintended behavior.
Installing and Managing Mods
Mods can extend gameplay and add content but also introduce compatibility and stability risks. Only install mods that are verified for server use and compatible with your Unturned version. Place server-side mods in the appropriate directory and test the server thoroughly before opening it to the public. Keep backups of mod folders and configurations to simplify updates and rollbacks.
Security Considerations
Public servers can be targets for griefing, exploits, and DDoS attempts. Mitigate risks by using strong passwords, limiting console access, and keeping software up to date. If available, prefer secure authentication modes over insecure ones. Monitor logs regularly for unusual activity, and consider rate-limiting settings to protect server stability.
Running the Server Process
Launch the server using the command line or a script that sets the working directory and arguments. On Windows, you can double-click a .bat file; on Linux, you can use a systemd service for process management. A service ensures the server restarts automatically on crash or reboot and can capture stdout and logs for troubleshooting.
Example Startup Script Concepts
- Windows batch file: UnturnedServer.exe -port 28015 -name "My Server" -password "yourpassword"
- Linux shell script: mono UnturnedDedicated.exe -port 28015 -name "My Server" -password "yourpassword"
Monitoring, Logging, and Maintenance
Regularly check server logs for errors, warnings, and connection events. Monitor resource usage, especially RAM and CPU, under peak load. Schedule periodic backups of save files and configuration. Plan for updates by testing new game versions on a separate instance before upgrading your public server.
Wrapping Up
Hosting an Unturned server requires preparation, networking setup, and ongoing maintenance, but it is straightforward with the right steps. By following this guide, you can run a stable, secure server that supports your community. Always back up data, test updates, and monitor performance to keep the experience smooth and reliable.
FAQ
Reader questions
Can I host Unturned server at home?
Yes, you can host at home if you have a stable internet connection, a static or predictable external IP, and the ability to forward ports. Dynamic DNS can help if your IP changes.
Do I need Steam to run a server?
No. The Unturned dedicated server runs independently of the Steam client, but you may need to authenticate with Steam on the server machine for some assets in certain configurations.
Is there a cost to hosting?
The server software is free. Costs arise only if you choose a cloud host, domain, or public address services. Home hosting may increase bandwidth usage on your internet plan.
How do I update my server when Unturned releases a new version?
Back up your saves and configuration, download the new server build, and run the server with the updated files in a test environment before switching your public instance.
What are the best practices for performance?
Use a server near your player base to reduce latency. Limit the number of heavy mods that increase CPU and memory usage. Monitor tick rate and logs for signs of performance degradation.