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
This commit is contained in:
Kayos 2026-03-05 11:23:39 -08:00
parent 24423efe79
commit 999311f41b
2 changed files with 7 additions and 7 deletions

View file

@ -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 && \

View file

@ -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