- Tags
-
- Tags
- None
I created this plugin for all those prison servers or servers out their that have big Vault economies and make it super annoying to read the amount in /pay.
Vault
/bal - This is the only enchant for the plugin, displaying the current balance for you. The aliases for this command are also: [balance, money, ebalance, ebal, emoney]
cb.balance - The permission required to view your balance.
cb.balance.others - The permission required to view other people's balance.

Vault

/bal - This is the only enchant for the plugin, displaying the current balance for you. The aliases for this command are also: [balance, money, ebalance, ebal, emoney]

cb.balance - The permission required to view your balance.
cb.balance.others - The permission required to view other people's balance.



Code:
#You can use {displayname} to show their displayname or use
#{name} to get their exact name.
Messages:
Balance: "&aBalance: &c${amount}"
BalanceOther: "&aBalance of {displayname}&a: &c${amount}"
NoPermission: "&4You do not have access to this command."
BalanceInvalid: "&c/bal [player]"
PlayerOffline: "&cError: &4Player not found."

API:
Code:
//@param p - Can be offline or online player.
CustomBalance.getMoney(p);