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?
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.
I'm not actually sure since I haven't used it in a while but doesn't #hasPermission(String name) work?
That's just a bunch of methods which end up doing CommandSender.hasPermission, which is what I linked