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
Love The Plugin, But can you add An NPC with a GUI with all the available Withdraw and Deposit opinions with opinions to Withdraw or Deposit any amount the player wants.
Works great in pretty much every way I wanted. I do have some requests.
-Can we get "bank deposit/withdraw all"
- Is there anything in place to keep bank balances to only the hundredth decimal place? Got this going on:
[17:08:39 INFO]: >> Playername456 balance: 1859437.2813834955
Using essentials economy.
- ATM or GUI of some kind would be cool, but not at all needed.
Hello. Is the plugin also intended for 1.14.2? In this version, no file folder is created and the message appears in the console:
[09:35:49] [Server thread / INFO]: DantoxHD issued server command: / bank help
[09:35:49] [server thread / ERROR]: null
org.bukkit.command.CommandException: Can not execute command 'bank' in plugin MysqlEconomyBank v1.13.1 - plugin is disabled.
Please help. Thank you
How set up lines balance in titlemanager for scoreboard?
What are the placeholders if any?
The only way to get them is MySQL placeholders
If the players die,they will lose his money on the wallet?
Nice easy to use perfect for my setup but is there any chance of implementing an XP bank into the plugin? That's all my econ lacks now.
Is it possible for two players to share a bank account? Like if they're married? If not, could you add that in? And commands for someone to add someone onto their account, or maybe for them to keep individual accounts but have the option to open a joint account. It could be a command you do and you can add someone with a command and it'll send them a request, but they have to be online.
@teenusa
Hi, I use EssentialsX Economy
I am searching for an good economy plugin for my server and after 1 hour i gave up. So maybe you could give me some hints wich economy plugins I ca nuse for 1.9.
I am seyrcing for one with many features and it should not be to lightweight, because I want to do a lot with it. I hope you can help me a little bit
Thank you!
@NoHoPeLess
from your error my guess would be that something happened to your mysql database, have you tried using another seperate database to see if your issue still happens with a new database?
if not then I'm uncertain, the patter is SQLException: Field 'player_name' doesn't have a default value and in the caused by it clearly states ConfigurationHandler.java line 151, not sure how helpful this will be to you, but I will do some playing around to see if I have anything like the issue you're having, in the meantime run your config through a YAML parser to see if that turns up anything improperly formatted
Same with version 1.5.0 the interest are not working... have anyone an idea?
Hello btw nice plugin! I become this exception:
With mysql http://pastebin.com/4WUsbRwZ
And the interest are not working on mysql or flatfile
Can u please fix this?
I have essentials and iConomy for my base money, how am I able to link that to the balance signs? Because my balance with /bal is different from the [Bank] Balance sign.
Nice plugins but can you add XP bank ? I don't find a plugins for money and xp. 1.8 has changed algorytme of xp...
Sry for my english ^^
Are you gonna be updating this plugin?
@scorpionvssub
:D what bank plugin are you using?
Hello,
I have maxBankLimitMoney: 10000 And the percentageAmount is 10% The Balance is 9500. Interest is 950. Korrekt working Plugin is the New Balance = 10000 (maxBankLimitMoney) Your Plugin add 9500 + 950 = new Balance 10450 Add too much 450 The Border is no works. This is a exponentially function!!! Please fix this.
Thanks!
Hi, this is a Bug: Interest amount add over Border Maximum amount of money on players.
Sorry for my bad english