Gamer-Server-Utility-Scripts/Minecraft/Java
Clay 8360e06473 Add Minecraft/Java/paper_updater.sh
# PaperMC & Plugins Auto-Updater

This script automates updating your PaperMC server and key plugins (EssentialsX, mcMMO) with detailed logging and safety checks.

## Features

- **PaperMC:**  
  - Fetches the latest stable PaperMC version and build (above a minimum build number).
  - Downloads and replaces the server jar only if a newer stable build is available.
  - Backs up the old server jar before updating.
  - Tracks the current build in `current_build.txt`.

- **EssentialsX Plugins:**  
  - Downloads the latest EssentialsX jars (excluding Discord, GeoIP, XMPP variants).
  - Backs up old EssentialsX jars before replacing them.

- **mcMMO Plugin:**  
  - Downloads the latest mcMMO jar.
  - Backs up the old mcMMO jar before replacing it.

## Usage

1. Ensure `jq` and `curl` are installed.
2. Place the script in your PaperMC server directory.
3. Run:  
   `bash paper_updater.sh`

Backups are stored in the `backups` directory and plugin subfolders.

---

**Note:**  
- The script must be run with permissions to write to the server and plugins directories.
- Review and adjust paths if your server structure differs.
2025-07-29 14:45:04 -04:00
..
get_paper_url.sh Add Minecraft/Java/get_paper_url.sh 2024-01-23 14:01:05 -05:00
paper_updater.sh Add Minecraft/Java/paper_updater.sh 2025-07-29 14:45:04 -04:00
README.md Add Minecraft/Java/README.md 2024-01-23 13:51:30 -05:00

paper scripts