From 92f2feebb7d1914f7e3d38c499c0e3a97556e7e1 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 19:00:39 +0000 Subject: [PATCH] fix(minecraft-java): make Enforce whitelist turn the whitelist on The WHITELIST_ENABLED field reached the itzg image as an env var of the same name, which the image never reads, so white-list stayed false and anyone could join. Export it as ENABLE_WHITELIST through the new configSchema envName (the image then sets white-list and enforce-whitelist). The config key stays the same, so saved server values keep working. Bump the bundle to 2.11.1. Needs the operator envName support (GameplanePanel/Gameplane); older operators drop the field and behave as before. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Claude --- minecraft-java/module.yaml | 2 +- minecraft-java/template.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/minecraft-java/module.yaml b/minecraft-java/module.yaml index 8ed001c..2ad2204 100644 --- a/minecraft-java/module.yaml +++ b/minecraft-java/module.yaml @@ -2,7 +2,7 @@ apiVersion: gameplane.local/module/v1 name: minecraft-java displayName: Minecraft (Java Edition) -version: 2.11.0 +version: 2.11.1 game: minecraft-java categories: [Sandbox, Survival, Building, Modded, Creative] summary: Vanilla / Paper / Spigot / Bukkit / Purpur / Forge / NeoForge / Fabric / Quilt servers (itzg/minecraft-server) with a version+loader picker spanning 1.16.5–latest, per-loader mod volumes, and in-app Modrinth browse. diff --git a/minecraft-java/template.yaml b/minecraft-java/template.yaml index a7f2b1d..1ec3e8c 100644 --- a/minecraft-java/template.yaml +++ b/minecraft-java/template.yaml @@ -23,7 +23,7 @@ spec: displayName: Minecraft (Java Edition) game: minecraft-java # Kept in lockstep with module.yaml's bundle version from 2.5.0 onward. - version: 2.11.0 + version: 2.11.1 categories: [Sandbox, Survival, Building, Modded, Creative] # Brand color the dashboard tints this game's icon/accents with. accentColor: "#5b9a3e" @@ -802,10 +802,14 @@ spec: type: string default: "" + # The config key stays WHITELIST_ENABLED so saved server values keep + # working, but the itzg image only turns on white-list for + # ENABLE_WHITELIST (it also sets enforce-whitelist with it). - name: WHITELIST_ENABLED displayName: Enforce whitelist type: bool default: "false" + envName: ENABLE_WHITELIST - name: PVP displayName: PvP enabled