From bc20f746948167ef5730325dbeb992eaa9d51c88 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 22 Dec 2024 10:53:34 -0600 Subject: [PATCH 1/2] Fix for neoforge change, updated server files. --- launch.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/launch.sh b/launch.sh index a42cc9b..f500c14 100644 --- a/launch.sh +++ b/launch.sh @@ -15,7 +15,7 @@ fi if ! [[ -f "Server-Files-$SERVER_VERSION.zip" ]]; then rm -fr config defaultconfigs kubejs mods packmenu Simple.zip forge* - curl -Lo "Server-Files-$SERVER_VERSION.zip" 'https://edge.forgecdn.net/files/6009/060/Server-Files-2.8.zip' || exit 9 + curl -Lo "Server-Files-$SERVER_VERSION.zip" 'https://mediafilez.forgecdn.net/files/6013/608/Server-Files-2.8.zip' || exit 9 unzip -u -o "Server-Files-$SERVER_VERSION.zip" -d /data DIR_TEST=$(find . -type d -maxdepth 1 | tail -1 | sed 's/^.\{2\}//g') if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then @@ -24,7 +24,8 @@ if ! [[ -f "Server-Files-$SERVER_VERSION.zip" ]]; then cd /data rm -fr "$DIR_TEST" fi - curl -Lo neoforge-${NEOFORGE_VERSION}-installer.jar http://files.neoforged.net/maven/net/neoforged/neoforge/$NEOFORGE_VERSION/neoforge-$NEOFORGE_VERSION-installer.jar + + curl -Lo neoforge-${NEOFORGE_VERSION}-installer.jar https://maven.neoforged.net/releases/net/neoforged/neoforge/$NEOFORGE_VERSION/neoforge-$NEOFORGE_VERSION-installer.jar java -jar neoforge-${NEOFORGE_VERSION}-installer.jar --installServer fi From fe92dd307e831daf5c7211a3ef656d3c5947039d Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 22 Dec 2024 10:55:20 -0600 Subject: [PATCH 2/2] Change to edge --- launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.sh b/launch.sh index f500c14..b6e34fa 100644 --- a/launch.sh +++ b/launch.sh @@ -15,7 +15,7 @@ fi if ! [[ -f "Server-Files-$SERVER_VERSION.zip" ]]; then rm -fr config defaultconfigs kubejs mods packmenu Simple.zip forge* - curl -Lo "Server-Files-$SERVER_VERSION.zip" 'https://mediafilez.forgecdn.net/files/6013/608/Server-Files-2.8.zip' || exit 9 + curl -Lo "Server-Files-$SERVER_VERSION.zip" 'https://edge.forgecdn.net/files/6013/608/Server-Files-2.8.zip' || exit 9 unzip -u -o "Server-Files-$SERVER_VERSION.zip" -d /data DIR_TEST=$(find . -type d -maxdepth 1 | tail -1 | sed 's/^.\{2\}//g') if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then