# ๐ Minecraft Server Installation on Debian in Proxmox CT
## Prerequisites:
1. A running Debian instance in Proxmox CT.
2. Root or sudo access to the instance.
## Installation Steps:
1. **Update and Upgrade**:
```bash
apt update && apt upgrade -y
-
Install Java:
apt install openjdk-17-jre-headless -y
-
Create a Directory for Minecraft:
mkdir minecraft_server cd minecraft_server
-
Download the Minecraft Server:
wget [URL_TO_MINECRAFT_SERVER.JAR]
-
Start the Server:
java -Xmx1024M -Xms1024M -jar server.jar nogui
-
Accept the EULA:
- Edit the
eula.txt
file and changeeula=false
toeula=true
.
- Edit the
-
Restart the Server:
java -Xmx1024M -Xms1024M -jar server.jar nogui
Note: Replace [URL_TO_MINECRAFT_SERVER.JAR]
with the actual URL to download the Minecraft server jar file.
---
### ๐ `COMMANDS.md`
```markdown
# ๐ฎ Minecraft Server Commands Guide ๐ ๏ธ
## ๐ฅ๏ธ Console Commands:
### Server Control:
1. **Starting the server**:
```bash
java -Xmx1024M -Xms1024M -jar server.jar nogui
-
Stopping the server:
stop
-
Restarting the server:
- First, use the
stop
command and then execute the start command again.
- First, use the
-
Editing server.properties:
nano /path/to/server/server.properties
-
Editing the whitelist:
nano whitelist.json
-
Editing Ops (Admins):
nano ops.json
-
Help:
/help
-
Set Game Mode:
/gamemode <mode> <player>
-
Kick a Player:
/kick <player>
-
Ban a Player:
/ban <player>
-
Pardon (Unban) a Player:
/pardon <player>
-
Whitelist a Player:
/whitelist add <player>
-
Remove a Player from Whitelist:
/whitelist remove <player>
-
Change Time:
/time set <value>
-
Change Weather:
/weather <type>
-
Teleport:
/tp <destination>
Note: Some commands may require admin privileges to execute.
---