How to use PermissionsEX ranks in other plugins

Discussion in 'Plugin Development' started by eldamit, Jul 29, 2017.

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

    eldamit

    Hello, I am working on a /report command, and I want to send it to staff members, to do so, I need to execute all the staff members: Mod, Admin, Owner how can I import the rank status of each online player into a java code?
     
  2. Offline

    Caderape2

    eldamit likes this.
  3. Offline

    eldamit

    Message Deleted

    @Caderape2 @Caderape2
    Oh ok! Thank you! :) Do I need to import any file for that one? (player.hasPermission()) except for the Spigot/Bukkit?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 29, 2017
  4. Offline

    Reflxction

    Give the staff ranks a special permission node, use a for-loop to loop through online players. Check if they have the node. If yes, then do whatever you want
     
  5. Offline

    FrostDevStudios

    @eldamit
    If your issue has been resolved, Please mark this thread as SOLVED
     
Thread Status:
Not open for further replies.

Share This Page