Unturned is a multiplayer survival game where players navigate through a zombie-infested world, crafting items, building shelters, and fighting zombies and other players for survival. Setting up your server is a great idea to elevate your gaming experience. This article will help you set up an Unturned server on a Linux virtual private server (VPS). Whether you’re a pro or new to internet hosting, our step-by-step instructions will simplify creating your own Unturned server. Download Ultimate SSH Commands Cheat Sheet

Unturned Server Prerequisites
Gather these necessary components before creating an Unturned game server to ensure a smooth and successful installation: Operating System: Windows, Linux, or macOS. For this tutorial, we will focus on Linux for easy setup and enhanced efficiency. CPU: At least a quad-core processor. RAM: 4 GB or higher for hosting more players. Storage: Minimum 10 GB.

How to Make an Unturned Server
From choosing the best VPS provider to launching your own server, this section will guide you through creating an Unturned server hosting environment.
Choose a VPS Provider
Selecting the suitable Linux VPS for your Unturned server ensures a stable and responsive gaming environment. Hostinger’s Minecraft hosting plans are an excellent choice for your Unturned server hosting needs. Supporting popular games such as Minecraft, Counter-Strike 2, Rust, and Unturned, these plans offer multiple benefits, including: High-performance hardware – our Minecraft VPS plans use Intel Xeon processors and SSD storage, ensuring a fast and reliable Unturned server. Multiple server locations – these ensure low latency for your players, optimizing the Unturned gaming experience. Customization and control – full root access allows you to tailor the server to your preferences. Affordable plans – with plans starting at just $6.99/month, our plans are budget-friendly and scalable to your server’s growth. To get Hostinger’s Minecraft VPS, follow these steps: Visit our Minecraft VPS page and choose a plan that suits your server’s needs. Add your selected plan to your cart and complete the checkout process. After purchasing, navigate to VPS and click Setup. Name your server, set its password, and select your data center location.
Configure the Virtual Private Server
Configuring your VPS is a pivotal step in setting up a publicly accessible internet server for your Unturned game, enabling hosting of either private or public servers. For Hostinger customers, this begins with logging into your Hostinger account. Then, navigate to the VPS dashboard and check the status of your VPS. It should be set to Running. If not, start it with a click. Next, proceed to the SSH access tab. Here, you’ll find the crucial details for accessing your server via SSH commands. Once you’ve retrieved your credentials, log in to your server using an SSH client like PuTTY on your computer. Then, update and upgrade your system for the latest features and security patches with the following Linux commands:

sudo apt-get update

sudo apt-get upgrade

If it’s your first time updating, add the i386 architecture to ensure compatibility with specific Unturned server dependencies:

sudo dpkg –add-architecture i386

Continue by installing the necessary libraries, each serving a specific purpose:

screen – keeps processes running even after a terminal is closed.

htop – an interactive process viewer for monitoring your server’s performance.

unzip and wget – tools for downloading and extracting files.

mono – a software platform needed to run .NET applications (like Unturned) on Linux.

Execute the following commands sequentially:

sudo apt-get install screen htop unzip wget

sudo apt-get install build-essential gcc-multilib libstdc++6:i386 libgcc1:i386 libncurses5:i386 rpm zlib1g:i386

sudo apt-get install libmono2.0-cil mono-runtime

sudo apt-get install libc6:i386 libgl1-mesa-glx:i386 libXrandr2:i386 libXcursor1:i386

Create a Steam Account
Creating a dedicated Steam account for your Unturned server management offers several benefits. First, it keeps your personal gaming and server management activities separate, enhancing security and organization. Moreover, a dedicated account reduces the risk of compromising your personal game data and settings. Create a new Steam account with these steps: Visit the Steam web page and click sign up to begin the account creation process. On the next page, enter your email address and country of residence. After submitting your details, Steam will send a verification email. Follow the instructions in the email to confirm your account. Once your account is verified, log in to set your username and password. Remember not to use the same password anywhere else for enhanced security.

