Compare commits

...

6 Commits

Author SHA1 Message Date
c6ca9ef95a Update to 2.6.0 2024-05-06 20:19:19 +03:00
6bac2b5b3e changes 2024-05-06 18:48:02 +03:00
2e0059bb90 Use GTNH version of FTBUtilites 2023-11-24 15:26:11 +03:00
62809862c5 Update gitignore 2023-11-24 15:21:12 +03:00
7a749c051e FTBUtils settings 2023-11-24 15:20:52 +03:00
608339c8f7 Add ftbutils 2023-11-24 15:20:30 +03:00
7 changed files with 21 additions and 11 deletions

3
.gitignore vendored
View File

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

View File

@ -1,6 +1,8 @@
FROM openjdk:20
FROM openjdk:21
COPY app /app
ADD https://github.com/GTNewHorizons/Hodgepodge/releases/download/2.2.8/hodgepodge-2.2.8.jar /app/mods/hodgepodge-2.2.31.jar
COPY hodgepodge-95a2f2a.jar /app/mods/hodgepodge-2.4.43.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/
RUN mkdir -p /data
WORKDIR /app

View File

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

View File

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

BIN
hodgepodge-95a2f2a.jar Normal file

Binary file not shown.

View File

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

View File

@ -1,2 +1,5 @@
#!/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