HumanitZ is an immersive survival multiplayer game set in a post-apocalyptic world. It offers players the opportunity to explore, build, and survive in an open-world environment populated by zombies, hostile NPC factions, and other players. Hosting a server allows you to customize the gameplay experience, control the server's settings, and provide a platform for your community to join.
In this tutorial, we'll guide you through the steps to set up a HumanitZ server on your AnonVM hosting VPS. By following this guide, you’ll be able to create a reliable, performance-oriented server for you and your friends to enjoy, with minimal latency and downtime.
Prerequisites
Before you begin, ensure that you have the following:
- An active AnonVM VPS account with access to a VPS.
- Basic knowledge of SSH, Linux commands, and terminal usage.
- HumanitZ server files (via SteamCMD).
- Optional: A custom domain name (for easier server access).
- Firewall and networking basics.
Step 1: Access Your AnonVM VPS
-
Log in to your AnonVM hosting panel and choose the VPS you want to use for your HumanitZ server.
-
Connect to your VPS via SSH. You can use a terminal on Linux/Mac or a tool like PuTTY on Windows.
Command for Linux/Mac:
Enter your password when prompted to access your VPS.
Step 2: Install Required Dependencies
To run a HumanitZ server, you need to install a few dependencies, such as SteamCMD, which allows you to download and update the server files.
-
Update your VPS system:
-
Install necessary dependencies:
-
Install SteamCMD: SteamCMD is the tool used to download and install game servers. To install SteamCMD, run the following commands:
Step 3: Download HumanitZ Server Files
Once SteamCMD is installed, you can proceed to download the HumanitZ server files.
-
Navigate to the SteamCMD directory:
-
Run SteamCMD to download HumanitZ server files:
-
Inside SteamCMD, log in anonymously and install the server:
Replace
<app_id_of_humanitz>
with the actual Steam App ID for HumanitZ. This will download the server files to the./humanitz
directory on your VPS.
Step 4: Configure the HumanitZ Server
After downloading the server files, you’ll need to configure the server settings.
-
Navigate to the server folder:
-
Edit the configuration files: The main configuration files are typically found in the
Config
directory. Look for files such asServerSettings.ini
andGame.ini
to adjust various settings.To edit these files, use a text editor like
nano
:Some key configuration settings you might want to adjust include:
- Server Name: Set a custom name for your server.
- Max Players: Set the maximum number of players that can join the server.
- Password: Set a password for private access.
- PVE/PVP Mode: Define whether the server is focused on player vs. environment (PVE) or player vs. player (PVP) gameplay.
- Difficulty: Adjust the difficulty level according to your preferences.
Save your changes by pressing
CTRL + X
, thenY
to confirm.
Step 5: Open Required Ports
To ensure that players can connect to your HumanitZ server, you need to open specific ports in your VPS firewall. These ports may vary depending on the game’s requirements.
Typically, you'll need to open the following ports:
- Port 7777 (UDP) for the game.
- Port 27015 (UDP) for server queries.
- Port 7778 (UDP) for the Steam query port.
Use the following commands to open these ports if you're using UFW (Uncomplicated Firewall):
If you are using a different firewall solution, ensure to open these ports accordingly.
Step 6: Start the HumanitZ Server
After configuring your server and opening the necessary ports, it’s time to start your HumanitZ server.
-
Run the server:
This command will start your server, allowing players to connect.
-
Run the server in the background (optional): If you want the server to continue running after you disconnect from SSH, you can use a terminal multiplexer like
tmux
orscreen
:-
Install
tmux
(if not installed): -
Start a new
tmux
session: -
Run the server:
-
Detach from the session by pressing
CTRL + B
, thenD
. You can reattach to the session by running:
-
Step 7: Connect to Your Server
Once the server is running, you can join it through the HumanitZ client. Open the game, navigate to the server browser, and enter your server’s IP address or domain to connect. If you’ve set up a password, make sure to enter it when prompted.
Conclusion
You’ve now successfully set up a HumanitZ server on your AnonVM VPS! Hosting on AnonVM’s high-performance servers ensures a stable and reliable gameplay experience with minimal downtime. Whether you’re playing with friends or creating a community server, AnonVM’s robust VPS solution gives you the flexibility and power you need to run the game smoothly.
To ensure optimal performance, make sure to regularly update your server and back up your data. Enjoy your time surviving and thriving in the post-apocalyptic world of HumanitZ!