Install SteamCMD and Download Unturned Server Files
Before downloading the Unturned server files, it’s essential to install Wine and SteamCMD. Wine is a compatibility layer for running Windows applications on Linux. SteamCMD is the command-line interface of the Steam client, used for installing and updating the Unturned dedicated server tool and other game server files. Here are the steps: Install Wine by executing the following command:

sudo apt-get install wine

Use the mkdir command to create a directory for SteamCMD. For example:

mkdir ~/steamcmd

Download SteamCMD from the official source using:

wget

Once downloaded, extract the files with:

tar -xvzf steamcmd_linux.tar.gz

With Wine and SteamCMD ready, proceed to download the Unturned server files. First, create a directory for your Unturned server files by running:

mkdir ~/unturnedserver

Then, run this Linux navigate command to access the SteamCMD directory:

cd ~/steamcmd

Start SteamCMD by executing:

./steamcmd.sh

In the SteamCMD interface, log in to your Steam account or use an anonymous login with this Unturned server command:

login anonymous

Set the installation directory and download the Unturned server files:

force_install_dir ~/unturnedserver app_update 1110390 validate

Download and Configure RocketLauncher
With your Unturned server files downloaded, the next step is to set up RocketLauncher. It is a server wrapper with additional functionality and customization options that enhance overall server management. Follow the instructions below: Ensure you are in the directory where you installed SteamCMD. Then, use the following commands to download RocketLauncher:

cd ~/steamcmd

wget

Once the download is complete, extract RocketLauncher and remove the ZIP file:

unzip Rocket.zip && rm -rf Rocket.zip

Move RocketLauncher and its scripts to the unturnedserver directory:

mv Scripts/Linux/RocketLauncher.exe ~/unturnedserver/

mv Scripts/Linux/*.sh ~/unturnedserver/

If you’re planning to run a modded server with RocketMod, move the RocketMod files into the Modules directory of unturnedserver:

mv Modules/Rocket.Unturned/ ~/unturnedserver/Modules/

RocketMod offers a range of mods and plugins, including WorkshopDownloadConfig.json file, to enhance server customization and management. During startup, the Map command searches this workshop file for specific mods and maps, automatically integrating them into the server.

Edit the Update Script
The next crucial step is to tailor the update.sh script for your Unturned server. Typically a batch script or a text document, this file automates updating the server files through SteamCMD. To open the update script with the nano editor, run the following command:

nano ~/unturnedserver/update.sh

Here’s a basic outline of what you might find inside the update.sh file: #!/bin/bash # Navigate to SteamCMD directory cd ~/steamcmd # Log into Steam (use ‘anonymous’ or your dedicated account) ./steamcmd.sh +login [username] [password] # Update/install Unturned ./steamcmd.sh +app_update 1110390 validate # Exit SteamCMD ./steamcmd.sh +quit Key points to edit within this script include: Steam login – replace [username] [password] with your dedicated Steam account credentials. Directory path – ensure the script correctly points to where SteamCMD is installed (in this case, ~/steamcmd). App update command – the +app_update 1110390 validate command is crucial, as it specifies the Unturned server’s app ID and checks for missing or corrupted files. If you decide to input your Steam account credentials into the script, ensure the file permissions are set to restrict access. Use the chmod command to set the permissions, allowing only the admin (you) to view or edit this file. For example:

chmod 700 ~/unturnedserver/update.sh

Configure the Firewall and Port Forwarding
After setting up your game server, configure the firewall and set up port forwarding to ensure your server is accessible to players. This Unturned server troubleshooting step is critical for preventing and resolving connection issues. Configure the Firewall You’ll use UFW (Uncomplicated Firewall) to manage network traffic. First, enable UFW:

sudo ufw enable

Next, allow the default Unturned ports. The recommended port values for incoming connections are 27015 to 27017:

sudo ufw allow 27015:27017/tcp

sudo ufw allow 27015:27017/udp

If your server uses different ports (as specified in your server settings or Commands.dat file), replace 27015:27017 with your server’s port range. Set Up Port Forwarding Port forwarding enables multiple devices to connect to your server through your router. First, find your internal IP address by acc…