Solved Ranks

Discussion in 'Spigot Plugin Development' started by Lutheron, Jun 9, 2018.

  1. Hello and im making a rankup sign plugin. Everything works, but my plugin only supports pex and vault, and i want the plugin to work with any permission plugin. I know you can do it with vault, but how?
     
  2. If you configured Vault into your build path, you can make a hook of the api in your main class and use the method Permission.has(World world, String player, String permission). Here is the api class of Vault.
     
    • Agree Agree x 1
  3. Check the github page. There you can scroll through all possible methods.
     
  4. That's just a bunch of methods which end up doing CommandSender.hasPermission, which is what I linked