-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
[Feature] Punishments can't be removed by lowest staff's ranks + revoke OWN punishment permissions #965
Comments
So the first request isn't possible. Bukkit's permission system does not allow for checking permissions of offline players. The second is, I can add .own permissions for unbanning ip, dwarn etc |
For the 1st, you could create a system of personalized permissions like In config you : staff-order-revoke: true
staff-order:
- administrator
- moderator
- helper and then if this feature is enabled, when someone wants to revoke someone's punishment, you check in the database the rank of the punisher compared to the actual + then it could be interesting to add the option to disable the possibility to staff members to revoke punishment applied by others staff members with the same rank : For the 2nd, it's exactly what i meant ^^ |
If an ADMINISTRATOR punished a player, then a MODERATOR can't revoke this punishment,
If a MODERATOR punished a player, then an HELPER can't revoke this punishment but an ADMINISTRATOR could do it
+ create permissions
bm.command.[unbanip/unwarn/...].own
for each punishment typeThe text was updated successfully, but these errors were encountered: