Create update.sh
This commit is contained in:
parent
573a6f53ad
commit
2f5d696a1f
1 changed files with 9 additions and 0 deletions
9
update.sh
Normal file
9
update.sh
Normal 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."
|
||||||
Loading…
Reference in a new issue