Try with proper curseforge pack
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-12-17 17:46:12 -05:00
parent 0dcd27ce98
commit bf82025519
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -13,21 +13,22 @@ spec:
labels: labels:
app: games app: games
spec: spec:
#initContainers: initContainers:
#- name: modpack-downloader - name: modpack-downloader
# image: alpine:latest image: alpine:latest
# volumeMounts: volumeMounts:
# - name: minecraft-modpacks - name: minecraft-modpacks
# mountPath: /modpacks mountPath: /modpacks
# env: env:
# - name: MODPACK_URL - name: MODPACK_URL
# value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip" value: "https://s3.clortox.com/minecraft-modpacks/cf-modpack-latest.zip"
# command: ["/bin/sh"] #value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
# args: command: ["/bin/sh"]
# - "-c" args:
# - | - "-c"
# rm -rf /modpacks/* - |
# wget -O /modpacks/modpack.zip "$MODPACK_URL" rm -rf /modpacks/*
wget -O /modpacks/modpack.zip "$MODPACK_URL"
containers: containers:
- name: minecraft - name: minecraft
image: itzg/minecraft-server:java8-jdk image: itzg/minecraft-server:java8-jdk
@ -49,18 +50,26 @@ spec:
- name: VERSION - name: VERSION
value: "1.12.2" value: "1.12.2"
- name: MODPACK
value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
- name: REMOVE_OLD_MODS - name: REMOVE_OLD_MODS
value: "TRUE" value: "TRUE"
# Proper curseforge pack
- name: TYPE - name: TYPE
value: "FORGE" value: "CURSEFORGE"
- name: CUSTOM_SERVER_PROPERTIES - name: CF_SERVER_MOD
value: | value: "/modpacks/modpack.zip"
level-type=EarthCubic
level-name=big-world # Generic Forge configuration
view-distance=16 #- name: TYPE
vertical-view-distance=-1 # value: "FORGE"
#- name: MODPACK
# value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
#- name: CUSTOM_SERVER_PROPERTIES
# value: |
# level-type=EarthCubic
# level-name=big-world
# view-distance=16
# vertical-view-distance=-1
- name: ICON - name: ICON
value: "https://s3.clortox.com/minecraft-modpacks/server-icon.png" value: "https://s3.clortox.com/minecraft-modpacks/server-icon.png"