How to setup a dedicated server for Unturned
Publisher: Psychz Networks, February 19,2021Unturned is an open-world survival sandbox where you play a survivor's role in the zombie-infested ruins of modern-day society. You can choose to work with your friends, create groups or alliances to survive, find weapons and supplies for fighting against the zombies. Unturned is a popular survival game that is free to play.
The following article will learn how to set up and install an Unturned server on CentOS 8.
Note: This is a customized version of Unturned that doesn't require SteamCMD to install. It also allows you to run multiple server instances, uses less ram, and runs more efficiently.
- Requirement
- Installing Libraries and Packages
- Downloading Server files
- Extracting Files
- Running Unturned Server
- Download Admin Commands
- Conclusion
Requirement
CPU: 2 Cores
RAM: 2 Gb of RAM
Storage: 15 Gb SSD (for better read/write performance)
OS: CentOS 8 with root login
Step 1: Install all the dependent libraries and packages.
Update the system:
# yum update -y
Always perform this step to install any latest updates released by the community.
Install the following packages for the Unturned server to work:
# yum install screen unzip git -y
Add i386 architecture support to be able to install the 32-bit packages from the 32-bit repos on your 64-bit CentOS 8 servers.
# yum --enablerepo=base-i386 --disablerepo=base-x86_64
# yum update
Then, install these libraries:
yum install --enablerepo=base-i386 --disablerepo=base-x86_64 lib32stdc++6 mono-runtime mono-devel libmono-cil-dev mono-reference-assemblies-2.0 libc6-dev.i386 -y
Step 2: Downloading Server Files
Download the server files:
Download the Admin commands
Step 3: Extract the server files
# tar -zxvf unturned-linux-dedicated.tar.gz
Move files into the server folder:
# mv Managed.zip unturned-bin/Unturned_Data/
Now go to the Unturned_Data directory:
# cd unturned-bin/Unturned_Data/
Unzip the archived files:
# unzip Managed.zip
Step 4: Running Unturned Server
Let us now run your newly installed Unturned server:
cd ../
chmod +x dedicated.sh
./dedicated.sh
OUTPUT
Press [CTRL+C] to stop..
========================================
== Fri Feb 19 02:08:37 PST 2021
============ Starting server ===========
Set current directory to /root/unturned-bin
Found path: /root/unturned-bin/Unturned.x86
Mono path[0] = '/root/unturned-bin/Unturned_Data/Managed'
Mono path[1] = '/root/unturned-bin/Unturned_Data/Mono'
Mono config path = '/root/unturned-bin/Unturned_Data/Mono/etc'
Step 5:Installing AdminCommands
Using Admin Commands will give you great control over your server. You will need to be in the unturned-bin directory to perform this action.
Use git to get a clone of the mod files on your server.
# git clone https://github.com/Horsuna/Unturned.git
# cd Unturned
Confirm that the files got cloned properly using ls. The output should appear as follows:
Output:
Move the ModLoader and the AdminCommands into the server's files:
Make a new directory for the AdminCommands mod:
Move the AdminCommands mod into the mods directory.
Conclusion
You have successfully installed Unturned with AdminCommands on CentOS 8. I hope you find this article useful. If yes, please give us an upvote and your inputs.