From 999311f41b672276d2a9accdc0c17d49ba3d87ae Mon Sep 17 00:00:00 2001 From: Kayos Date: Thu, 5 Mar 2026 11:23:39 -0800 Subject: [PATCH] chore: sync upstream ATM10 5.5 + NeoForge 21.1.219, update Youer to build 543 - SERVER_VERSION 5.4 -> 5.5 - NEOFORGE_VERSION 21.1.215 -> 21.1.219 - Updated server files download URL (CurseForge file 7558/5734) - Updated Youer to build 543 (targets NeoForge 21.1.219) - Dockerfile label updated to 5.5 --- Dockerfile | 2 +- launch.sh | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25b2a21..2ac987a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM eclipse-temurin:21-jdk -LABEL version="5.4" +LABEL version="5.5" RUN apt-get update && apt-get install -y curl unzip jq && \ diff --git a/launch.sh b/launch.sh index 42cc5d8..28e9cd7 100644 --- a/launch.sh +++ b/launch.sh @@ -1,8 +1,8 @@ #!/bin/bash set -x -NEOFORGE_VERSION=21.1.215 -SERVER_VERSION=5.4 +NEOFORGE_VERSION=21.1.219 +SERVER_VERSION=5.5 cd /data @@ -16,8 +16,8 @@ fi if ! [[ -f "Server-Files-$SERVER_VERSION.zip" ]]; then rm -fr config defaultconfigs kubejs mods packmenu Server-Files-* neoforge* - curl -Lo "Server-Files-$SERVER_VERSION.zip" "https://mediafilez.forgecdn.net/files/7361/524/ServerFiles-$SERVER_VERSION.zip" || exit 9 - + curl -Lo "Server-Files-$SERVER_VERSION.zip" "https://mediafilez.forgecdn.net/files/7558/5734/ServerFiles-$SERVER_VERSION.zip" || exit 9 + unzip -u -o "Server-Files-$SERVER_VERSION.zip" -d /data DIR_TEST="ServerFiles-$SERVER_VERSION" if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then @@ -28,12 +28,12 @@ if ! [[ -f "Server-Files-$SERVER_VERSION.zip" ]]; then rm -fr "$DIR_TEST" fi - curl -Lo neoforge-${NEOFORGE_VERSION}-installer.jar https://api.mohistmc.com/project/youer/1.21.1/builds/382/download + curl -Lo neoforge-${NEOFORGE_VERSION}-installer.jar https://api.mohistmc.com/project/youer/1.21.1/builds/543/download fi if [[ -n "$JVM_OPTS" ]]; then sed -i '/-Xm[s,x]/d' user_jvm_args.txt - for j in ${JVM_OPTS}; do sed -i '$a\'$j'' user_jvm_args.txt; done + for j in ${JVM_OPTS}; do sed -i '$a\''$j'' user_jvm_args.txt; done fi if [[ -n "$MOTD" ]]; then sed -i "s/^motd=.*/motd=$MOTD/" /data/server.properties