Quick answer
How do I host a Minecraft server on a dedicated server?
Install Java 25, download server.jar from minecraft.net into a folder owned by a minecraft user, run it once, set eula=true, then start it under systemd with -Xms and -Xmx memory flags and open TCP port 25565. A CryptoDedicated Ryzen 9700X with 64 GB of DDR5 runs several worlds for $154.54 per 30 days, paid in Monero or USDT.
In brief
- Java version: Minecraft 1.20.5 and later needs Java 21, and 26.1 and later needs Java 25, per the Minecraft Wiki.
- Clock speed beats core count: the main game loop runs on one thread, so a fast Zen 5 core matters most.
- Memory: set -Xms and -Xmx to the same value, a few gigabytes per world; leave the rest to the system cache.
- One port per world: 25565 for the first, 25566 and up for the next, each opened in the firewall.
- Backups: copy the world folder while saving is paused with save-off and save-all.
How much memory should each Minecraft world get?
Memory depends on players, view distance and mods far more than on the server software. These ranges are starting points to adjust with the in-game performance tools.
| World type | Typical -Xmx | Worlds on a Ryzen 9700X (64 GB) | Worlds on a Ryzen 9950X (128 GB) |
|---|---|---|---|
| Vanilla, up to 10 players | 3 to 4 GB | Many; the CPU limits first | Many |
| Paper with plugins, 20 to 50 players | 6 to 8 GB | 4 to 6 | 10 or more |
| Modded pack (Forge or NeoForge) | 8 to 12 GB | 3 to 5 | 8 to 12 |
| Proxy network (Velocity plus backends) | 1 GB proxy, 4 to 8 GB per backend | One small network | One large network |
How do I install the server, step by step?
Install Java 25
Add the Adoptium repository and install temurin-25-jdk, then check java -version.
Create a service user
Add a system user named minecraft with its home in /opt/minecraft, so the game never runs as root.
Download server.jar
Copy the link of the current server jar from minecraft.net/download/server and fetch it into /opt/minecraft/survival.
Accept the EULA
Run the jar once; it stops and writes eula.txt. Change eula=false to eula=true after reading the Minecraft EULA.
Set the basics in server.properties
Choose server-port, max-players, view-distance and white-list=true for a private server.
Run it under systemd
A unit with Restart=on-failure starts the world at boot and brings it back after a crash.
Open the port
Allow TCP 25565 in nftables, then connect from the game with the server's IP address.
apt install -y wget apt-transport-https gpg
wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
apt update && apt install -y temurin-25-jdk
java -version
useradd --system --create-home --home-dir /opt/minecraft minecraft
sudo -u minecraft mkdir -p /opt/minecraft/survival && cd /opt/minecraft/survival
sudo -u minecraft wget -O server.jar 'URL_COPIED_FROM_MINECRAFT_NET'
sudo -u minecraft java -jar server.jar --nogui # creates eula.txt, then stops
sudo -u minecraft sed -i 's/eula=false/eula=true/' eula.txt
cat > /etc/systemd/system/[email protected] <<'EOF'
[Unit]
Description=Minecraft world %i
After=network-online.target
[Service]
User=minecraft
WorkingDirectory=/opt/minecraft/%i
ExecStart=/usr/bin/java -Xms6G -Xmx6G -jar server.jar --nogui
Restart=on-failure
SuccessExitStatus=0 1 143
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload && systemctl enable --now minecraft@survival
journalctl -u minecraft@survival -fWhy does a Minecraft server want a high-clock CPU?
Each world simulates its ticks on one main thread, 20 times a second, so the speed of a single core decides when lag starts. Extra cores help with chunk generation, networking and running several worlds side by side, not with one crowded world.
That is why the Ryzen 9700X, built on Zen 5 in 2024, is the usual game pick, and the Ryzen 9950X when one box hosts a whole network. Compare their single-thread results yourself with the benchmark guide. Machine choices for other games are on the game server hosting page.
Should I run vanilla, Paper or a modded server?
Vanilla for a pure experience, Paper for plugins and better performance, a modded loader only when the pack requires it.
- Vanilla: the jar from minecraft.net, exactly as Mojang ships it.
- Paper: a high-performance fork with a plugin API; download from papermc.io and run it the same way.
- Fabric, Forge or NeoForge: needed for mod packs; follow the installer of the pack, which writes its own start script.
The systemd unit above runs any of them; change the ExecStart line to the jar or script the loader created. Multiple worlds become minecraft@creative, minecraft@modded and so on, each in its own folder.
How do I back up the worlds without corrupting them?
Pause saving, flush the world to disk, copy it, then resume. The server console accepts save-off and save-all flush; a tool such as mcrcon sends them over RCON from a script. After the copy, save-on restores normal saving.
Copy the folder with restic to storage outside the machine, as described in how to back up a dedicated server with restic. According to CryptoDedicated's survey of 30 October 2026, the median entry-level dedicated server cost $245.00 a month across 17 crypto-friendly sellers; a world backup costs little next to that.
Frequently asked questions
Can Bedrock Edition players join?
Not a Java server directly. Run the Bedrock Dedicated Server from minecraft.net on UDP 19132, or add the Geyser plugin to a Paper server.
Can a Windows Minecraft server run on CryptoDedicated?
No. Only Linux systems are offered. The Java server runs the same on Linux, usually with less memory overhead.
Does the server need DDoS protection?
Large public servers attract floods. CryptoDedicated sells no separate DDoS product; the datacenter's default filtering applies, so popular public networks often add a filtering proxy service.
How do I update the server?
Stop the service, back up the world, replace server.jar with the new version and start again. Check that the Java version still matches the release.
Verdict
- CryptoDedicated is the better pick for a private or community Minecraft server paid in crypto: the Ryzen 9700X gives fast Zen 5 cores and 64 GB for $154.54.
- Pick a managed game host if a web panel and one-click mod packs matter more than root access.
- Java 25, a systemd template unit and nightly restic copies cover the whole setup.
Sources (4)
- Tutorial: Setting up a Java Edition server — Minecraft Wiki (read 2026-11-30)
- Minecraft server download — Mojang Studios (read 2026-11-30)
- Installation on Linux (Temurin) — Eclipse Adoptium (read 2026-11-30)
- Paper documentation — PaperMC (read 2026-11-30)
A Minecraft server on Zen 5 cores
Ryzen 9700X, 8 cores / 16 threads, 64 GB DDR5: $154.54 per 30 days of play, paid in XMR, BTC or USDT.
- Sold by CryptoDedicated LLC, New Mexico, USA
- Machine ready within 1 hour of confirmation
- No KYC, no email required
- Downtime credited back to the balance
Read next
- Game server hostingGame server hosting on a dedicated Ryzen 9700X: 8 Zen 5 cores, 64 GB DDR5, 1 Gbit/s, for $154.54 per 30 days in Monero or USDT.
- Ryzen dedicated serverRyzen dedicated server paid in crypto: Ryzen 5 5600, 7 9700X or 9 9950X from $83.69 per 30 days. DDR5, NVMe RAID 1, Monero accepted, no KYC.
- nftables firewallSet up an nftables firewall on a dedicated server: default drop, SSH rate limit, ICMPv6, a 5-minute rollback timer. Machines from $83.69.
- Back up with resticBack up a dedicated server with restic over SFTP: repository, excludes, database dumps via stdin, retention, restore test. Servers from $83.69.