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:
|
||||
**⛏️ [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
|
||||
✅ Works with **Proxmox VM** or **LXC container**
|
||||
✅ **Performance optimizations** included (RAM allocation, CPU prioritization)
|
||||
✅ Automated installation of Minecraft Java/Bedrock servers
|
||||
✅ Works with Proxmox VM or LXC container
|
||||
✅ Performance optimizations included (RAM allocation, CPU prioritization)
|
||||
✅ 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"**
|
||||
* **General Settings**:
|
||||
|
|
@ -52,14 +52,14 @@ Using this link supports the project at no additional cost to you. Thank you!
|
|||
* Model: **VirtIO**
|
||||
* Enable **QEMU Guest Agent** after installation
|
||||
|
||||
### **2️⃣ Install Dependencies** ⚙️
|
||||
### 2️⃣ Install Dependencies ⚙️
|
||||
|
||||
```bash
|
||||
apt update && apt upgrade -y
|
||||
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
|
||||
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"**
|
||||
* **General Settings**:
|
||||
|
|
@ -98,16 +98,14 @@ chmod +x setup_minecraft.sh
|
|||
* Enable **"Nesting"** (required for Java & systemd)
|
||||
* Disable **"Unprivileged Container"** if needed
|
||||
|
||||
### **2️⃣ Install Required Dependencies** ⚒️
|
||||
|
||||
Log into the container and install:
|
||||
### 2️⃣ Install Required Dependencies ⚒️
|
||||
|
||||
```bash
|
||||
apt update && apt upgrade -y
|
||||
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
|
||||
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?
|
||||
|
||||
If you're using the default setup, the server runs in a `screen` session under the `minecraft` user:
|
||||
|
||||
```bash
|
||||
sudo -u minecraft screen -r
|
||||
```
|
||||
|
||||
If needed, list running sessions:
|
||||
If needed:
|
||||
|
||||
```bash
|
||||
sudo -u minecraft screen -ls
|
||||
sudo -u minecraft bash /opt/minecraft/start.sh
|
||||
```
|
||||
|
||||
### 🔄 How do I update the server?
|
||||
|
||||
#### Java Edition:
|
||||
|
||||
Use the included `update.sh` script inside `/opt/minecraft/`:
|
||||
|
||||
```bash
|
||||
cd /opt/minecraft
|
||||
sudo -u minecraft ./update.sh
|
||||
```
|
||||
|
||||
If it's missing, create it like this:
|
||||
If it's missing:
|
||||
|
||||
```bash
|
||||
nano /opt/minecraft/update.sh
|
||||
sudo nano /opt/minecraft/update.sh
|
||||
```
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
Dann:
|
||||
Then:
|
||||
|
||||
```bash
|
||||
chmod +x /opt/minecraft/update.sh
|
||||
sudo chmod +x /opt/minecraft/update.sh
|
||||
```
|
||||
|
||||
#### 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
|
||||
apt install -y openjdk-21-jre-headless
|
||||
systemctl restart minecraft
|
||||
```
|
||||
|
||||
### 2️⃣ Server Not Starting (`start.sh` missing)
|
||||
### 2️⃣ Missing `start.sh`
|
||||
|
||||
```bash
|
||||
cd /opt/minecraft
|
||||
|
|
@ -203,7 +198,7 @@ chmod +x start.sh
|
|||
./start.sh
|
||||
```
|
||||
|
||||
### 3️⃣ Firewall Issues (`ufw` inactive)
|
||||
### 3️⃣ Firewall (UFW) Setup
|
||||
|
||||
```bash
|
||||
ufw allow 25565/tcp
|
||||
|
|
@ -213,9 +208,9 @@ ufw enable
|
|||
|
||||
---
|
||||
|
||||
## 🤝 **Contribute** 🌟
|
||||
## 🤝 Contribute 🌟
|
||||
|
||||
* Found a bug? 🦛 **Open an Issue**
|
||||
* Want to improve the script? ⚙️ **Submit a Pull Request**
|
||||
* Found a bug? 🐛 [Open an Issue](https://github.com/TimInTech/minecraft-server-Proxmox/issues)
|
||||
* Want to improve the script? ⚙️ Submit a Pull Request
|
||||
|
||||
💎 **Happy crafting!** 🎮
|
||||
|
|
|
|||
Loading…
Reference in a new issue