Skip to content

Commit 6c81a0f

Browse files
authored
Update Greg Tech New Horizons compose file example (#3677)
1 parent b008a33 commit 6c81a0f

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

examples/gtnh/docker-compose.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,24 @@ services:
99
environment:
1010
EULA: "TRUE"
1111
TYPE: CUSTOM
12-
GENERIC_PACKS: GT_New_Horizons_2.7.2_Server_Java_17-21
12+
GENERIC_PACKS: GT_New_Horizons_2.8.0_Server_Java_17-25
1313
GENERIC_PACKS_SUFFIX: .zip
1414
GENERIC_PACKS_PREFIX: https://downloads.gtnewhorizons.com/ServerPacks/
1515
# if this isn't true, then the container tries to download the modpack every run
1616
SKIP_GENERIC_PACK_UPDATE_CHECK: "true"
1717
MEMORY: 6G
1818
# Make sure that this matches what is in your pack's startserver bash file
19-
JVM_OPTS: -Dfml.readTimeout=180 @java9args.txt
20-
CUSTOM_JAR_EXEC: -jar lwjgl3ify-forgePatches.jar nogui
19+
JVM_OPTS: "-Dfml.readTimeout=180 @java9args.txt"
20+
CUSTOM_SERVER: "lwjgl3ify-forgePatches.jar"
21+
# Set server.properties according to GTNH server defaults
22+
MOTD: "GT:New Horizons 2.8.0"
23+
DIFFICULTY: "hard"
24+
ENABLE_COMMAND_BLOCK: "true"
25+
SPAWN_PROTECTION: 1
26+
VIEW_DISTANCE: 8
27+
MODE: 0
28+
LEVEL_TYPE: "rwg"
29+
ALLOW_FLIGHT: "TRUE"
2130
volumes:
2231
# attach a managed volume, change to a relative or absolute host directory if needed
2332
- mc-data:/data

0 commit comments

Comments
 (0)