How do i support All Permissions Systems (Without Vault)

Discussion in 'Plugin Development' started by IcyRelic, Apr 21, 2012.

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

    IcyRelic

    How do i support the following
    Permissions 3.x
    PermissionsEx
    Essentials GM
    bPermissions
    PermissionsBukkit
    zPermissions


    Do i need to check what permissions system they are using and then check the permissions and if no permission system default to op?

    if so could you link me to the API's so i can do it the only api i know how to use is PEX and PermissionsEx there is no api its just what bukkit has already so i would need the other 4

    Thanks
     
  2. Offline

    ZNickq

    player.hasPermission?
     
  3. Offline

    codename_B

    Vault is the best way to do this.

    Either use Vault or use the basic player.hasPermissions

    Hooking into everything individually is just more work than necessary.
     
  4. Offline

    IcyRelic

    i dont want to use vault (anymore)
     
  5. Offline

    SirTyler

    Then use the default player.hasPermission(); As long as you are only checking for if they have the perm and not for anything specific to the permission plugin such as groups or such you should be fine.
     
  6. Offline

    IcyRelic

    but that only supports PermissionsBukkit i think
     
  7. Offline

    codename_B

    No, any modern permission plugin uses the player.hasPermission superperms system.

    If it doesn't support that it's not worth using.
     
  8. Offline

    IcyRelic

    and what are the modern ones?
    Pex
    PermissionsBukkit
    .....
     
  9. Offline

    codename_B

    bPermissions
     
  10. Offline

    IcyRelic

    so those 3?
     
  11. Offline

    Deleted user

    bPermissions
    PermissionsEx
    PermissionsBukkit

    Those three are the most popular.
     
Thread Status:
Not open for further replies.

Share This Page