Skip to content

minecraft: fabric support #248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/minecraft/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft
version: 4.23.6
version: 4.23.7
appVersion: SeeValues
home: https://minecraft.net/
description: Minecraft server
Expand Down
3 changes: 3 additions & 0 deletions charts/minecraft/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ spec:
{{- else if eq .Values.minecraftServer.type "CURSEFORGE" }}
{{- template "minecraft.envMap" list "CF_SERVER_MOD" .Values.minecraftServer.cfServerMod }}
{{- template "minecraft.envMap" list "FTB_LEGACYJAVAFIXER" .Values.minecraftServer.ftbLegacyJavaFixer }}
{{- else if eq .Values.minecraftServer.type "FABRIC" }}
{{- template "minecraft.envMap" list "FABRIC_LAUNCHER_VERSION" .Values.minecraftServer.fabricLauncherVersion }}
{{- template "minecraft.envMap" list "FABRIC_LOADER_VERSION" .Values.minecraftServer.fabricLoaderVersion }}
{{- end }}
{{- template "minecraft.envMap" list "VERSION" .Values.minecraftServer.version }}
{{- template "minecraft.envMap" list "DIFFICULTY" .Values.minecraftServer.difficulty }}
Expand Down
18 changes: 14 additions & 4 deletions charts/minecraft/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,17 @@ minecraftServer:
eula: "FALSE"
# One of: LATEST, SNAPSHOT, or a specific version (ie: "1.7.9").
version: "LATEST"
# This can be one of "VANILLA", "FORGE", "SPIGOT", "BUKKIT", "PAPER", "FTBA", "SPONGEVANILLA", "AUTO_CURSEFORGE"
# https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms
## The type of Minecraft server to run, check for related settings below
## Common types: "VANILLA", "FABRIC", "FORGE", "SPIGOT", "BUKKIT", "PAPER",
## "FTBA", "SPONGEVANILLA", "AUTO_CURSEFORGE"
## ref: https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms
type: "VANILLA"
# If type is set to FORGE, this sets the version; this is ignored if forgeInstallerUrl is set
forgeVersion:
# If type is set to SPONGEVANILLA, this sets the version
spongeVersion:
# If type is set to FORGE, this sets the URL to download the Forge installer
forgeInstallerUrl:
# If type is set to SPONGEVANILLA, this sets the version
spongeVersion:
# If type is set to BUKKIT, this sets the URL to download the Bukkit package
bukkitDownloadUrl:
# If type is set to SPIGOT, this sets the URL to download the Spigot package
Expand All @@ -192,6 +194,14 @@ minecraftServer:
ftbModpackVersionId:
# If type is set to CURSEFORGE, this sets the server mod to run. Can also provide url to curseforge package.
cfServerMod:
## If type is set to FABRIC, this sets the version of fabric server launcher
## to use. Defaults to latest available for minecraftServer.version.
##
## For a custom launcher, see: https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/server-types/fabric/
fabricLauncherVersion:
## If type is set to FABRIC, this sets the version of fabric-loader to use.
## Defaults to latest available for minecraftServer.version.
fabricLoaderVersion:
# Set to true if running Feed The Beast and get an error like "unable to launch forgemodloader"
ftbLegacyJavaFixer: default
# One of: peaceful, easy, normal, and hard
Expand Down
Loading