How to Install Unturned on AnonVM: A Complete Guide
Unturned is a multiplayer survival game set in a world overrun by zombies. By hosting your own Unturned server on AnonVM, you gain the ability to customize game settings and invite friends for a unique gaming experience. This tutorial will guide you through the installation and configuration process.
Prerequisites
Before starting the installation, ensure you have the following:
- AnonVM VPS or Dedicated Server: A server with root or sudo access.
- Operating System: This guide assumes you are using Ubuntu or CentOS.
- SSH Access: You'll need SSH access to your server to run commands.
- Steam Account: A Steam account is required to download Unturned and run the server.
Step 1: Update Your System
It’s always a good idea to update your server’s packages before installing new software. To do this, run the following commands:
For Ubuntu/Debian-based systems:
For CentOS-based systems:
Step 2: Install Dependencies
Unturned requires SteamCMD, a command-line tool used to install and update games from Steam.
For Ubuntu/Debian-based systems:
For CentOS-based systems:
Step 3: Install SteamCMD
-
Create a directory for SteamCMD:
-
Download SteamCMD:
-
Extract the SteamCMD files:
-
Navigate to the SteamCMD directory:
Step 4: Install Unturned Server Files
Now that SteamCMD is set up, you can use it to install the Unturned server.
-
Run SteamCMD:
-
Log in to SteamCMD using your Steam account or anonymously:
-
To log in anonymously:
-
To log in with your Steam credentials:
-
-
Set the installation directory for Unturned:
-
Install the Unturned server:
This will download and install the Unturned server files.
-
Exit SteamCMD:
Step 5: Configure Unturned Server
After installation, you will need to configure your Unturned server to set up game rules, world settings, and player preferences.
-
Navigate to the Unturned server directory:
-
The Unturned server will have several configuration files in the
Servers
directory. To configure your server, navigate to the server configuration files: -
Edit the server configuration file (for example,
MyServer/Config.json
):Key configuration options include:
- ServerName: Set the name of your server.
- Password: If you want your server to be private, set a password.
- MaxPlayers: Set the maximum number of players allowed on your server.
- Port: Configure the server’s port (default is 27015).
- Map: Choose the map you want to use.
Example configuration:
-
Save and exit the file (
CTRL + X
, thenY
to confirm).
Step 6: Start the Unturned Server
To start the Unturned server, run the following command:
This will start the server in headless mode (without graphics) and enable batch processing, allowing it to run smoothly on a VPS.
Step 7: Set Up Automatic Startup (Optional)
To ensure the server starts automatically when your server reboots, you can create a systemd service.
-
Create a systemd service file:
-
Add the following content:
Replace
your_user
with your actual user. -
Reload systemd to apply changes:
-
Enable the service to start on boot:
-
Start the Unturned server service:
-
Verify the server status:
Step 8: Connect to Your Unturned Server
To connect to your Unturned server, follow these steps:
- Open Unturned from your Steam library.
- Go to Play > Multiplayer > Connect.
- Enter your server’s IP address and port (default is 27015).
You can also make your server publicly visible or keep it private with a password.
Step 9: Secure Your Server (Optional)
For additional security, you may want to set up a firewall and limit who can access your server.
-
Firewall Configuration: Make sure the necessary ports (default 27015) are open in your firewall to allow players to connect.
To allow traffic on port 27015, you can run:
-
Password Protection: If you want to secure your server, ensure that you set a Password in the
Config.json
file.
Conclusion
You’ve successfully installed and configured Unturned on your AnonVM server. Now you can host a multiplayer game with your friends, control game settings, and enjoy a custom experience tailored to your preferences. Whether you’re playing privately or hosting for the community, the Unturned server is fully configurable to meet your needs.
Key Takeaways:
- SteamCMD is required to download and install the Unturned server.
- Use systemd to ensure the server starts automatically.
- Make sure to configure the server settings for a custom gameplay experience.
- Firewall protection and passwords are essential for securing your server.
Now you can enjoy Unturned with your friends or the community, hosted on your AnonVM server! Happy surviving!