Skip to content

Commit

Permalink
fix: bootup the ol' minecraft server
Browse files Browse the repository at this point in the history
  • Loading branch information
mchestr committed Feb 2, 2025
1 parent 04a62b0 commit 1782ec6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kubernetes/apps/game-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ resources:
- namespace.yaml
# Flux-Kustomizations
# - factorio/ks.yaml
# - minecraft/ks.yaml
- minecraft/ks.yaml
7 changes: 4 additions & 3 deletions kubernetes/apps/game-system/minecraft/gtnh/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
REPLACE_ENV_DURING_SYNC: "TRUE"
CFG_LP_SERVER: "global"
# Only need for initial bootstrap
# GENERIC_PACKS: GT_New_Horizons_2.5.1_Server_Java_17-21
# GENERIC_PACKS: GT_New_Horizons_2.7.2_Server_Java_17-21
# GENERIC_PACKS_PREFIX: http://downloads.gtnewhorizons.com/ServerPacks/
# GENERIC_PACKS_SUFFIX: .zip
# SKIP_GENERIC_PACK_UPDATE_CHECK: "true"
Expand Down Expand Up @@ -73,10 +73,10 @@ spec:
levelType: rwg
whitelist: "mchestr,"
ops: ""
jvmOpts: "--illegal-access=warn -Djava.security.manager=allow -Dfile.encoding=UTF-8 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/jdk.internal.reflect=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED,java.naming --add-opens java.desktop/sun.awt.image=ALL-UNNAMED --add-opens java.desktop/com.sun.imageio.plugins.png=ALL-UNNAMED --add-modules jdk.dynalink --add-opens jdk.dynalink/jdk.dynalink.beans=ALL-UNNAMED --add-modules java.sql.rowset --add-opens java.sql.rowset/javax.sql.rowset.serial=ALL-UNNAMED -jar lwjgl3ify-forgePatches.jar"
jvmOpts: "-Dfml.readTimeout=180 @/data/java9args.txt"
rcon:
enabled: true
motd: "GTNH: §l§c2.5.1§r §n"
motd: "GTNH: §l§c2.7.2§r §n"
extraPorts:
- name: map
containerPort: 8123
Expand All @@ -98,6 +98,7 @@ spec:
- *host
persistence:
dataDir:
enabled: true
existingClaim: *app
valuesFrom:
- kind: Secret
Expand Down

0 comments on commit 1782ec6

Please sign in to comment.