Commit graph

11 commits

Author SHA1 Message Date
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
01d48e8408 Add Minecraft/Java/get_paper_url.sh 2024-01-23 14:01:05 -05:00
a7b58c571b Add Minecraft/Bedrock/get_bedrock_url.sh 2024-01-23 13:56:26 -05:00
ccdce4d08b Add Minecraft/Bedrock/start.sh 2024-01-23 13:53:33 -05:00
82d661526d Add Minecraft/Bedrock/README.md 2024-01-23 13:51:47 -05:00
5948b1a071 Add Minecraft/Java/README.md 2024-01-23 13:51:30 -05:00
9adf5e080f Add Minecraft/Modded/mccheck.sh
Checks if the server is running.
Starts server if not running.
Set a cron job for every ~5min

Systemd would work better but limits console access to RCON.
2024-01-23 13:46:40 -05:00
29e1755efa Add Minecraft/Modded/Offline-Forceload-Toggle.sh
Makes it easy to change "Force Load Chunks When Offline" on and off instead of going through each file individually. 
Works with the openpartiesandclaims mod.
2024-01-23 13:44:17 -05:00
f4e10ca404 Add Minecraft/Modded/Discord.sh 2024-01-23 13:40:57 -05:00
bb769d29d2 Add Minecraft/Modded/StartServer.sh 2024-01-23 13:37:54 -05:00
1dbe1425e4 Add Minecraft/Modded/README.md 2024-01-23 13:36:11 -05:00