How to Set Up a Minecraft Server on AnonVM – Complete Installation Guide

How to Set Up a Minecraft Server on AnonVM – Complete Installation Guide

Minecraft is a beloved sandbox game where players can build, explore, and survive in infinite worlds. Running a dedicated Minecraft server on AnonVM gives you complete control, customizable settings, and a secure, high-performance environment for smooth multiplayer gameplay.


Why Use AnonVM for Your Minecraft Server?

AnonVM’s offshore VPS hosting offers a stable, secure environment ideal for hosting Minecraft servers. With low latency, high performance, and consistent uptime, AnonVM ensures your server stays online, providing an optimal experience for you and your players.


Step 1: Choose the Right AnonVM VPS Plan

Minecraft can be resource-intensive, especially if you plan to use mods or have multiple players. Choose a VPS with at least 2GB of RAM for small servers, or 4GB+ for larger ones.

  1. Visit AnonVM’s website and review VPS plans.
  2. Select a plan with sufficient RAM and CPU power for Minecraft.
  3. Complete the setup and keep your login details handy.

Step 2: Connect to Your VPS via SSH

Once your VPS is ready, connect to it to start the server setup.

  1. Open a terminal (or PuTTY if on Windows).
  2. Connect to the VPS with:
     
    ssh username@your-server-ip
  3. Enter your password to access the server.

Step 3: Update Your System and Install Java

Minecraft requires Java to run. Make sure your VPS is up-to-date and install Java.

  1. Update your system:
     
    sudo apt update && sudo apt upgrade -y
  2. Install Java (Minecraft works best with Java 17 or higher):
     
    sudo apt install openjdk-17-jdk -y
  3. Verify the Java installation:
     
    java -version
    Ensure it shows Java 17 or higher.

Step 4: Create a Dedicated Directory for Minecraft

Organize your server files by creating a dedicated directory.

  1. Make a new directory for Minecraft:
     
    mkdir ~/minecraft_server && cd ~/minecraft_server

Step 5: Download the Minecraft Server Software

You can download the official Minecraft server .jar file from Minecraft’s website.

  1. In your Minecraft directory, download the server file:

     
    wget https://launcher.mojang.com/v1/objects/<file-path>/server.jar

    (Replace <file-path> with the specific path for the latest version from Minecraft’s site.)

  2. Once downloaded, agree to the EULA:

     
    echo "eula=true" > eula.txt

Step 6: Start the Minecraft Server

  1. Start the server with screen to keep it running in the background:
     
    screen -S minecraft_server
  2. Run the server:
     
    java -Xmx2G -Xms2G -jar server.jar nogui
    • Replace 2G with the amount of RAM you wish to allocate.
  3. To keep the server running, detach from the screen session by pressing Ctrl + A, then D.

Step 7: Configure Your Minecraft Server

Customize the server settings for gameplay experience.

  1. Edit the server.properties file to modify game settings:
     
    nano server.properties
  2. Set options like level-name, max-players, pvp, and difficulty.
  3. Save and close with Ctrl + X, then Y.

Step 8: Connect to Your Minecraft Server

Once your server is running, connect to it in-game.

  1. Open Minecraft on your computer.
  2. Go to Multiplayer > Direct Connect.
  3. Enter your server’s IP address and click Join Server.

Optional: Set Up as a System Service

To make sure the server starts automatically, set it up as a system service.

  1. Create a service file:
     
    sudo nano /etc/systemd/system/minecraft.service
  2. Add the following configuration:
     
    [Unit] Description=Minecraft Server After=network.target [Service] Type=simple User=youruser ExecStart=/usr/bin/java -Xmx2G -Xms2G -jar /home/youruser/minecraft_server/server.jar nogui WorkingDirectory=/home/youruser/minecraft_server Restart=on-failure [Install] WantedBy=multi-user.target
  3. Save and close the file (Ctrl + X, then Y to confirm).
  4. Enable and start the service:
     
    sudo systemctl enable minecraft sudo systemctl start minecraft

Conclusion

Running a Minecraft server on AnonVM lets you create a secure, private world for friends or a larger community. With AnonVM’s offshore VPS, enjoy high performance, privacy, and control for an excellent Minecraft experience.

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

Powered by WHMCompleteSolution