getPermissions and plugin.yml

Discussion in 'Plugin Development' started by ks07, Sep 22, 2012.

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

    ks07

    Hey all,

    I've entered all of my permission nodes in my plugin.yml so that I can pair them with a description and setup parent nodes without having to set this up programatically. I don't want to set defaults in my plugin.yml, so I'm attempting to set defaults in code. The problem is, PluginManager.getPermission("node") returns null even for permissions that are specified in the plugin yml. Trying to debug the problem, I also check PluginManager.getPermissions(), which returns an empty set. It seems as though the nodes in my plugin.yml are completely ignored...

    Am I misunderstanding? Or is this a bug? :confused:
     
  2. Please show your plugin.yml
     
  3. Offline

    ks07

Thread Status:
Not open for further replies.

Share This Page