diff --git a/.schema/gametemplate.schema.json b/.schema/gametemplate.schema.json index cda2754..a53e863 100644 --- a/.schema/gametemplate.schema.json +++ b/.schema/gametemplate.schema.json @@ -157,6 +157,12 @@ "items": { "description": "ActionParamSpec is a single input collected before running an action.", "properties": { + "currentFrom": { + "description": "CurrentFrom names a status metric (spec.capabilities.status.metrics[].id)\nwhose live value pre-fills this input in the dashboard dialog, so a\n\"set\" action opens on the current setting. Default applies when the\nmetric has no reading or (for Type=enum) no option matches it.", + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, "default": { "description": "Default is the pre-filled value (as a string).", "type": "string" diff --git a/minecraft-java/module.yaml b/minecraft-java/module.yaml index e065101..c1d583b 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.8.2 +version: 2.9.0 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 c3f585f..70866f1 100644 --- a/minecraft-java/template.yaml +++ b/minecraft-java/template.yaml @@ -381,6 +381,7 @@ spec: enum: ["peaceful", "easy", "normal", "hard"] default: normal required: true + currentFrom: difficulty # whitelist-add / whitelist-remove were removed here — whitelist # management now lives solely on the Players tab # (capabilities.players.whitelist above), so quick actions don't