Skip to content
Open
Show file tree
Hide file tree
Changes from all 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: 5.0.0
version: 5.1.0
appVersion: SeeValues
home: https://minecraft.net/
description: Minecraft server
Expand Down
43 changes: 43 additions & 0 deletions charts/minecraft/examples/auto-curseforge-custom-loader.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Example configuration for AUTO_CURSEFORGE with custom modloader versions
#
# This example demonstrates how to override modloader versions when using
# CurseForge modpacks, which is useful when you need a newer Fabric Loader,
# Forge, or NeoForge version than what the modpack originally specified.

minecraftServer:
# Accept the EULA (required)
eula: "TRUE"

# Set the server type to AUTO_CURSEFORGE
type: AUTO_CURSEFORGE

# Configure AUTO_CURSEFORGE settings
autoCurseForge:
# CurseForge API key - get from https://console.curseforge.com/
# IMPORTANT: Store this in a Kubernetes secret in production!
apiKey:
key: "your-api-key-here"

# Example: Cobblemon Fabric modpack
slug: "cobblemon-fabric"

# Override the mod loader version from the modpack's default
# Example: Change from Fabric 0.16.10 to 0.16.14
modLoaderVersion: "0.16.14"

# Other standard AUTO_CURSEFORGE options
parallelDownloads: 4
forceSynchronize: false

# Recommended memory allocation for modpacks
resources:
requests:
memory: 4Gi
limits:
memory: 6Gi

# Enable persistent storage for world data
persistence:
dataDir:
enabled: true
Size: 10Gi
1 change: 1 addition & 0 deletions charts/minecraft/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ spec:
{{- if .overridesSkipExisting }}
{{- template "minecraft.envMap" list "CF_OVERRIDES_SKIP_EXISTING" "true" }}
{{- end }}
{{- template "minecraft.envMap" list "CF_MOD_LOADER_VERSION" .modLoaderVersion }}
{{- end }}
{{- end }}

Expand Down
3 changes: 3 additions & 0 deletions charts/minecraft/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@
},
"overridesSkipExisting": {
"type": "boolean"
},
"modLoaderVersion": {
"type": "string"
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions charts/minecraft/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ minecraftServer:
# Set to skip files in modpack "overrides" folder that would replace existing files
# NOTE: World data is always skipped if present
overridesSkipExisting: false
# Override the mod loader version specified in the modpack
modLoaderVersion: ""

rcon:
# If you enable this, make SURE to change your password below.
Expand Down