Vault API

Discussion in 'Plugin Development' started by Tommy Raids, Dec 7, 2014.

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

    Tommy Raids

    Sorry for my lack of knowledge, but how would I check what group someone's in using Vault API? (GroupManager) yea, I tried looking around the examples and none of them really helps. s:
                if(!p.hasPermission("litus.vanish.mod")) { //insert group here instead of perm??
                    p.sendMessage("Unknown command. Type \"/help\" for help.");
  2. Offline


    looks like your example just uses the bukkit API. the Vault page has information on how to get the Vault permission interface, all of the methods you would need to use for group related information are available on the javadocs here: an exmaple implementation is in VaultAPIs readme:
    Tommy Raids likes this.
  3. Offline

    Tommy Raids

    Thanks :)
Thread Status:
Not open for further replies.

Share This Page