Update README.md
This commit is contained in:
parent
2f5d696a1f
commit
502266eb67
1 changed files with 28 additions and 33 deletions
61
README.md
61
README.md
|
|
@ -1,4 +1,4 @@
|
||||||
# 🧱️ **Minecraft Server on Proxmox** 🌍
|
# 🧱️ Minecraft Server on Proxmox 🌍
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
@ -6,7 +6,7 @@ This repository provides a guide and automated scripts to set up a **Minecraft s
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🔗 **Support This Project** 💎
|
## 🔗 Support This Project 💎
|
||||||
|
|
||||||
If you find this guide helpful, consider purchasing through this affiliate link:
|
If you find this guide helpful, consider purchasing through this affiliate link:
|
||||||
**⛏️ [NiPoGi AK1PLUS Mini PC – Intel Alder Lake-N N100](https://amzn.to/3FvH4GX)**
|
**⛏️ [NiPoGi AK1PLUS Mini PC – Intel Alder Lake-N N100](https://amzn.to/3FvH4GX)**
|
||||||
|
|
@ -14,19 +14,19 @@ Using this link supports the project at no additional cost to you. Thank you!
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 📌 **Features** 📜
|
## 📌 Features 📜
|
||||||
|
|
||||||
✅ **Automated installation** of Minecraft Java/Bedrock servers
|
✅ Automated installation of Minecraft Java/Bedrock servers
|
||||||
✅ Works with **Proxmox VM** or **LXC container**
|
✅ Works with Proxmox VM or LXC container
|
||||||
✅ **Performance optimizations** included (RAM allocation, CPU prioritization)
|
✅ Performance optimizations included (RAM allocation, CPU prioritization)
|
||||||
✅ Customizable settings (world generation, plugins, mods)
|
✅ Customizable settings (world generation, plugins, mods)
|
||||||
✅ **Troubleshooting guide included** for common issues
|
✅ Troubleshooting guide included for common issues
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 💎 **Installation Guide (Proxmox VM)** 🖥️
|
## 💎 Installation Guide (Proxmox VM) 🖥️
|
||||||
|
|
||||||
### **1️⃣ Create a Proxmox VM** 💠
|
### 1️⃣ Create a Proxmox VM 💠
|
||||||
|
|
||||||
* Open Proxmox Web Interface → Click on **"Create VM"**
|
* Open Proxmox Web Interface → Click on **"Create VM"**
|
||||||
* **General Settings**:
|
* **General Settings**:
|
||||||
|
|
@ -52,14 +52,14 @@ Using this link supports the project at no additional cost to you. Thank you!
|
||||||
* Model: **VirtIO**
|
* Model: **VirtIO**
|
||||||
* Enable **QEMU Guest Agent** after installation
|
* Enable **QEMU Guest Agent** after installation
|
||||||
|
|
||||||
### **2️⃣ Install Dependencies** ⚙️
|
### 2️⃣ Install Dependencies ⚙️
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt update && apt upgrade -y
|
apt update && apt upgrade -y
|
||||||
apt install -y curl wget nano screen unzip git openjdk-21-jre-headless
|
apt install -y curl wget nano screen unzip git openjdk-21-jre-headless
|
||||||
```
|
```
|
||||||
|
|
||||||
### **3️⃣ Run the Minecraft Server Setup Script** ⛏️
|
### 3️⃣ Run the Minecraft Server Setup Script ⛏️
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/TimInTech/minecraft-server-Proxmox/main/setup_minecraft.sh
|
wget https://raw.githubusercontent.com/TimInTech/minecraft-server-Proxmox/main/setup_minecraft.sh
|
||||||
|
|
@ -69,9 +69,9 @@ chmod +x setup_minecraft.sh
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🛠️ **Installation Guide (Proxmox LXC Container)** 📆
|
## 🛠️ Installation Guide (Proxmox LXC Container) 📆
|
||||||
|
|
||||||
### **1️⃣ Create a Proxmox LXC Container** 🧱️
|
### 1️⃣ Create a Proxmox LXC Container 🧱️
|
||||||
|
|
||||||
* Open Proxmox Web Interface → Click on **"Create CT"**
|
* Open Proxmox Web Interface → Click on **"Create CT"**
|
||||||
* **General Settings**:
|
* **General Settings**:
|
||||||
|
|
@ -98,16 +98,14 @@ chmod +x setup_minecraft.sh
|
||||||
* Enable **"Nesting"** (required for Java & systemd)
|
* Enable **"Nesting"** (required for Java & systemd)
|
||||||
* Disable **"Unprivileged Container"** if needed
|
* Disable **"Unprivileged Container"** if needed
|
||||||
|
|
||||||
### **2️⃣ Install Required Dependencies** ⚒️
|
### 2️⃣ Install Required Dependencies ⚒️
|
||||||
|
|
||||||
Log into the container and install:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt update && apt upgrade -y
|
apt update && apt upgrade -y
|
||||||
apt install -y curl wget nano screen unzip git openjdk-21-jre-headless
|
apt install -y curl wget nano screen unzip git openjdk-21-jre-headless
|
||||||
```
|
```
|
||||||
|
|
||||||
### **3️⃣ Run the LXC Setup Script** 🛠️
|
### 3️⃣ Run the LXC Setup Script 🛠️
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/TimInTech/minecraft-server-Proxmox/main/setup_minecraft_lxc.sh
|
wget https://raw.githubusercontent.com/TimInTech/minecraft-server-Proxmox/main/setup_minecraft_lxc.sh
|
||||||
|
|
@ -125,33 +123,30 @@ Yes – root is only needed during setup (e.g. to create the `minecraft` user).
|
||||||
|
|
||||||
### 🎮 How do I access the Minecraft console?
|
### 🎮 How do I access the Minecraft console?
|
||||||
|
|
||||||
If you're using the default setup, the server runs in a `screen` session under the `minecraft` user:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo -u minecraft screen -r
|
sudo -u minecraft screen -r
|
||||||
```
|
```
|
||||||
|
|
||||||
If needed, list running sessions:
|
If needed:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo -u minecraft screen -ls
|
sudo -u minecraft screen -ls
|
||||||
|
sudo -u minecraft bash /opt/minecraft/start.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 🔄 How do I update the server?
|
### 🔄 How do I update the server?
|
||||||
|
|
||||||
#### Java Edition:
|
#### Java Edition:
|
||||||
|
|
||||||
Use the included `update.sh` script inside `/opt/minecraft/`:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /opt/minecraft
|
cd /opt/minecraft
|
||||||
sudo -u minecraft ./update.sh
|
sudo -u minecraft ./update.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
If it's missing, create it like this:
|
If it's missing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nano /opt/minecraft/update.sh
|
sudo nano /opt/minecraft/update.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Paste:
|
Paste:
|
||||||
|
|
@ -161,10 +156,10 @@ Paste:
|
||||||
wget -O server.jar https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/416/downloads/paper-1.20.4-416.jar
|
wget -O server.jar https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/416/downloads/paper-1.20.4-416.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
Dann:
|
Then:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
chmod +x /opt/minecraft/update.sh
|
sudo chmod +x /opt/minecraft/update.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Bedrock Edition:
|
#### Bedrock Edition:
|
||||||
|
|
@ -173,16 +168,16 @@ Manual update required – download the latest `.zip` from the official site and
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🔍 **Troubleshooting & Solutions** 🚩
|
## 🔍 Troubleshooting & Solutions 🚩
|
||||||
|
|
||||||
### 1️⃣ Java Version Error (Unsupported Class Version)
|
### 1️⃣ Java Version Error
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt install -y openjdk-21-jre-headless
|
apt install -y openjdk-21-jre-headless
|
||||||
systemctl restart minecraft
|
systemctl restart minecraft
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2️⃣ Server Not Starting (`start.sh` missing)
|
### 2️⃣ Missing `start.sh`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /opt/minecraft
|
cd /opt/minecraft
|
||||||
|
|
@ -203,7 +198,7 @@ chmod +x start.sh
|
||||||
./start.sh
|
./start.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3️⃣ Firewall Issues (`ufw` inactive)
|
### 3️⃣ Firewall (UFW) Setup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ufw allow 25565/tcp
|
ufw allow 25565/tcp
|
||||||
|
|
@ -213,9 +208,9 @@ ufw enable
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🤝 **Contribute** 🌟
|
## 🤝 Contribute 🌟
|
||||||
|
|
||||||
* Found a bug? 🦛 **Open an Issue**
|
* Found a bug? 🐛 [Open an Issue](https://github.com/TimInTech/minecraft-server-Proxmox/issues)
|
||||||
* Want to improve the script? ⚙️ **Submit a Pull Request**
|
* Want to improve the script? ⚙️ Submit a Pull Request
|
||||||
|
|
||||||
💎 **Happy crafting!** 🎮
|
💎 **Happy crafting!** 🎮
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue