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.
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.