About Bank System
Enhance your server's economy with a comprehensive banking system! Players can manage their finances through ATMs, transfer money, and even earn interest. Fully customizable and integrable with other economy plugins.
Features
ATM system: Players can install their own ATMs and receive profit from them.
ATMs can break and be repaired.
Money transfer system between players.
Support for HumanNPC.
Ability for players to earn money.
Adds banknotes as a new item to the game.
Auto Wipe options for each item.
Works with third-party economy plugins (optional).
Conversion from ServerRewards and Economics.
Commands
bank - open the bank interface
bank.givenote [target] [amount] - give banknotes to the player
bank.giveatm [target] - give ATM to the player
bank.setbalance [target] - set balance for the player
bank.deposit [target] - deposit money to the player
bank.withdraw [target] - withdraw money from a player
bank.transfer [player] [target] - transfer money from a player to another player
bank.wipe [type] (0 - all, 1 - players, 2 - logs, 3 - ATMs) - wipe data
bank.convert.economics - convert from Economics
bank.convert.serverrewards - convert from ServerRewards
Hooks and API
The plugin provides several hooks and API methods for developers to integrate with other plugins or custom scripts.
Hooks:
private object CanPlayerCreateCard(BasePlayer player)
private void OnPlayerCreatedCard(BasePlayer player)
private void OnBalanceChanged(ulong member, int amount)
API Methods:
private bool HasCard(BasePlayer player)
private bool HasCard(ulong member)
private int Balance(BasePlayer player)
private int Balance(ulong member)
private bool Deposit(BasePlayer player, int amount)
private bool Deposit(string member, int amount)
private bool Deposit(ulong member, int amount)
private bool Withdraw(BasePlayer player, int amount)
private bool Withdraw(string member, int amount)
private bool Withdraw(ulong member, int amount)
private bool Transfer(BasePlayer member, BasePlayer target, int amount)
private bool Transfer(string member, string target, int amount)
private bool Transfer(ulong member, ulong target, int amount)
Permissions:
"Permission (example: banksystem.use)": "banksystem.use",