Install dependencies:
sudo apt update && sudo apt install -y openjdk-21-jre-headless screen curl unzip jq
git clone https://github.com/entity12208/Fabric-Server.git
cd Fabric-Server
chmod +x setup-server.sh
./setup-server.sh
The script will guide you to select Fabric, Forge, or PaperMC, and set up everything automatically.
Run:
./start-server.sh
This will auto-detect your server type and start the correct jar.
To update mods or plugins:
./update-mods.sh
Edits may be needed in the script to add custom mods/plugins.
backup.sh
)../backup.sh
whitelist.json
. Find UUIDs at MinecraftUUID.com.white-list=false
in server.properties
.