Skip to content

Commit 987e057

Browse files
authored
Add support for CURSEFORGE + CF_SERVER_MOD (#69)
1 parent f0b2882 commit 987e057

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

charts/minecraft/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft
3-
version: 3.1.5
3+
version: 3.1.6
44
appVersion: SeeValues
55
home: https://minecraft.net/
66
description: Minecraft server

charts/minecraft/templates/deployment.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ spec:
9898
value: {{ .Values.minecraftServer.ftbServerMod | quote }}
9999
- name: FTB_LEGACYJAVAFIXER
100100
value: {{ default false .Values.minecraftServer.ftbLegacyJavaFixer | quote }}
101+
{{- else if eq .Values.minecraftServer.type "CURSEFORGE" }}
102+
- name: CF_SERVER_MOD
103+
value: {{ .Values.minecraftServer.cfServerMod | quote }}
104+
- name: FTB_LEGACYJAVAFIXER
105+
value: {{ default false .Values.minecraftServer.ftbLegacyJavaFixer | quote }}
101106
{{- end }}
102107
- name: VERSION
103108
value: {{ .Values.minecraftServer.version | quote }}

charts/minecraft/values.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ minecraftServer:
7373
eula: "FALSE"
7474
# One of: LATEST, SNAPSHOT, or a specific version (ie: "1.7.9").
7575
version: "LATEST"
76-
# This can be one of "VANILLA", "FORGE", "SPIGOT", "BUKKIT", "PAPER", "FTBA", "SPONGEVANILLA"
76+
# This can be one of "VANILLA", "FORGE", "SPIGOT", "BUKKIT", "PAPER", "FTBA", "SPONGEVANILLA", "CURSEFORGE"
7777
type: "VANILLA"
7878
# If type is set to FORGE, this sets the version; this is ignored if forgeInstallerUrl is set
7979
forgeVersion:
@@ -89,6 +89,8 @@ minecraftServer:
8989
paperDownloadUrl:
9090
# If type is set to FTB, this sets the server mod to run. You can also provide the URL to download the FTB package
9191
ftbServerMod:
92+
# If type is set to CURSEFORGE, this sets the server mod to run. Can also provide url to curseforge package.
93+
cfServerMod:
9294
# Set to true if running Feed The Beast and get an error like "unable to launch forgemodloader"
9395
ftbLegacyJavaFixer: false
9496
# One of: peaceful, easy, normal, and hard

0 commit comments

Comments
 (0)