Skip to content

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

  1. Stop server
  2. Backup Server
  3. Update Plugins
  4. Create folder called update in plugins folder
  5. Download plugins to update and place in update folder
  6. Restart server
  7. Update Paper
  8. Stop server
  9. Move plugins to disabled folder in plugins folder
    1. This should allow for data migrations/registry negotiations to take place
  10. Download new JAR from Paper downloads page
  11. Ensure new JAR filename is being called in start.sh file
  12. 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