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.
- Visit AnonVM’s website and review VPS plans.
- Select a plan with sufficient RAM and CPU power for Minecraft.
- 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.
- Open a terminal (or PuTTY if on Windows).
- Connect to the VPS with:
ssh username@your-server-ip
- 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.
- Update your system:
sudo apt update && sudo apt upgrade -y
- Install Java (Minecraft works best with Java 17 or higher):
sudo apt install openjdk-17-jdk -y
- Verify the Java installation:
java -version
Step 4: Create a Dedicated Directory for Minecraft
Organize your server files by creating a dedicated directory.
- 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.
-
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.) -
Once downloaded, agree to the EULA:
echo "eula=true" > eula.txt
Step 6: Start the Minecraft Server
- Start the server with
screen
to keep it running in the background:screen -S minecraft_server
- Run the server:
java -Xmx2G -Xms2G -jar server.jar nogui
- Replace
2G
with the amount of RAM you wish to allocate.
- Replace
- To keep the server running, detach from the screen session by pressing
Ctrl + A
, thenD
.
Step 7: Configure Your Minecraft Server
Customize the server settings for gameplay experience.
- Edit the server.properties file to modify game settings:
nano server.properties
- Set options like
level-name
,max-players
,pvp
, anddifficulty
. - Save and close with
Ctrl + X
, thenY
.
Step 8: Connect to Your Minecraft Server
Once your server is running, connect to it in-game.
- Open Minecraft on your computer.
- Go to Multiplayer > Direct Connect.
- 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.
- Create a service file:
sudo nano /etc/systemd/system/minecraft.service
- 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
- Save and close the file (
Ctrl + X
, thenY
to confirm). - 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.