Skip to content

Commit 383793a

Browse files
SavePointSamitzg
andauthored
minecraft: fabric support (#248)
Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
1 parent 179068a commit 383793a

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

.github/workflows/lint-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.7
22+
python-version: 3.13
2323

2424
- name: Set up chart-testing
2525
uses: helm/chart-testing-action@v2.0.1

charts/minecraft/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft
3-
version: 4.23.6
3+
version: 4.23.7
44
appVersion: SeeValues
55
home: https://minecraft.net/
66
description: Minecraft server

charts/minecraft/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ spec:
145145
{{- else if eq .Values.minecraftServer.type "CURSEFORGE" }}
146146
{{- template "minecraft.envMap" list "CF_SERVER_MOD" .Values.minecraftServer.cfServerMod }}
147147
{{- template "minecraft.envMap" list "FTB_LEGACYJAVAFIXER" .Values.minecraftServer.ftbLegacyJavaFixer }}
148+
{{- else if eq .Values.minecraftServer.type "FABRIC" }}
149+
{{- template "minecraft.envMap" list "FABRIC_LAUNCHER_VERSION" .Values.minecraftServer.fabricLauncherVersion }}
150+
{{- template "minecraft.envMap" list "FABRIC_LOADER_VERSION" .Values.minecraftServer.fabricLoaderVersion }}
148151
{{- end }}
149152
{{- template "minecraft.envMap" list "VERSION" .Values.minecraftServer.version }}
150153
{{- template "minecraft.envMap" list "DIFFICULTY" .Values.minecraftServer.difficulty }}

charts/minecraft/values.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,17 @@ minecraftServer:
171171
eula: "FALSE"
172172
# One of: LATEST, SNAPSHOT, or a specific version (ie: "1.7.9").
173173
version: "LATEST"
174-
# This can be one of "VANILLA", "FORGE", "SPIGOT", "BUKKIT", "PAPER", "FTBA", "SPONGEVANILLA", "AUTO_CURSEFORGE"
175-
# https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms
174+
## The type of Minecraft server to run, check for related settings below
175+
## Common types: "VANILLA", "FABRIC", "FORGE", "SPIGOT", "BUKKIT", "PAPER",
176+
## "FTBA", "SPONGEVANILLA", "AUTO_CURSEFORGE"
177+
## ref: https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms
176178
type: "VANILLA"
177179
# If type is set to FORGE, this sets the version; this is ignored if forgeInstallerUrl is set
178180
forgeVersion:
179-
# If type is set to SPONGEVANILLA, this sets the version
180-
spongeVersion:
181181
# If type is set to FORGE, this sets the URL to download the Forge installer
182182
forgeInstallerUrl:
183+
# If type is set to SPONGEVANILLA, this sets the version
184+
spongeVersion:
183185
# If type is set to BUKKIT, this sets the URL to download the Bukkit package
184186
bukkitDownloadUrl:
185187
# If type is set to SPIGOT, this sets the URL to download the Spigot package
@@ -192,6 +194,14 @@ minecraftServer:
192194
ftbModpackVersionId:
193195
# If type is set to CURSEFORGE, this sets the server mod to run. Can also provide url to curseforge package.
194196
cfServerMod:
197+
## If type is set to FABRIC, this sets the version of fabric server launcher
198+
## to use. Defaults to latest available for minecraftServer.version.
199+
##
200+
## For a custom launcher, see: https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/server-types/fabric/
201+
fabricLauncherVersion:
202+
## If type is set to FABRIC, this sets the version of fabric-loader to use.
203+
## Defaults to latest available for minecraftServer.version.
204+
fabricLoaderVersion:
195205
# Set to true if running Feed The Beast and get an error like "unable to launch forgemodloader"
196206
ftbLegacyJavaFixer: default
197207
# One of: peaceful, easy, normal, and hard

0 commit comments

Comments
 (0)