I can't seem to get bPerms to work with my plugin?

Discussion in 'Plugin Development' started by nala3, May 15, 2012.

  1. Offline

    nala3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 2 times. It was last edited by nala3 May 15, 2012.
  2. Offline

    SirTyler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It looks like it would work, are the users miss-using bPerms maybe?
  3. Offline

    nala3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 1 time. It was last edited by nala3 May 15, 2012.
  4. Offline

    nala3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  5. Offline

    Njol

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you only need to check permissions (and not groups/prefixes etc.) you can simply use player.hasPermission(), there's no need to use Vault for this.
  6. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's an awfully complicated way of avoiding typing if(player.hasPermission("perm.here"))
  7. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is the issue that noitem.* isn't working?

    This is because you haven't registered it as a parent node.

    Each node will work individually unless you define a parent/child relationship setup.

    The only reason PEX requires this is because it hacks its way into overriding the default (and recommended) superperms method and so creates a great deal of confusion among users.

Share This Page