pop4959 / Bolt

Modern protection solution for individual blocks and entities
GNU General Public License v3.0
50 stars 7 forks source link

Add permission checks to globally bypass permissions #116

Closed rymiel closed 9 months ago

rymiel commented 9 months ago

Add bukkit permissions that bypass bolt permissions. Permissions within permissions!

I think this fixes #98. If you want to give your moderators the ability to open chests, you can give them the permissions bolt.permission.interact and bolt.permission.open. In this case, they wouldn't be able to take or remove things, for that you'd need to deposit and withdraw permissions. To give someone the permission to unlock protections, you'd need to give them bolt.permission.destroy.