Repository navigation
Fix /boxadmin place permission - #140
Merged
Merged
Conversation
setPermission() is prefixed with the game mode's permission prefix, so 'boxed.commands.boxadmin.place' became 'boxed.boxed.commands.boxadmin.place'. Use 'admin.place' (boxed.admin.place) like the other admin commands and declare it in addon.yml with default op. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
tastybento
added a commit
to BentoBoxWorld/docs
that referenced
this pull request
Nov 15, 2026
…lace (#133) Matches BentoBoxWorld/AOneBlock#570 and BentoBoxWorld/Boxed#140. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.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.



AdminPlaceStructureCommandcalledsetPermission("boxed.commands.boxadmin.place").CompositeCommand.setPermission()adds the game mode's permission prefix, so the real node wasboxed.boxed.commands.boxadmin.place. It also wasn't declared inaddon.yml, so only operators could use the command, and a permission plugin grant had to use the doubled name.admin.place→boxed.admin.place, matching the other admin commands.addon.ymlwithdefault: op.AdminPlaceStructureCommandTest.testSetupexpects the new permission. The test passes (mvn -Dtest=AdminPlaceStructureCommandTest test).Servers that granted the old doubled node to non-operator staff will need to grant
boxed.admin.placeinstead.🤖 Generated with Claude Code