By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

This Plugin Allows Players To Store Their Money In A Bank!
version 6.0.0
Approved
Direct Download How to install?
Switch version
1757 Downloads / 17624 Total
16 Reviews
Plugin Description §

Information

  • This plugin allows players to store their money in a bank.

Features

  • Withdraw Money into Bank
  • Deposit Money from Bank
  • Transfer Money to Other Players Bank Accounts
  • Transaction Log
  • Daily Interest
  • Configurable Interest Rates
  • Admins Can Manage Other Players Bank With "/bank {PlayerName}"
  • Customizable Messages
  • Automatic Backup System
  • Database Migration
  • MySQL and SQLite Support
  • Developer API
  • Bedrock Economy Support
  • ScoreHud Support

Command

Player Commands

  • /bank

Admin Commands

  • /bank {PlayerName}
  • /bank migrate - DO NOT USE THIS UNLESS YOU KNOW WHAT YOU ARE DOING!
  • /bank backup {save | load | restore} - Becareful when loading a backup, you will lose all data since the last saved backup unless you restore it but DO NOT take the risk!

Important

  • This plugin requires the latest version of Bedrock Economy!

ScoreHud Support

  • ScoreHud Tag: {bankui.money}

Images

Bank5 Bank2 Bank3 Bank4 Bank6 Admin

Permissions

  • bankui.cmd
  • bankui.admin
  • bankui.admin.backup (Required to use /bank backup)
  • bankui.admin.migrate (Required to use /bank migrate)

Developer API

  • You can give/take/set/get/save players money/transactions using our API.

