WolfyScript / WolfyUtils-Spigot

The WolfyUtilities implementation for the Spigot platform
10 stars 4 forks source link

Improved Permission handling of GUIs #15

Closed WolfyScript closed 2 years ago

WolfyScript commented 2 years ago

Each GUI window will properly register its permission now. If the specific permission is already available it instead uses that already defined permission. So you can define it manually via the plugin.yml to configure its default value and permission and the menu will link to it.

The Permissions class doesn't really serve a huge purpose anymore it just initates the root permission of the plugin.