Repository navigation
feat(minecraft-java): open Set difficulty on the current difficulty - #43
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
set-difficultyaction'slevelparam now declarescurrentFrom: difficulty, so the dashboard pre-fills it from the livedifficultystatus metric. The readingEasymatches the optioneasycase-insensitively..schema/gametemplate.schema.jsongains thecurrentFromproperty, with the same description, pattern and maximum length as the CRD.minecraft-java2.8.2 → 2.9.0.Compatibility: a Gameplane version without the field drops
currentFromwhen 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