Create update.sh

This commit is contained in:
==TIM.©.B == 2025-06-23 10:50:39 +02:00 committed by GitHub
parent 573a6f53ad
commit 2f5d696a1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

9
update.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
# Change to Minecraft directory
cd /opt/minecraft || exit 1
# Download latest PaperMC jar (manually specified version/build for now)
wget -O server.jar https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/416/downloads/paper-1.20.4-416.jar
echo "✅ Update complete. Restart the server if needed."