Linux MC Running on Paper¶
To Do¶
Paper¶
"Paper is a fork of Spigot, meaning it builds upon Spigot's code and adds its own features and optimizations. Essentially, Paper is an enhanced version of Spigot, designed for better performance and stability, especially on servers with a higher player count. Spigot, on the other hand, is the standard, more established Minecraft server software." ~ Google AI overview
Setup¶
sudo apt install openjdk-21-jdk-headless
sudo apt install fail2ban
sudo systemctl start fail2ban
sudo systemctl enable fail2ban
https://papermc.io/downloads/paper
root@minecraft:/opt/minecraft/1.21.5-spigot-mason-adam/plugins/DeathChest# vim /opt/minecraft/1.21.5-spigot-mason-adam/plugins/DeathChest/config.yml
chest:
expiration: -1
blast-protection: true
thief-protection:
enabled: true
player-notification:
message: |-
&7You died. Your items were put into a chest. ${x} ${y} ${z}
Updating¶
- Stop server
- Backup Server
- Update Plugins
- Create folder called
updatein plugins folder - Download plugins to update and place in
updatefolder - Restart server
- Update Paper
- Stop server
- Move plugins to
disabledfolder inpluginsfolder- This should allow for data migrations/registry negotiations to take place
- Download new JAR from Paper downloads page
- Ensure new JAR filename is being called in
start.shfile - Start server and watch logs
If datapacks/textures are broken, try deleting world/advancements/*
Dynmap¶
Make sure the tunnel is running somewhere in the network
Commands¶
/chunkgen start 1000
# /dynmap radiusrender <world> <x> <z> <block radius>
/dynmap radiusrender world 171 -353 2500
/dynmap cancelrender
/dynmap fullrender
/kill @e[type=zombie]
Favorite Plugins¶
Search for plugin info and download by searching "spigot [plugin ID from table]" or just go to website https://www.spigotmc.org/resources/
| ID | Description |
|---|---|
| 60623 | sleep most |
| 19510 | classic combat |
| 1997 | ProtocolLib |
| 8631 | Core Protect |