Project 03 · The Build Log

Host Your Own Minecraft Server on a Pi 5

Intermediate ~45 min ~$70 in extras, est.

Host Your Own Minecraft Server on a Raspberry Pi 5

Disclosure: As an Amazon Associate I earn from qualifying purchases.

Minecraft hosting sites want $5–15 a month, forever, for a server that sleeps when you do. A Pi 5 you already own runs a small Java server for you and your friends around the clock for the cost of the electricity — roughly a dollar a month. This guide sets it up properly: fast storage, sane settings, safe access, and backups.

Get the full kit → jumps to the parts list. You’ll want the Project 00 Pi 5 (8GB) for this one — the 8GB of RAM is the whole reason it works.

What You’ll Need

The Pi itself comes from Project 00. The extras below are about storage and cooling — the two things that decide whether this server feels great or feels like soup. Prices are estimates checked in October 2026.

Total: ~$70 est. in extras, then $0/month — against $60–180 a year for rented hosting.

Step 1 — Prep the Pi (10 Minutes)

Flash Raspberry Pi OS Lite (64-bit) with Imager, enable SSH in the gear settings, and boot it wired to your router. Update everything (sudo apt update && sudo apt full-upgrade), then plug in the SSD and format/mount it as the folder your server will live in (for example /srv/minecraft). Add the mount to /etc/fstab by UUID so the drive comes back on its own after a reboot — a server that needs a human after every power flicker isn’t a server, it’s a chore.

Step 2 — Install Java and Paper (10 Minutes)

Minecraft Java servers run on Java (shocking, we know): sudo apt install openjdk-21-jre-headless. Then download Paper from papermc.io. Paper is a free, drop-in replacement for the standard server software that keeps the game identical but runs dramatically more efficiently — on a Pi it is not optional, it’s the difference between smooth and slideshow. Put the Paper jar in your server folder.

First launch (java -Xmx6G -jar paper.jar nogui, adjusting the filename) generates the configuration files and stops at the license step: open eula.txt, change eula=false to eula=true (you’re agreeing to Mojang’s EULA — actually read it someday, it’s short), and launch again. Your world generates. That’s a running server.

Step 3 — Tune It for a Pi (5 Minutes, Do Not Skip)

Paper on a Pi 5 8GB is a genuinely good small server if you set honest limits in server.properties:

Run it as a proper service so it starts on boot and restarts if it crashes: a tiny systemd unit pointing at your launch command is ten lines and the last time you’ll think about starting it by hand. Plenty of the lag people blame on “the Pi” is an untuned default server — don’t be that statistic.

Step 4 — Let Friends In, Safely (10 Minutes)

On your own network, players just connect to the Pi’s IP address. For friends outside your house, you have three options, in the order a security engineer would rank them:

  1. A private tunnel (safest): a free tunneling service made for this (like playit.gg) or a mesh VPN like Tailscale gives each friend a private path in. Nobody else on the internet can even see your server. Best choice for a small known group.
  2. Port forwarding (the classic way): forward port 25565 on your router to the Pi. It works with zero extra software, but it publishes a door on your home internet — so pair it with the in-game whitelist (whitelist on, add each friend’s exact username). Whitelist on + only that port forwarded = a reasonable, standard setup.
  3. What never to do: put the Pi in your router’s “DMZ”, or forward a range of ports “to be safe.” One port, one purpose.

Either way, give the Pi a fixed address (DHCP reservation, same trick as Project 02) so the door and the server stay connected.

Step 5 — Backups, Because Worlds Are Memories (5 Minutes)

A Minecraft world after six months isn’t data, it’s a place your friends built together. Losing it to a dead card is the classic Pi-server heartbreak — which the SSD already makes unlikely — and a five-line cron job makes it nearly impossible: every night, stop-free backup by zipping the world folder to a second location (a USB stick, your NAS, anywhere that isn’t the same drive), keeping the last seven. Set it once, then go look: the first time you see seven dated backups lined up, you’ll understand why every boring adult in IT nags about this.

What NOT to Buy

The Total, Honestly

Build It This Weekend

SSD plugged into your Project 00 Pi 5, OS Lite flashed, Paper downloaded, view distance tuned, whitelist on, tunnel or single port for friends, nightly backup cron. Forty-five minutes to a world that’s open whenever your friends are.

Next in the series: we leave the house network and look up — Project 10, the ISS tracker, a desk display that lights up every time the space station passes over your house. And if your server Pi still has spare evenings, Project 01 is the other life a second SD card buys it.