BankPluginSystem[BPS]
bank system from private server 1.14 - 1.21.8
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
- Notifications: Deposit, withdraw, and check player balances. - Notifications: Securely transfer funds between players. - Notifications: Paginated transaction logs for easy tracking. - Notifications: Diamonds, emeralds, gold, and diamond ore. - Notifications: Set bank name, configure currency, reload plugin. - Notifications: CustomModelData for polished visual appearance. - Notifications: YAML, SQLite, or MySQL. - Notifications: 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).