From dd56f103e3cbcaaf162fda8b154c7bda566e32eb Mon Sep 17 00:00:00 2001 From: W3LFARe Date: Wed, 27 Nov 2024 01:13:07 -0500 Subject: [PATCH] update to 1.25 --- Dockerfile | 2 +- launch.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6cf89c..28e1162 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM openjdk:21-buster -LABEL version="1.24.0" +LABEL version="1.25.0" RUN apt-get update && apt-get install -y curl unzip && \ adduser --uid 99 --gid 100 --home /data --disabled-password minecraft diff --git a/launch.sh b/launch.sh index d7542e1..39ddf41 100644 --- a/launch.sh +++ b/launch.sh @@ -2,7 +2,7 @@ set -x -NEOFORGE_VERSION=21.1.80 +NEOFORGE_VERSION=21.1.81 cd /data if ! [[ "$EULA" = "false" ]]; then @@ -12,10 +12,10 @@ else exit 99 fi -if ! [[ -f 'Server-Files-1.24.0.zip' ]]; then +if ! [[ -f 'Server-Files-1.25.0.zip' ]]; then rm -fr config defaultconfigs kubejs mods packmenu Simple.zip forge* - curl -Lo 'Server-Files-1.24.0.zip' 'https://edge.forgecdn.net/files/5932/372/Server-Files-1.24.zip' || exit 9 - unzip -u -o 'Server-Files-1.24.0.zip' -d /data + curl -Lo 'Server-Files-1.25.0.zip' 'https://edge.forgecdn.net/files/5940/563/Server-Files-1.25.zip' || exit 9 + unzip -u -o 'Server-Files-1.25.0.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 cd "${DIR_TEST}"