This commit is contained in:
2023-11-10 15:07:43 -08:00
parent 34f995a575
commit 435e52ca78
2 changed files with 5 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
MC_RUN_FILE=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/vanilla/run.sh
rm -fr /MCserver/MCserver_*.jar
rm -fr /MCserver/run_*.sh
# Main install (Debian).
# Check for files in /MCserver and download if needed.
if [ -e /MCserver/MCserver-$MC_VERSION.jar ]