Mojang published Minecraft Java 26.4 Pre-Release 3 on 1 December 2026. If your group wants to explore Deep Freeze, give it a copy of your world. Keep the main server on the stable Java Edition release your friends play. You can use the same setup below for a new survival world or a private update rehearsal. Deep Freeze pre-release notes
Choose a VPS for your Minecraft world
This guide uses a fresh Ubuntu Server 26.04 LTS VPS with SSH access, sudo privileges and the official vanilla Java Edition server. Players need Java Edition clients on the matching game version. Pick a region near your regular players. For example, if most of the group plays from New Zealand, try Auckland before choosing a host on the other side of the Pacific.
| Resource | Starting point | When to adjust |
|---|---|---|
| CPU | 2–4 vCPUs for a small vanilla world. | If ticks slow while players travel, try lowering simulation and view distances. Persistent contention can justify dedicated CPU capacity. |
| Memory | 4 GB of VM RAM with a 2 GB maximum Java heap. | Leave headroom for native JVM memory and Ubuntu. Increase the heap only when measurements justify it. |
| Disk | SSD space for the world, game files and a local backup. | Exploring new areas grows the world. Check its actual size before keeping several generations on the same disk. |
Install Java 25 and the official Minecraft server
Sign in with your sudo account. Minecraft Java Edition has required Java 25 since 26.1. Install Ubuntu’s headless runtime and check that the java executable reports version 25. If several runtimes are installed, use sudo update-alternatives --config java on this dedicated VM to select it. Minecraft 26.1 technical changes · Ubuntu Java 25 package
sudo apt update
sudo apt install openjdk-25-jre-headless curl nano
java -version
sudo useradd --system --user-group --home-dir /srv/minecraft --shell /usr/sbin/nologin minecraft
sudo install -d -m 0750 -o minecraft -g minecraft /srv/minecraft
Read the Minecraft EULA and choose the stable Java server JAR linked by Mojang for the version you want to play. Copy the direct download URL, then run the commands below from your sudo account. The prompt expects the link to the JAR file. The final command opens a shell as the service user. Official Minecraft Java server download · Minecraft EULA
read -r -p 'Official Minecraft server JAR URL: ' jar_url
curl --fail --location --remove-on-error --proto '=https' --output minecraft-server.jar "$jar_url" &&
sudo install -D -m 0644 minecraft-server.jar /opt/minecraft/server.jar &&
sudo -u minecraft -H bash
In that shell, create settings for the fresh world. The first start listens on the loopback address so you can finish the invitations privately. The account can write world data under /srv/minecraft. Its server program lives separately under /opt/minecraft.
cd /srv/minecraft
cat > server.properties <<'EOF'
server-ip=127.0.0.1
server-port=25565
online-mode=true
white-list=true
enforce-whitelist=true
enable-rcon=false
EOF
If you agree to Mojang’s EULA, record your acceptance and start the server in the foreground. Wait for the server to finish loading the world before entering commands. The first start can take longer while the server fetches its libraries.
printf 'eula=true\n' > eula.txt
java -Xms1G -Xmx2G -jar /opt/minecraft/server.jar nogui
Add friends to the allowlist before opening the port
Type the following into the running Minecraft console. Replace YourJavaName with the exact Java profile name and repeat the add command for each player. The first command enables the list if needed. The final command saves the world and shuts it down. Wait until you return to the Linux shell. Mojang’s allowlist default in 26.3
whitelist on
whitelist add YourJavaName
whitelist list
stop
As the service user, edit server.properties with nano server.properties. Clear the loopback address so the line reads server-ip=. Keep white-list=true and online-mode=true. Save the file, then enter exit to return to your sudo account.
Keep the server running after you leave SSH
Create /etc/systemd/system/minecraft.service with sudoedit /etc/systemd/system/minecraft.service and paste this unit. The working directory matters. Starting the JAR in a different directory can create an empty world and make your existing one appear lost.
[Unit]
Description=Minecraft Java Edition server
After=network-online.target
Wants=network-online.target
[Service]
User=minecraft
Group=minecraft
WorkingDirectory=/srv/minecraft
ExecStart=/usr/bin/java -Xms1G -Xmx2G -jar /opt/minecraft/server.jar nogui
Restart=on-failure
RestartSec=10
TimeoutStopSec=180
SuccessExitStatus=143
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
Load the unit, start it and check both the log and the listening socket.
sudo systemctl daemon-reload
sudo systemctl enable --now minecraft
sudo journalctl -u minecraft -n 50 --no-pager
sudo ss -ltnp 'sport = :25565'
Allow inbound TCP 25565 on the VPS and in any provider firewall. If Ubuntu’s UFW is already active, use sudo ufw allow 25565/tcp. Before enabling UFW on a fresh remote host, allow your actual SSH port and confirm you have console access. Leave game management ports closed. From Minecraft Java Edition choose Multiplayer → Add Server and enter the VPS address or its DNS name. Ubuntu firewall guide
For later invitations, pause the systemd service during a short maintenance window, start the same foreground command from /srv/minecraft as the service user, update the list, then type stop and restart the service. Keep a single process in charge of each world.
Back up the whole server and test a restore
Announce a short maintenance window. Stop the service and check the journal for completed world saves and a clean shutdown. Investigate any timeout or forced termination before treating the copy as a recovery point. Give larger worlds more shutdown time in the unit if needed.
sudo systemctl stop minecraft
sudo journalctl -u minecraft -n 40 --no-pager
Once the server has stopped cleanly, archive its entire working directory, exact JAR and service definition. Keep the archive private because it contains player data and server settings. Check available disk space before starting.
sudo install -d -m 0700 /var/backups/minecraft
backup="/var/backups/minecraft/server-$(date -u +%Y%m%dT%H%M%SZ).tar.gz"
sudo tar -C / -czf "$backup" srv/minecraft opt/minecraft/server.jar etc/systemd/system/minecraft.service
sudo tar -tzf "$backup" > /dev/null
sudo systemctl start minecraft
In 26.1, the default dimensions moved under world/dimensions/minecraft/, and player inventory, advancement and statistics files moved under world/players/. Copy the full world, including level.dat. Old instructions that copy only region/ or playerdata/ can miss the builds or player state you need. Mojang’s world storage changes
Send a copy to independent storage and periodically restore it on a fresh test VM. Install Java 25, create the service account, unpack the archive, give that account ownership of the restored working directory and bind the test server to loopback. Launch it with the saved JAR and check a known build, player inventory and another dimension. A readable archive alone cannot tell you whether those survived.
Rehearse the Deep Freeze update on a copy
- Start with a successful restore. Use a separate test VM and its own local
minecraftaccount. Keep production storage, backup credentials and writable network mounts off the test machine. - Try the pre-release JAR. Get the cross-platform server JAR from the official 26.4 pre-release announcement. Install it only on the test VM and launch it against the restored copy. Set
server-ip=127.0.0.1and keep the game port private. - Join with a matching test client. Create a separate Launcher installation for that pre-release. From your own computer, forward a local port through SSH to the test VM and connect the test client to
localhost:25566.
ssh -N -L 25566:127.0.0.1:25565 your-admin@test-vps
Visit an existing build, check player items and test any data packs. Stop and restart the copy to verify that changes survive. Keep its upgraded save separate from the stable world. If a production upgrade later fails, restore the matching pre-upgrade world and JAR together. Mojang’s pre-release download and testing advice
Minecraft VPS hosting FAQ
Why does my friend get a whitelist error?
Check the exact Java profile name with whitelist list in the server console. Add the account with whitelist add, then ask them to reconnect using the correct client version. Keep online authentication enabled.
Which port does a Minecraft Java server use?
The default game port is TCP 25565. If the service listens on loopback, external clients cannot connect even with an open firewall. Check the bind address, the listening socket, the guest firewall and the provider’s rules.
Can I use this server with Bedrock Edition?
This procedure installs Mojang’s Java Edition server. Bedrock clients use a different protocol and have their own dedicated server software. Check which edition your group plays before provisioning.

