Solved Registering Permissions

Discussion in 'Spigot Plugin Development' started by Wilsoon, Feb 7, 2020.

Thread Status:
Not open for further replies.
  1. So I know there has been multiple threads regarding permissions registering, however it doesn't seem to be clear enough for me to understand so I'm making my own thread about it.

    1. Do I have to register my permissions?

    2. What are the different ways to do it? (I know there's via plugin.yml, via getPluginManager#addPermission, what else?)

    3. What is the most efficient way to do this?
     
  2. SteelPhoenix

    Moderator

    A (proper) permissions plugin can deal with unregistered permissions, so unless you want to use permission defaults (access for every player/only OPs/only non-OPs/no player) there's not really a need to register them.
     
  3. Thank you, however, if I need to register, what would be the most efficient way?
     
  4. SteelPhoenix

    Moderator

    doesn't matter, but permissions defined in the plugin.yml will be registered for you.
     
  5. Okay, thank you!
     
Thread Status:
Not open for further replies.