Welcome to the ultimate setup guide for running a Minecraft server on your Proxmox host, whether using a Virtual Machine (VM) or a Lightweight Container (LXC). This project provides fully automated scripts, performance tuning, and a modular approach to simplify your server deployment.
If this guide was helpful or saved you time, consider supporting its development by using the affiliate link below:
⛏️ NiPoGi AK1PLUS Mini PC – Intel Alder Lake‑N N100
Your support helps keep this project active and free to use — at no extra cost to you. Thank you for contributing! 🙌
✅ Automated setup for Minecraft Java & Bedrock servers ✅ Runs on both VMs and LXC containers in Proxmox ✅ Performance-tuned (RAM allocation, CPU priority) ✅ Easy customization (worlds, mods, plugins) ✅ Integrated troubleshooting and update instructions
-
Open the Proxmox web interface → Click “Create VM”
-
General Settings:
- Name:
Minecraft-Server
- Name:
-
OS Selection:
- Choose Ubuntu 24.04 LTS (recommended) or Debian 11/12 (requires Java fallback)
-
System Configuration:
- BIOS: OVMF (UEFI) or SeaBIOS
- Machine: q35 (recommended)
-
Disk & Storage:
- At least 20 GB (more for large worlds)
-
CPU & RAM:
- CPU: 2–4 vCPUs
- RAM: 4–8 GB
-
Network:
- Model: VirtIO
- Enable the QEMU Guest Agent
apt update && apt upgrade -y
apt install -y curl wget nano screen unzip git
On Ubuntu 24.04, Java 21 is installed. On Debian 11/12, the script gracefully falls back to Java 17.
wget https://raw.githubusercontent.com/TimInTech/minecraft-server-Proxmox/main/setup_minecraft.sh
chmod +x setup_minecraft.sh
./setup_minecraft.sh
-
In the Proxmox interface → Click “Create CT”
-
General Settings:
- Name:
Minecraft-LXC
- Set a root password
- Name:
-
Template:
- Recommended: Ubuntu 24.04 LTS
-
Resources:
- CPU: 2–4 vCPUs
- RAM: 4–8 GB
- Disk: 10–20 GB
-
Network:
- Bridge:
vmbr0
- Bridge:
-
Advanced Settings:
- Enable Nesting
- Optionally disable Unprivileged Container
apt update && apt upgrade -y
apt install -y curl wget nano screen unzip git
wget https://raw.githubusercontent.com/TimInTech/minecraft-server-Proxmox/main/setup_minecraft_lxc.sh
chmod +x setup_minecraft_lxc.sh
./setup_minecraft_lxc.sh
Yes. After setup, switch to the minecraft
user to run the server securely.
sudo -u minecraft screen -r
If needed:
sudo -u minecraft screen -ls
sudo -u minecraft bash /opt/minecraft/start.sh
Java Edition:
cd /opt/minecraft
sudo -u minecraft ./update.sh
Bedrock Edition:
Manual update needed – download .zip
from Mojang and replace the existing one.
Looking for admin tips, console commands, and how to OP players?
👉 📘 Minecraft Server Control – Commands & Admin Guide (LXC/VM)
Includes:
- Start/stop/update routines for Java & Bedrock
start.sh
RAM tuning examplesscreen
command usage- Admin OP handling +
ops.json
- Command block tricks
- Bedrock-specific quirks
apt install -y openjdk-21-jre-headless
systemctl restart minecraft
cd /opt/minecraft
nano start.sh
Paste:
#!/bin/bash
java -Xms2G -Xmx4G -jar server.jar nogui
Then:
chmod +x start.sh
./start.sh
ufw allow 25565/tcp
ufw allow 25565/tcp6
ufw enable
Have a suggestion or want to report a bug?
- 🐞 Open an Issue
- ⚙️ Submit a Pull Request
💎 Happy crafting and thanks for supporting open source! 🎮