Deregister Permissions

Discussion in 'Plugin Development' started by TheE, Aug 14, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    TheE

    If I register some permissions manually(via PluginManagers's addPermission())because their names depends on configurable values, am I expected to deregister them when the plugin is disabled (PluginManager's removePermission())? Or is this something bukkit handles internally?

    Deregistration does not seem to be necessary, /reload works fine, but I wonder how bukkit acts here internally and what I am supposed top do by design. Does unloading a plugin also deregister permissions set via its plugin.yml?
     
  2. TheE I don't really know and I wouldn't think you would have to manually unregister them, but you could unregister them just to be safe.
     
Thread Status:
Not open for further replies.

Share This Page