Solved How do permissions plugins work under the hood?

Discussion in 'Spigot Plugin Development' started by MineStein, Apr 17, 2018.

  1. The title is relatively self-explanatory. I'd like for someone to explain to me how these permissions plugins work under the hood.


    Sent from my iPhone using Tapatalk
     
  2. md_5

    Administrator Developer

    They parse the config file and then use the bukkit permissions api to add appropriate permission attachments to the player, after taking into account groups/inheritance/negation.
     
  3. Are permission attachments persistent?
     
  4. md_5

    Administrator Developer

    No, they’re removed when the player logs out
     

  5. Pretty good tutorial on the basics of making a permissions plugin.
     
  6. Alright, thank you everyone! I have a good understanding of how this works now!
     

Share This Page