How to Set Up an Eco Dedicated Server on AnonVM Hosting

Eco is a survival simulation game where players work together to build a civilization, manage resources, and solve environmental problems. Hosting your own Eco server allows you to customize your gameplay experience, invite friends or other players to join, and control the server’s rules and economy. This guide will walk you through the steps to install and configure a dedicated Eco server on your AnonVM VPS.

Prerequisites

Before beginning the installation, make sure you have:

  • A VPS from AnonVM with at least 4 GB of RAM and 2 CPU cores, with 10 GB of storage.
  • SSH access to your VPS.
  • Basic knowledge of Linux commands.
  • SteamCMD installed on your server (refer to our earlier guides if you need help with this).

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 your actual VPS IP address. Enter your password when prompted.

Step 2: Install Required Dependencies

Before we begin the installation, let's update the system and install any dependencies.

  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 dependencies will ensure your server runs smoothly.

Step 3: Install SteamCMD

SteamCMD is the tool used to download and update Eco server files. If you have SteamCMD already installed, skip this step.

  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

    This will launch SteamCMD. Type quit to exit when done.

Step 4: Download the Eco Server Files

Now that SteamCMD is set up, let's use it to download the Eco server files.

  1. Log in to SteamCMD:

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

     
    force_install_dir ./eco_server
  3. Download the Eco server files:

     
    app_update 506440 validate

    This command will download the Eco server to the specified directory. The download may take a few minutes, depending on your connection.

Step 5: Configure the Eco Server

Once the server files are downloaded, you need to configure the server settings to your preference.

  1. Navigate to the server directory:

     
    cd /home/steam/eco_server
  2. Edit the server configuration: Open the EcoServer.exe settings or the serverconfig.json file for configuration:

     
    nano serverconfig.json

    Key settings you may want to adjust:

    • SERVER_NAME: The name of your server.
    • SERVER_PASSWORD: Set a password for the server (if desired).
    • MAX_PLAYERS: Adjust the maximum number of players allowed on the server.
    • WORLD_NAME: Name your world.
    • Port: Ensure the port (default: 3000) is open for incoming connections.

    Save and close the file (CTRL+X, then press Y to confirm).

Step 6: Open Required Ports

To allow players to connect to your Eco server, you need to open the necessary ports.

  1. Open the default port (3000):

     
    ufw allow 3000/tcp ufw reload

    This command will open port 3000, which is used by the Eco server.

Step 7: Start the Eco Server

With the server configured and the ports open, it's time to start your Eco server.

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

     
    screen -S ecoserver
  2. Run the server: Start the server by running the following command:

     
    mono EcoServer.exe

    This will start the Eco server. You should see output indicating that the server is up and running.

  3. Detach from the screen session: To detach from the session, press CTRL + A, then D. This keeps the server running in the background.

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

     
    screen -r ecoserver

Step 8: Connect to Your Server

To join your Eco server from the game client:

  1. Launch Eco and go to the Multiplayer section.
  2. Use the Direct Connect option and enter your VPS IP and port (e.g., your-vps-ip:3000).
  3. If you set a password for the server, you will be prompted to enter it.

Step 9: Update Your Server

To keep your Eco server up to date, follow these steps:

  1. Log in to SteamCMD:

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

     
    force_install_dir ./eco_server app_update 506440 validate

This command will check for and apply any available updates to the server.

Conclusion

Congratulations! You’ve successfully set up your own Eco dedicated server on AnonVM. With your server now running, you can invite friends or other players to join your world. Customize the gameplay and environment to your liking, and enjoy the experience of managing a civilization while maintaining the planet's balance.

Make sure to periodically check for updates and maintain server performance to ensure a smooth experience for all players.

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

Powered by WHMCompleteSolution