A CommandHelper extension providing access to Vault's API.
Download the correct version for your version of CommandHelper:
CHVault 2.1.1 (CommandHelper 3.3.1 - 3.3.3)
CHVault 2.1.3 (CommandHelper 3.3.4 - 3.3.5)
CHVault 2.1.4 (CommandHelper 3.3.5)
Uses Vault to extend the potential of permissions checking with group and multiworld support.
Checks the permission value of a player, optionally in a specific world. When used on an offline player, the accuracy depends on the permission plugin.
Returns an array of groups that the player is in. When used on offline players, the accuracy of this function is dependent on the permissions plugin.
Returns the prefix of group in world.
Returns the suffix of group in world.
Returns the prefix of user in world. Accuracy is plugin dependent if user is not online.
Returns the suffix of user in world. Accuracy is plugin dependent if user is not online.
Provides functions to hook into the server's economy plugin. To use any of these functions, you must have a Vault compatible economy plugin installed in addition to the Vault plugin. Beyond this, there is no special setup to get the economy functions working, assuming they work for you in game using the plugin's default controls. Bank controls may not be supported in your particular plugin, check the details of that particular plugin.
Adds an amount to the specified account
Returns the balance of the given account name.
Divides the account by the given amount
Multiplies the account balance by the given amount
Sets the account's balance to the given amount
Subtracts the given amount from the specified account
Adds the specified amount to the bank account's balance
Gets the specified bank account's balance
Divides the bank account's balance by the given value
Multiplies the given bank account's balance by the given value
Removes the given bank account from the game
Sets the bank account's balance to the given amount
Subtracts the specified amount from the bank account's balance