
PluginMIT
BankPluginSystem[BPS]
bank system from private server 1.14 - 1.21.8
155
Downloads
4
Followers
6 months ago
Updated
📦
2
Versions
📖About BankPluginSystem[BPS]
BankPluginSystem – Minecraft Virtual Banking Plugin
BankPluginSystem is a powerful and user-friendly virtual banking system for Minecraft servers. It allows players to manage in-game currency securely and gives server administrators flexible tools to configure and control the economy. The plugin includes a complete API for integration with other plugins.
Features
- Balance Management: Deposit, withdraw, and check player balances.
- Player-to-Player Transfers: Securely transfer funds between players.
- Transaction History: Paginated transaction logs for easy tracking.
- Customizable Currency: Diamonds, emeralds, gold, and diamond ore.
- Administrative Tools: Set bank name, configure currency, reload plugin.
- Enhanced GUI: CustomModelData for polished visual appearance.
- Multi-Storage Support: YAML, SQLite, or MySQL.
- Chat-Based Input: Interactive prompts for deposits, withdrawals, and transfers.
- Notifications: Periodic updates via chat.
Commands
/bank– Open bank GUI/balance– Check current balance/deposit <amount>– Deposit currency from inventory/withdraw <amount>– Withdraw currency to inventory/transfer <player> <amount>– Transfer funds to another player/setcurrency <diamond|emerald|gold|diamond_ore>– Set server currency (admin only)/setbankname <new name>– Change bank name (admin only)/bank reload– Reload the plugin (admin only)/bhelp– Show help and commands
API Overview
BankPluginSystem provides a full API for plugin developers. Available methods include:
Balance Management:
getBalance(playerName)/getBalance(player)– Get a player’s current balance.setBalance(playerName, amount)/setBalance(player, amount)– Set a player’s balance directly.
Deposits and Withdrawals:
deposit(playerName, amount)/deposit(player, amount)– Add funds to a player’s account.withdraw(playerName, amount)/withdraw(player, amount)– Remove funds from a player’s account.
Transfers:
transfer(fromPlayerName, toPlayerName, amount)– Transfer funds between players by name.transfer(fromPlayer, toPlayer, amount)– Transfer funds between Player objects.transfer(fromPlayer, toPlayerName, amount)– Transfer from a Player object to a player by name.
Transaction History:
getTransactions(playerName, page)/getTransactions(player, page)– Retrieve paginated transaction records.
Currency and Bank Info:
getCurrency()– Get current currency as a string.getCurrencyEnum()– Get currency type as an enum.getBankName()– Get current bank name.getStorageType()– Get storage type in use (YAML, SQLite, MySQL).