How to Set Up a HumanitZ Server on AnonVM Hosting

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

  1. Log in to your AnonVM hosting panel and choose the VPS you want to use for your HumanitZ server.

  2. 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:

    css
     
    ssh root@your-vps-ip

    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.

  1. Update your VPS system:

    sql
     
    apt-get update && apt-get upgrade -y
  2. Install necessary dependencies:

     
    apt-get install lib32gcc1 -y apt-get install wget curl -y
  3. Install SteamCMD: SteamCMD is the tool used to download and install game servers. To install SteamCMD, run the following commands:

     
    mkdir -p /home/steam && cd /home/steam wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar -xvzf steamcmd_linux.tar.gz

Step 3: Download HumanitZ Server Files

Once SteamCMD is installed, you can proceed to download the HumanitZ server files.

  1. Navigate to the SteamCMD directory:

     
    cd /home/steam
  2. Run SteamCMD to download HumanitZ server files:

     
    ./steamcmd.sh
  3. Inside SteamCMD, log in anonymously and install the server:

     
    login anonymous force_install_dir ./humanitz app_update <app_id_of_humanitz> validate exit

    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.

  1. Navigate to the server folder:

     
    cd /home/steam/humanitz
  2. Edit the configuration files: The main configuration files are typically found in the Config directory. Look for files such as ServerSettings.ini and Game.ini to adjust various settings.

    To edit these files, use a text editor like nano:

     
     
    nano Config/ServerSettings.ini

    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, then Y 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):

 
ufw allow 7777,27015,7778/udp ufw reload

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.

  1. Run the server:

     
     
    ./HumanitZServer.sh

    This command will start your server, allowing players to connect.

  2. 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 or screen:

    • Install tmux (if not installed):

       
      apt-get install tmux -y
    • Start a new tmux session:

       
      tmux new -s humanitz
    • Run the server:

       
       
      ./HumanitZServer.sh
    • Detach from the session by pressing CTRL + B, then D. You can reattach to the session by running:

       
      tmux attach -t humanitz

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!

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution