Compare commits

..

No commits in common. "c6ca9ef95a0b5fc1758312cc086cc0d447016a86" and "74fa6f7b343cb5114e3d004f7a426dac37921198" have entirely different histories.

7 changed files with 11 additions and 21 deletions

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
/app /app
/data GT_New_Horizons_2.4.0_Server_Java_17-20.zip
GT_New_Horizons_2.6.0_Server_Java_17-21.zip

View File

@ -1,8 +1,6 @@
FROM openjdk:21 FROM openjdk:20
COPY app /app COPY app /app
COPY hodgepodge-95a2f2a.jar /app/mods/hodgepodge-2.4.43.jar ADD https://github.com/GTNewHorizons/Hodgepodge/releases/download/2.2.8/hodgepodge-2.2.8.jar /app/mods/hodgepodge-2.2.31.jar
#ADD https://github.com/GTNewHorizons/FTB-Utilities/releases/download/1.1.1-GTNH/FTBUtilities-1.1.1-GTNH.jar /app/mods/FTBUtilities-1.1.1-GTNH.jar
#ADD https://github.com/GTNewHorizons/FTB-Library/releases/download/1.0.19-GTNH/FTBLib-1.0.19-GTNH.jar /app/mods/FTBLib-1.0.19-GTNH.jar
COPY prepare_environment.sh startserver.sh /app/ COPY prepare_environment.sh startserver.sh /app/
RUN mkdir -p /data RUN mkdir -p /data
WORKDIR /app WORKDIR /app

View File

@ -2,9 +2,8 @@ services:
minecraft: minecraft:
build: . build: .
volumes: volumes:
- ./data:/data - data:/data
ports: ports:
- "25565:25565" - "25565:25565"
#volumes: volumes:
# data: data:

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
if [ ! -f GT_New_Horizons_2.6.0_Server_Java_17-21.zip ]; then if [ ! -f GT_New_Horizons_2.4.0_Server_Java_17-20.zip ]; then
wget http://downloads.gtnewhorizons.com/ServerPacks/GT_New_Horizons_2.6.0_Server_Java_17-21.zip wget https://downloads.gtnewhorizons.com/ServerPacks/GT_New_Horizons_2.4.0_Server_Java_17-20.zip
fi fi
if [ ! -d app ]; then if [ ! -d app ]; then
mkdir app mkdir app
cd app || exit cd app || exit
unzip ../GT_New_Horizons_2.6.0_Server_Java_17-21.zip unzip ../GT_New_Horizons_2.4.0_Server_Java_17-20.zip
cd .. cd ..
fi fi

Binary file not shown.

View File

@ -3,7 +3,7 @@
echo "eula=true" > eula.txt echo "eula=true" > eula.txt
if [ ! -f /data/.initialized ]; then if [ ! -f /data/.initialized ]; then
mkdir -p /data/logs /data/World /data/crash-reports /data/local /data/visualprospecting mkdir -p /data/logs /data/World /data/crash-reports
for i in "server.properties" "usercache.json" "whitelist.json" "ops.json" "config" for i in "server.properties" "usercache.json" "whitelist.json" "ops.json" "config"
do do
cp -r $i /data/ cp -r $i /data/
@ -21,9 +21,6 @@ if [ ! -f /app/.initialized ]; then
ln -s /data/logs . ln -s /data/logs .
ln -s /data/World . ln -s /data/World .
ln -s /data/crash-reports . ln -s /data/crash-reports .
ln -s /data/local .
ln -s /data/visualprospecting .
ln -s /data/backups .
touch /app/.initialized touch /app/.initialized
fi fi

View File

@ -1,5 +1,2 @@
#!/bin/sh #!/bin/sh
/app/prepare_environment.sh && java -Xms6G -Xmx6G -Dfml.readTimeout=180 @java9args.txt nogui
if /app/prepare_environment.sh; then
exec java -Xms6G -Xmx6G -Dfml.readTimeout=180 -Dfml.queryResult=confirm @java9args.txt -jar lwjgl3ify-forgePatches.jar nogui
fi