-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
Quite a big issue on my hands in relation to how spigot checks permissions.
https://github.com/Borlea/EchoPet/issues/8
Plugins hang pre-startup initialization the more plugins you have installed and the more permissions inside the plugin.yml that try to get injected. With EchoPet in my case, it adds over 2,000 permissions and hangs start-up by ~15 seconds. Removing all permissions inside the plugin.yml, initialization becomes near instant.
Can the permission system be fixed or optimized to not hang initialization based on how many plugins are used and how many permissions are available inside the plugin.yml? As with the more plugins and permissions, the longer individual initializations hang.
For reference.
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/permissions/Permission.java#209