Repository navigation
Declare missing player permissions so players can use teams and homes - #92
Merged
Merged
Conversation
Add addon.yml entries, default true, for permissions used by BentoBox's player commands that were not declared: skygrid.island.deletehome, skygrid.island.homes, skygrid.island.info, skygrid.island.near, skygrid.island.renamehome, skygrid.island.team.accept, skygrid.island.team.invite, skygrid.island.team.kick, skygrid.island.team.leave, skygrid.island.team.promote, skygrid.island.team.reject, skygrid.island.team.setowner. Undeclared permissions are operator-only, so players without an extra grant could not use these commands. 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.



Adds 12 permission entries to
addon.yml, alldefault: true:skygrid.island.deletehome,skygrid.island.homes,skygrid.island.info,skygrid.island.near,skygrid.island.renamehome,skygrid.island.team.accept,skygrid.island.team.invite,skygrid.island.team.kick,skygrid.island.team.leave,skygrid.island.team.promote,skygrid.island.team.reject,skygrid.island.team.setownerWhy: these permissions are checked by commands that BentoBox's
DefaultPlayerCommandregisters for this game mode, but they weren't declared inaddon.yml. A permission that isn't declared is treated as operator-only, so ordinary players couldn't use those commands unless the server granted them. SkyGrid ships withmax-team-size: 4andmax-homes: 5, but players couldn't invite anyone to a team, accept or reject an invite, kick, leave, promote or hand over ownership, see island info or nearby areas, or list, rename or delete their homes.The entries match what BSkyBlock declares. Commands that are island-rank-limited (
deletehome,renamehome,team invite,kick,promote…) are still limited by the Command Ranks panel, so this doesn't let visitors manage someone else's island. Servers that want to keep a command operator-only can negate its permission.Same change as BentoBoxWorld/BSkyBlock#560, BentoBoxWorld/AOneBlock#569 and BentoBoxWorld/AcidIsland#188, which switched these from
OPtoTRUE.🤖 Generated with Claude Code