test
Some checks failed
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-detect-changes (push) Successful in 12s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push fabric (push) Successful in 18s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-fabric (push) Successful in 20s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-neoforged (push) Successful in 20s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push neoforged (push) Successful in 1m6s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-vanilla (push) Successful in 1m5s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push vanilla (push) Has been cancelled
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Has been cancelled
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Has been cancelled

This commit is contained in:
2025-12-18 10:02:37 -08:00
parent 23623a1293
commit 1406c69f9b

View File

@@ -2,6 +2,8 @@
# Copyright (c) 2022 fithwum # Copyright (c) 2022 fithwum
# All rights reserved # All rights reserved
FIRST_RUN=false
[ ! -d "$MC_DIR/world" ] && FIRST_RUN=true
MC_DIR=/MCserver MC_DIR=/MCserver
# Main Install Links # Main Install Links
@@ -92,6 +94,13 @@ sleep 1
echo " " echo " "
echo "INFO ! Starting Minecraft Server $NEOFORGED_VERSION" echo "INFO ! Starting Minecraft Server $NEOFORGED_VERSION"
cd $MC_DIR cd $MC_DIR
exec ./run-$NEOFORGED_VERSION.sh nogui # exec ./run-$NEOFORGED_VERSION.sh nogui
if [ "$FIRST_RUN" = "true" ]; then
echo "INFO ! First bootstrap run (datapack generation)"
"./run-${NEOFORGED_VERSION}.sh"
else
exec "./run-${NEOFORGED_VERSION}.sh" nogui
fi
exit exit