BankUI::getInstance()->handleAction($player, $action, $subaction, $amount);

  • Add Money: BankUI::getInstance()->addMoney($playerName, $amount);
  • Take Money: BankUI::getInstance()->takeMoney($playerName, $amount);
  • Set Money: BankUI::getInstance()->setMoney($playerName, $amount);
  • Get Money: BankUI::getInstance()->>getMoney($playerName)->onCompletion(function(float $amount): void{ // Use $amount to get player's balance }, static fn() => null);
  • Add Economy Money: $this->addEconomyMoney($player->getName(),$data[1])->onCompletion(function (bool $updated): void{ if ($updated) { // Addition was successful } else { // Addition was not successful } }, static fn() => null);
  • Take Economy Money: $this->takeEconomyMoney($player->getName(),$data[1])->onCompletion(function (bool $updated): void{ if ($updated) { // Deduction was successful } else { // Deduction was not successful } }, static fn() => null);
  • Get Economy Money: $this->getEconomyMoney($player->getName())->onCompletion(function (float $money): void{ use $money to get the player's money }, static fn() => null);
  • Add Transaction: BankUI::getInstance()->addTransaction($playerName, $transaction);
  • Get Transactions: BankUI::getInstance()->>getTransactions($playerName)->onCompletion(function(string $transactions): void{ // Code (use $transactions) }, static fn() => null);
  • Check If Account Exists: BankUI::getInstance()->>accountExists($playerName)->onCompletion(function(bool $exists): void{ // Use $exists to check if account exists }, static fn() => null);
  • Set Transactions: BackupSystem::getInstance()->setTransaction($playerName, $transactions);
  • Save Data: BackupSystem::getInstance()->saveData($player);
  • Save All Online Players Data: BackupSystem::getInstance()->saveAllData();
  • Backup Data - REQUIRES BACKUP ENABLED: BackupSystem::getInstance()->backupData();
  • Load Backup - REQUIRES BACKUP ENABLED: BackupSystem::getInstance()->loadBackup();
  • Restore Backup - REQUIRES BACKUP ENABLED: BackupSystem::getInstance()->restoreBackup();
  • Migrate Database (Only "SQLite", "MySQL", and "SQL" is supported. "SQL" will migrate the database from/to the current database type in use and you should Save All before using this. Make sure you know what your doing as you can lose all of your data if not used correctly.): DatabaseMigration::getInstance()->migrateDatabase($migrateFrom, $migrateTo);

Config

# If true, players will get daily interest for the money in their bank
enable-interest: true

# Interst Rates is in percentage so if interst-rates = 50, it means 50% Interest Rates, if it is set at 1, it means 1% interest rates. (It is recommended to keep this low)
interest-rates: 1

# Backup System - You may want to set this to false if you think you or your staff may accidentally restore a backup and lose your data
enable-backups: true 

# "enabled-backups" must be true for automatic backups. 
enable-automatic-backups: true

# "enable-automatic-backups" must be true for this. This is how often your databases get automatically backed up. This is in minutes so 60 = 60 minutes. This number should be between 720-1440 (12-24 hours) DO NOT go less
# than 60 (1 hour) as this could cause lag for a few seconds if you have had alot of unique players join yuour server.
automatic-backups-time: 720

database:
  # The database type. "sqlite" and "mysql" are supported.
  type: sqlite

  # Edit these settings only if you choose "sqlite".
  sqlite:
    # The file name of the database in the plugin data folder.
    # You can also put an absolute path here.
    file: players.sqlite
  # Edit these settings only if you choose "mysql".
  mysql:
    host: 127.0.0.1
    # Avoid using the "root" user for security reasons.
    username: root
    password: ""
    schema: your_schema
  # The maximum number of simultaneous SQL queries
  # Recommended: 1 for sqlite, 2 for MySQL. You may want to further increase this value if your MySQL connection is very slow.
  worker-limit: 1
  
# "enable-backups" must be enabled for backups to work.
backup-database:
  # The database type. "sqlite" and "mysql" are supported. This should be set to "mysql" for backups to be most useful although you can use "sqlite" if you do not have a MySQL database.
  type: sqlite

  # Edit these settings only if you choose "sqlite".
  sqlite:
    # The file name of the database in the plugin data folder.
    # You can also put an absolute path here.
    file: backup.sqlite
  # Edit these settings only if you choose "mysql".
  mysql:
    host: 127.0.0.1
    # Avoid using the "root" user for security reasons.
    username: root
    password: ""
    schema: your_schema
  # The maximum number of simultaneous SQL queries
  # Recommended: 1 for sqlite, 2 for MySQL. You may want to further increase this value if your MySQL connection is very slow.
  worker-limit: 1
  
# DO NOT TOUCH
config-ver: 2

Credits

What's new §
  • Fixed duplication glitch
  • Updated to PM5
  • Fixed multiple bugs
  • Fixed bug with database migration
  • Fixed Bugs
  • Increased Performance
  • Added Developer API
  • Added Backups
  • Added Database Migration
  • Added ScoreHud support
  • Admins Can Now Edit Players Banks
  • Added Bedrock Economy Support
  • Added Customizable Messages
  • Removed EconomyAPI Support
  • AND MORE!
  • Fixed Bugs
  • Increased Performance
  • Added Developer API
  • Added Backups
  • Added Database Migration
  • Added ScoreHud support
  • Admins Can Now Edit Players Banks
  • Added Bedrock Economy Support
  • Added Customizable Messages
  • Removed EconomyAPI Support
  • AND MORE!
  • Updated to API 4
  • Removed "Time Zone" in config
  • Performance Increase
  • Admins Can Now Manage Bank Accounts
  • Fixed All Bugs
  • Fixed Syntax Errors
  • Added Developer API
  • Recent Transactions Are Now Shown At The Top Of The Transactions Log
  • Cleaned Up The Code
  • Fixed Dupe Bug
  • Added "/bank " to View a Player's Transactions
  • Added "bankui.admin" Permission
  • Added Interest
  • Added Transactions Log
  • Fixed dupe glitch
  • Fixed withdraw message to say the correct amount withdrawn

TrinitroToluen0
Outdated
using v5.0.0
25 Mar 24
Goat
ClickedTran
Outdated
using v5.0.0
13 Aug 23
I like it, hope in the future this plugin will not be stopped updating (by Vietnamese)
NotViper
Outdated
using v4.0.2
12 May 23
Crashed, when i type /bank
JoshuaPHYT
Outdated
using v3.0.0
22 Jul 22
Iamgirls502
Outdated
using v3.0.0
21 Mar 22
please fix when withdrawing all money from the bank why suddenly the server crash
IMMORTAL8768
Outdated
using v3.0.0
01 Mar 22
whenever i clicke ok the with draw all the server got closed please fix it as soon as possible please
Ansh38226
Outdated
using v3.0.0
23 Feb 22
How to add bank money in scordhud and please give discord link
QueenMedusa404
Outdated
using v3.0.0
18 Feb 22
Withdraw make me server close
MRDECE
Outdated
using v3.0.0
17 Feb 22
[08:43:43.504] [Server thread/INFO]: [BankUI] WARNING: BankUI's config is NOT up to date. Please delete the config.yml and restart the server or the plugin may not work properly. , PLEASE FIX
Delete the config.yml file.
Tuvqlu
Outdated
using v3.0.0
11 Feb 22
It worked, but now it crashes, check GitHub issues
The plugin still works fine. As I said on GitHub, I am not able to replicate the bug and looking through the code, there should be no crash. And as I said on GitHub, I will need more information/video before I can further look into the issue. Another plugin must be interfering with BankUI, try removing all plugins except BankUI and test it.
TrinitroToluen0
Outdated
using v2.0.0
08 Jan 22
Please update to PM4. Nice plugin.
ZenZoya
Outdated
using v1.0.2
23 Jul 21
Good job, keep update the plugin and add new feature.
Thank You! If you have any features you would like me to add, create an issue on the github page and let me know! https://github.com/ElectroGamesYT/BankUI
MahdiRicer
Outdated
using v1.0.1
08 Jul 21
So good and useful
Great to hear!
creeperplayer20
Outdated
using v1.0.1
06 Jul 21
Thanks for the review!
NoNeim1
Outdated
using v1.0.0
29 Jun 21
Add a permission for this please
Hello, thanks for the suggestion. Please open an Issue via the GitHub Repository and let me know what the permission will be for, thanks.
MrNinja008
Outdated
using v1.0.0
26 Jun 21
Quality plugin :D
Thanks.

Reply to review by :

/ 5
Supported API versions
5.0.0
->
5.16.0
Dependencies
BedrockEconomy 2.0.8
Required
View Plugin
Producers §
  • Collaborators:
    • @ElectroGamesDev
  • Contributors:
    • @TrinitroToluen0
    • @alitura1
License §
Categories:
General
Economy
Fun
Miscellaneous
API plugins
Permissions
Database
Other files
Permissions
Commands
Custom threading

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...