mukeenanyafiq / BankUI

A BankUI Plugin For PocketMine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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}"

Command

  • /bank
  • /bank {PlayerName}

Important

  • This plugin Requires EconomyAPI by OneBone

Images

Bank5 Bank2 Bank3 Bank4 Bank6 admn

Permissions

  • bankui.admin

Developer API

  • 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);

Config

# 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

Credits

About

A BankUI Plugin For PocketMine

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%