The Diamond Bank 2.3
Overview:
The Diamond Bank provides a simple diamond based economy compatible with Vault in Spigot. Players balances consist of both a bank balance and physical diamond nuggets, ingots and blocks on-hand.
Benefits:
- Easy to use and very little configuration
- Pay for items with diamond you have in your bank and if not enough pay with the diamond on your person.
Features:
- Players can deposit diamond on-hand into their diamond bank account.
- Players can withdraw diamond from their diamond bank account to their inventory.
- Diamond gems are the base denomination, Diamond blocks are 9x just like in game.
- Admins can add, remove or set diamond for players.
- Vault compatible for online and offline transactions.
- Support for Towny and Factions!
- Stores diamond bank balances directly in persistent player data
- PlaceholderAPI integration for %diamondbank_balance%, %diamondbank_in_bank%, and %diamondbank_on_hand%.
Commands:
/bank - check your balance
/bank balance - check your balance
/bank deposit - deposit diamond in hand
/bank deposit all - deposit all diamond in inventory
/bank pay <player> <amount> - pay an amount of diamond to a player
/bank withdraw <amount> - withdraw amount of diamond
/bank withdraw all - withdraw all your diamond
/bank transfer <player> <amount> - transfer to player amount of diamond
/bank add <player> <amount> - add amount of diamond to player balance
/bank remove <player> <amount> - remove amount of diamond from player balance
/bank set <player> <amount> - set player's balance
/bank baltop - list the top bank balances
/bank balance <player> - get a player's balance
/diamondbank reload - reloads the configuration
/balance <player> - get a player's balance
/baltop - list the top bank balances
/deposit - deposit diamond in hand
/deposit all - deposit all diamond in inventory
/pay <player> <amount> - pay an amount of diamond to a player
/withdraw <amount> - withdraw amount of diamond
/withdraw all - withdraw all your diamond
Permissions:
diamondbank.balance - enables using the bank balance command (default: true)
diamondbank.deposit - enables using the bank deposit (default: true)
diamondbank.withdraw - enables using the bank withdraw command (default: true)
diamondbank.transfer - enables using the bank transfer or bank pay command (default: true)
diamondbank.pay - enables using the bank transfer or bank pay command (default: true)
diamondbank.add - enables using the bank add command (default: op)
diamondbank.remove - enables using the bank remove command (default: op)
diamondbank.set - enables using the bank set command (default: op)
diamondbank.baltop - enables using the bank baltop command (default: op)
diamondbank.balance.others - enables using the bank balance <player> command (default: op)
diamondbank.reload - enables using the bank reload command (default: op)
Known Issues:
Players that do /withdraw all on a large bank balance might cause lag.
Terms of Service:
The plugin is provided AS-IS.
Disclaimer:
This plugin currently only supports versions 1.20.4.
![[IMG]](/proxy/image?url=https%3A%2F%2Fwww.paypalobjects.com%2Fen_US%2Fi%2Fbtn%2Fbtn_donate_LG.gif)
It takes a lot of tasty coffee to keep cranking out quality code.
Please donate if you like my plugins...