How to Set Up a Necesse Dedicated Server on AnonVM Hosting

Necesse is an open-world sandbox RPG with elements of exploration, combat, and crafting. In Necesse, players can build, craft, and fight their way through a rich and dynamic world. If you're interested in hosting your own Necesse dedicated server, this guide will walk you through the installation and configuration process on AnonVM hosting. By hosting your own server, you can invite friends or players from around the world to experience the game in your custom world.

Prerequisites

Before starting the installation, ensure you have:

  • A VPS from AnonVM with at least 2-4 GB of RAM, 2 CPU cores, and 10 GB of storage.
  • SSH access to your VPS.
  • Basic knowledge of Linux commands.
  • SteamCMD installed (or follow our previous guides to install it).

Step 1: Access Your AnonVM VPS

  1. Log in to your AnonVM account and access your VPS.
  2. Use an SSH client like PuTTY (on Windows) or your terminal (Linux/Mac) to connect to your VPS:
     
    ssh root@your-vps-ip
    Replace your-vps-ip with the actual IP address of your VPS, and enter your password when prompted.

Step 2: Install Required Dependencies

To run Necesse, you need a few libraries and utilities installed.

  1. Update your system:

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

     
    apt-get install wget curl unzip screen lib32gcc1 -y

These libraries ensure that your server runs without any issues.

Step 3: Install SteamCMD

SteamCMD is used to install and update the game server files.

  1. Create a directory for SteamCMD:

     
    mkdir -p /home/steam cd /home/steam
  2. Download and extract SteamCMD:

     
    wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar -xvzf steamcmd_linux.tar.gz
  3. Verify the installation:

     
    ./steamcmd.sh

    You should see the SteamCMD console. Type quit to exit the console.

Step 4: Download Necesse Server Files

  1. Log in to SteamCMD:

     
    ./steamcmd.sh login anonymous
  2. Set the installation directory for the Necesse server:

     
    force_install_dir ./necese_server
  3. Download the Necesse server files:

     
    app_update 1370730 validate

    This will begin downloading the server files to the specified directory. The download may take some time depending on your server’s internet speed.

Step 5: Configure the Necesse Server

After the files are installed, it's time to configure the server.

  1. Navigate to the server directory:

     
    cd /home/steam/necese_server
  2. Edit the server configuration file: Open the server configuration file in a text editor like nano:

     
    nano server_config.json

    Here, you can customize various settings such as:

    • SERVER_NAME: The name of your server.
    • MAX_PLAYERS: The maximum number of players allowed to join the server.
    • SERVER_PASSWORD: (Optional) Set a password for your server.
    • PORT: Set the port the server will run on (default: 25565).

    Save and exit the editor by pressing CTRL + X, then Y to confirm.

Step 6: Open Required Ports

For players to connect to your Necesse server, you'll need to open the necessary ports on your VPS.

  1. Open the necessary ports: The default port for Necesse is 25565. Open this port using the following command:

     
    ufw allow 25565/tcp ufw reload

    This will allow incoming connections to your server.

Step 7: Start the Necesse Server

With everything configured, you can now start your Necesse server.

  1. Start the server in a screen session: Using a screen session will allow your server to run in the background even after you disconnect from SSH.

     
    screen -S necesseserver
  2. Run the server: To start the server, run the following command:

     
    ./NecesseServer.x86_64
  3. Detach from the screen session: After the server is running, you can detach from the screen session by pressing CTRL + A, then D.

  4. Reattach to the screen session: If you need to view the server logs or interact with the server, run:

     
    screen -r necesseserver

Step 8: Connect to Your Server

To join your server from the Necesse game client:

  1. Launch Necesse and navigate to the Multiplayer section.
  2. Use the Direct Connect option and enter the IP address of your server (your-vps-ip:25565).
  3. If you set a password, you will be prompted to enter it.

Step 9: Update Your Server

To keep your server up to date with the latest Necesse updates:

  1. Log in to SteamCMD:

     
    ./steamcmd.sh login anonymous
  2. Check for updates:

     
    force_install_dir ./necese_server app_update 1370730 validate

    This will update your server to the latest version of the game.

Conclusion

Congratulations! You've successfully set up a Necesse dedicated server on AnonVM. By hosting your own server, you gain full control over the game environment, allowing you to customize your world, control player limits, and run a private or public multiplayer experience. Be sure to keep your server up to date and experiment with different configurations to enhance the gaming experience for your community.

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

Powered by WHMCompleteSolution