Permission Event?

Discussion in 'Spigot Plugin Development' started by Esquilo_Azul, May 11, 2015.

  1. Hello!

    How can i get like a "Permission Check Event"?

    I need to create a custom permission plugin and i see no events related to permissions
     
  2. Why do you need this kind of event?
     
  3. Permission Plugins don't take care of the permission check. Plugins that need permissions do it. So all you gotta do is, you need to hook into Bukkits Permission system so that player#hasPermission(string) returns true or false if he has the permission or not.

    And in the permission plugin store the permissions in a file / database of your choosing..

    Probably very simplistic view of a permission plugin but I hope you get the idea