Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team permissions #1144

Closed
x1p opened this issue Jan 17, 2020 · 0 comments
Closed

Team permissions #1144

x1p opened this issue Jan 17, 2020 · 0 comments
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Enhancement Improvement or modification which is usually a new feature.
Milestone

Comments

@x1p
Copy link

x1p commented Jan 17, 2020

Description

Is your feature request related to a problem?

I want players the permission to (un)coop, but no other team functions
So I give the perm bskyblock.island.team.coop which works.
However the commands are not tab completable.
For that I would have to give also bskyblock.island.team + all negative sub-perms for those commands I do not want them to use.
Problem is: some commands are still valid like invite and they also work.

Describe the solution you'd like us to implement.

Ability to tab complete the command /is team (un)coop with the perm bskyblock.island.team.coop
Or a permission to negate to hide commands they are not allowed.

Describe alternatives you've considered.

  • searched the plugins addon.yml for children of bskyblock.island.team to be negated - doesn't exist
  • Try to negate e.g. bskyblock.island.team.invite - doesn't exist
  • bskyblock.team.maxsize.0 - doesn't work
  • Introduce an alias command like /coop to let it tab complete for players. But it is a /is command and it therefor illogical for players. And aliases can't contain a space. So /is coop is not possible.

Additional context

@Poslovitch Poslovitch transferred this issue from BentoBoxWorld/BSkyBlock Jan 17, 2020
@tastybento tastybento added the Type: Enhancement Improvement or modification which is usually a new feature. label Jan 19, 2020
@tastybento tastybento self-assigned this Jan 19, 2020
@tastybento tastybento added the Status: In progress Working on the issue. label Jan 19, 2020
tastybento added a commit that referenced this issue Jan 19, 2020
#1144

Also fixes a bug where the untrust was using the coop perm.
Poslovitch added a commit that referenced this issue Jan 25, 2020
#1144

Also fixes a bug where the untrust was using the coop perm.

Co-authored-by: Florian CUNY <[email protected]>
@Poslovitch Poslovitch added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: In progress Working on the issue. labels Jan 25, 2020
@Poslovitch Poslovitch added this to the 1.11.0 milestone Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Enhancement Improvement or modification which is usually a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants