Skip to content

feat(minecraft-java): open Set difficulty on the current difficulty - #43

Merged
ValgulNecron merged 1 commit into
mainfrom
feat/minecraft-difficulty-current-from
Oct 5, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
feat/minecraft-difficulty-current-from

Conversation

@ValgulNecron

@ValgulNecron ValgulNecron commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

minecraft-java's Set difficulty dialog always opened on "normal", even when Overview showed the server on Easy. This was found in the 2026-10-04 kubelab live sweep.

Changes:

  • Template: the set-difficulty action's level param now declares currentFrom: difficulty, so the dashboard pre-fills it from the live difficulty status metric. The reading Easy matches the option easy case-insensitively.
  • Editor schema: .schema/gametemplate.schema.json gains the currentFrom property, with the same description, pattern and maximum length as the CRD.
  • Version: minecraft-java 2.8.2 → 2.9.0.

Compatibility: a Gameplane version without the field drops currentFrom when the template is applied (CRD structural pruning), so the module keeps working there and the dialog simply opens on the default.

Depends on: ValgulNecron/Gameplane#553, which adds the field.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NsN6bnAMRM9XQtrTQ6KC7U

The level param now declares currentFrom: difficulty, so Gameplane's dashboard pre-fills it from the live difficulty metric instead of always showing normal. The editor schema gains the currentFrom property. Older Gameplane versions prune the unknown field, so the module stays compatible. minecraft-java 2.8.2 -> 2.9.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NsN6bnAMRM9XQtrTQ6KC7U
Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
@ValgulNecron
ValgulNecron merged commit 8856b0d into main Oct 5, 2026
1 check passed
@ValgulNecron
ValgulNecron deleted the feat/minecraft-difficulty-current-from branch October 5, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant