Economy Bank
A simple economy bank system, that store data in MySQL Database or Flat File system. Banking transactions are made using signs, but also features admin commands to check/set other players accounts.
======> My plugins | My servers <======
Features
- Premium UUID and Offline UUID support.
- MySQL Database or Flat File Data Storage.
- Supports any Economy system that works with Vault.
- Uses TitleManager to add fancy action bar messages when doing banking transactions.
- Sound effects when using the bank system.
- Particle effects when creating bank signs.
- Processed economy number display for easy reading ex: 1,000,1260.50
- You can customize everything, chat prefix, messages, sign display.
- Can work on the same database as our plugin MySQL Economy Bridge
- Features interest options.
Dependencies
- Vault - Download
- Any Economy system compatible with Vault
- (optional, only for 1.7 or 1.8 for action bar messages) TitleManager - Download
- (optional, only needed for placeholders) PlaceholderAPI - Download
Install instructions
- Place the plugin in the server plugins folder. Make sure you have an economy system installed and Vault, optional TitleManager on 1.7 or 1.8 servers.
- Start the server to generate the config, then stop the server.
- Open the config and configure the plugin.
- Start the Server. Done, enjoy.
Create Banking Signs
To create/remove signs you need permission: MysqlEconomyBank.admin
Balance signs:
Shows the current Player Balance
[Bank]
balance
empty
empty
Deposit signs:
Deposits <AMOUNT> money.
[Bank]
deposit
<AMOUNT>
empty
Withdraw signs:
Withdraws <AMOUNT> money.
[Bank]
withdraw
<AMOUNT>
empty
<AMOUNT> format example: 1000 | 20 | 20.5 | 20.25
Permissions
MysqlEconomyBank.use - Default true - Allows the use of banking signs.
MysqlEconomyBank.admin - Default to OP - Allows to create/remove banking signs and use admin commands.
MysqlEconomyBank.cmd.interest - Default to OP - Access to /bank interest command.
MysqlEconomyBank.cmd.balance - Default to OP - Access to /bank balance command.
MysqlEconomyBank.cmd.deposit - Default to OP - Access to /bank deposit command.
MysqlEconomyBank.cmd.withdraw - Default to OP - Access to /bank withdraw command.
Commands
/bank ; /bank help ; /meb ; /meb help - Will display the help page
/bank reload ; /meb reload - Reloads the config.yml file. Requires permission MysqlEconomyBank.admin
/bank balance ; /meb balance - Check your bank balance. Requires permission MysqlEconomyBank.cmd.balance
/bank withdraw <amount> ; /meb withdraw <amount> - Withdraw money from your bank. Requires permission MysqlEconomyBank.cmd.withdraw
/bank deposit <amount> ; /meb deposit <amount> - Deposit money to your bank. Requires permission MysqlEconomyBank.cmd.deposit
/bank balance <name> ; /meb balance <name> - Check a players bank balance. Requires permission MysqlEconomyBank.admin
/bank set <name> <amount> ; /meb set <name> <amount> - Set a players bank balance. Requires permission MysqlEconomyBank.admin
/bank deposit <amount> <name> ; /meb deposit <amount> <name> - Deposit money to a player account. Requires permission MysqlEconomyBank.admin
/bank withdraw <amount> <name> ; /meb withdraw <amount> <name> - Take money from a player account. Requires permission MysqlEconomyBank.admin
/bank interest ; /meb interest - Check countdown to next interest. Requires permission MysqlEconomyBank.cmd.interest
PlaceholdersAPI integrated placeholders:
%economybank_balance% - Returns the players bank account balance.
Other useful info
Banking signs interaction
Supports right and left click, and to prevent spamming a cooldown option that can be adjusted in the config.
Removing banking signs
To remove the bank signs you must crouch then left click the sign to destroy it and have the admin permission.
Interest
You can enable interest in the config file, by default is disabled. You can configure the interest amount and time. The interest will be given only to online players, so offline players won't get rich being inactive. Also this helps reducing the server load. The interest task is running on a separate thread so server performance will no be affected.
MySQL Data Storage
By default the plugin will use the FlatFile storage, so you need to go to config and enable it and set the database details. Note that you need to create the database then the plugin will create the tables when the server starts. The tables structure is the same as our plugin MySQL Economy Bridge so you can use them together. Example setup: We use MySQL Economy Bridge on all our mini games servers to create a single economy system, but on survival servers as we needed a local economy system we use this plugin and set to the same database so players can withdraw money earned playing mini games.
FlatFile Data Storage
A similar Flat File storage system like the popular Essentials plugin. The plugin will create a folder near the config file called Accounts, each player that has a bank account will have a file to store his bank balance.
Note!
It should work with any economy system that is compatible with Vault, it was tested with Essentials Economy and latest Vault and latest TitleManager plugin.
If you like this resource and want to say thank you with a donation please use this PayPal button. Thanks!
This plugin is made by CraftersLand Minecraft Community.
:) Feel free to check us out at: www.craftersland.net
@rysroma
Alot on this plugin broke... like you can withdraw/deposit in such a way u get more then u had XD
Command /bank set <name> <amount> cannot create acount for player, making plugin useless. Also there is no /bank add command .
@brunyman
Thanks, It works perfectly now ^_^
Just one more thing, could you please add some specific <AMOUNT> to deposit/withdraw all available money? Something like:
[Bank] withdraw all
Hi, thx for this plugins ! I have a little problem. When my players come in the world of the bank, there are a lot a message in the chat : Unable to locate sign of 6663 75 7022 Unable to locate sign of 6545 75 7002 Unable to locate sign of 6633 75 7006 ..... etc
an idee ? the plugin work good, problem is just the spam in the chat
sry for my english
@rysroma
Just type balance, withdraw or deposit, after that the plugin will create the sign with the words you used in config
signFormat:
balance,deposit,withdraw doesnt customise. Here is my config and errors:
http://www.imagehosting.cz/?v=language.png
Hey if i use this command: /bank balance <name> then i dont get the balance of the <player> but the <player> got a message with his/her balance
i think that is not the sence of this command ^^
Isn't better to add /bank deposit <money> and /bank withdraw <money> ?
Maybe, /bank balance WITHOUT adding a name would show your own balance? :)
Sign feature: "[Bank] deposit 10000", you click this sign but you only have 5000. This will deposit 5000 instead of saying "You don't have $10,000 pocket"
You forgot to add "in your" btw. It's a easy fix for me, but you should fix it! :D
Thanks a lot, the testers come tomorrow to check my server and I discover that my bank plugin (Goldbank) its only junk and have horrible fails it's very unnestable but your plugin my friend, save my life, its beutiful, works nice with Cauldron 1.7.10 <3 :3
@Joshii2201
sure, as long as it has uuid support it will work on any bukkit version, so 1.7.10 is working
It is work with craftbukkit 1.7.10?
@zainmz
yes, by default it saves data as flat file system, like Essentials plugin
does this work without mysql?