- This plugin allows players to store their money in a bank.
- 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}"
- /bank
- /bank {PlayerName}
- This plugin Requires EconomyAPI by OneBone
- bankui.admin
-
You can give/take/set/get players money/transactions using functions.
-
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);
-
Add Transaction:
BankUI::getInstance()->addTransaction($playerName, $message);
# DO NOT TOUCH
config-ver: 1
# 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
# Timezones can be found at https://www.php.net/manual/en/timezones.php if you don't know what your doing, keep this at "America/Chicago" (OR IT WILL BREAK THE PLUGIN). Players will recieve their daily interest at 12pm in this timezone.
timezone: America/Chicago
- Icon from www.flaticon.com