This repository contains upgrade_fabric_server.sh, a shell script to upgrade a Minecraft server running Fabric API.
The script expects the jq utility to be available on the system PATH. jq is a lightweight command-line JSON processor used by the script to parse JSON output.
Installation instructions can be found at: https://stedolan.github.io/jq/.
Basic invocation:
./upgrade_fabric_server.shUseful flags:
--dry-run— show actions the script would take without making changes.--yesor--non-interactive— automatically confirm prompts (useful for automation).--helpor-h— print a short usage message.
Examples:
Show what would happen without changing files:
./upgrade_fabric_server.sh --dry-runRun non-interactively (use with care):
./upgrade_fabric_server.sh --yes