Check for multiple permission with same base...?

Discussion in 'Plugin Development' started by pokekart2014, Dec 3, 2015.

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

    pokekart2014

    So, my bukkit plugin has many permissions to check for many things.
    Now, I want to check, if a player has any of the plugin's permissions.

    For example, this is a situation like me:

    stuff.use
    stuff.fun
    stuff.open

    And then, in the Bukkit plugin code, I would like to check how many permissions from Stuff the player has, and also, if the player has any Stuff permissions.

    The permission base part will be unique, so that it will not collide with any other plugin when counting.
     
  2. Online

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page