Launch offer: -50% for your first 3 months with code LANCEMENT — new customers, VPS, first 50 orders, until 31 Dec 2026. See the VPS plans →
FranceHosta RootLab service
Please note: ordering, the customer area and our terms are currently available in French only.
Practical guide

Minecraft server hosting on a VPS

A Minecraft Java server to play with friends, always on without leaving your PC running. This guide installs Paper on a Debian or Ubuntu VPS, makes it start by itself and tells you honestly how far our servers can go.

What a FranceHost VPS can handle

Minecraft does most of its work on a single CPU core. Our VPS plans run on refurbished servers fitted with 2011 Xeon processors: each core is noticeably slower than a recent CPU. That is perfectly fine for a survival server with friends, much less so for a public server or a big modpack.

  • VPS Plus (2 vCores, 4 GB): 2 to 4 players in survival, no mods.
  • VPS Pro (4 vCores, 8 GB): the right choice for a group of friends, up to about ten players with a few plugins.
  • VPS Max (6 vCores, 16 GB): more memory for a heavily explored world or several servers, but not a faster core.

Choose Paper rather than the official server: it is compatible with vanilla clients and much lighter on the CPU. A KVM or LXC VPS will do; Java does not need any particular kernel feature.

Your players need IPv6

Our VPS plans only have an IPv6 address. Minecraft Java Edition can connect over IPv6 with no setup, but every player needs a compatible connection. That is the default with Free, Orange, SFR and Bouygues (French ISPs) and on most mobile plans; elsewhere it varies by provider. Ask your players to check on test-ipv6.com before you order.

What about players without IPv6? The Cloudflare trick in our IPv6 guide only works for websites, not for Minecraft. A player without IPv6 will not be able to connect directly. It would take a TCP relay installed on a machine that has an IPv4 address, which we do not provide.

On the server side, some download sites have no IPv6. First set up a NAT64/DNS64 service as explained in the GitHub over IPv6 guide: downloads of Paper, Java and plugins will then work without a hitch.

1. Install Java

Connect over SSH (see the IPv6 VPS guide) and update the system:

apt update && apt upgrade -y
apt install -y openjdk-21-jre-headless jq curl
java -version

Each Minecraft version requires a minimum Java version: Java 21 for versions 1.20.5 to 1.21.x, a newer one for later versions. Check the Paper documentation before installing, and take the openjdk-25-jre-headless package or the Eclipse Temurin packages if your distribution offers them and the Minecraft version requires it.

2. Create the user and download Paper

The server must not run as root. Create a user and a folder for it:

adduser --system --group --home /srv/minecraft minecraft
cd /srv/minecraft

Download the latest stable Paper build for the Minecraft version you want, using the official API (replace the version and the contact address, which PaperMC asks for in the User-Agent):

VERSION="1.21.10"
URL=$(curl -s -H "User-Agent: my-server/1.0 (you@example.com)" \
  https://fill.papermc.io/v3/projects/paper/versions/$VERSION/builds \
  | jq -r 'first(.[] | select(.channel == "STABLE") | .downloads."server:default".url)')
sudo -u minecraft curl -o paper.jar "$URL"

If the command prints null, there is no stable build yet for that Minecraft version: choose another one.

3. First start and settings

Start the server once so that it creates its files, then accept Mojang's EULA:

sudo -u minecraft java -jar paper.jar --nogui
sudo -u minecraft sed -i 's/eula=false/eula=true/' eula.txt

Then open server.properties. On our processors, reducing the simulation distance makes the biggest difference:

view-distance=8
simulation-distance=6
max-players=10
white-list=true

The whitelist reserves the server for your friends: add them later with the whitelist add username command in the console.

4. Keep it online with systemd

Create /etc/systemd/system/minecraft.service. Set the memory (-Xms and -Xmx) to about 75% of your VPS's RAM: 6G on a VPS Pro, 3G on a VPS Plus.

[Unit]
Description=Minecraft server (Paper)
After=network-online.target
Wants=network-online.target

[Service]
User=minecraft
WorkingDirectory=/srv/minecraft
ExecStart=/usr/bin/java -Xms6G -Xmx6G -XX:+UseG1GC -jar paper.jar --nogui
Restart=on-failure
RestartSec=10
TimeoutStopSec=120

[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable --now minecraft
journalctl -u minecraft -f

When the log shows "Done", the server is ready. When stopping, systemd gives it two minutes to save the world cleanly.

5. Connect

If a firewall is active on the VPS, open TCP port 25565 over IPv6. In Minecraft, add the server with its address in square brackets, for example [2001:db8::10]. Easier for your friends: create an AAAA record such as mc.example.com pointing to the VPS's address, and give them that name.

Back up your world

The snapshots in the customer area are stored on the same server as your VPS (see our limits). For a world you care about, regularly copy the /srv/minecraft/world* folder to another machine, for example with rsync from your computer.

Frequently asked questions

How many players can a FranceHost VPS host?

With Paper on a VPS Pro (4 vCores, 8 GB), about ten players in survival with a few plugins. Our processors date from 2011 and Minecraft mostly depends on the speed of a single core: for a public server or dozens of players, a recent processor will be a better fit.

Can I install mods (Forge, Fabric, NeoForge)?

Yes, the Java server works the same way. But big modpacks demand a lot of CPU and memory: on our servers, stick to a few lightweight mods and plan for the VPS Pro or the VPS Max.

Will my friends without IPv6 be able to connect?

No, not directly: our VPS plans only have an IPv6 address, and the Cloudflare trick only works for websites. Check each player's connection on test-ipv6.com before ordering. Most French home routers and mobile plans have IPv6. See the IPv6 VPS guide.

What about Minecraft Bedrock (consoles, mobile)?

This guide covers the Java edition. The official Bedrock server also runs on Linux and can listen on IPv6, but consoles do not always let you add a custom server, let alone over IPv6. Test with your devices before committing.

A server to play with friends

VPS Pro: 4 vCores, 8 GB of ECC RAM, 60 GB SSD, hosted in France by a nonprofit.