MineBank

MineBank

[1.8 - 1.21.8]


Version: 5.1.4

Download

Home

MineBank - Created by Guayando

Compiled with Java 8

Statistics

+2000 Downloads

Version Stars
Category

Currently Playing:

Servers Players

Plugin Statistics: bStats

Plugin Statistics

If you've found any bug or have an idea for this plugin, you can submit it here: Github-Support

Features

Allows storing money in the bank.
Allows earning money passively by keeping money in the bank.
Allows losing money through interest when withdrawing money from the bank.
Creates banks with unlimited levels and storage.
Each bank has its own permission.
Allows using all placeholders in messages.
Allows using placeholders in the inventory GUI.
Support for PlaceholderAPI in messages and inventory GUI.

Customizable inventory GUI (1.13+):
· Change the inventory name
· Change the inventory size
· Change the item position
· Change the default item
· Change the item name
· Change the item lore
· Change the item quantity
· Change the texture of player heads
· Click on the item to execute a command
· Add a required permission to use the command
· Support for PlaceholderAPI.

Placeholders

MineBank Plugin Placeholders
Work in messages and inventory
· %plugin% - Displays the plugin prefix
· %version% - Displays the current version of the plugin
· %latestversion% - Displays the latest version of the plugin
· %link% - Displays the download link for the plugin
· %author% - Displays the author of the plugin

Work in messages and inventory
· %playerName% - Displays the name of the player executing the command.
· %playerBankBalance% - Displays the current bank balance of the player executing the command.
· %playerBankLevel% - Displays the bank level of the player executing the command.
· %playerBankName% - Displays the name of the bank of the player executing the command.
· %playerBankMaxStorage% - Displays the maximum bank balance of the player executing the command.
· %playerBankMaxLevel% - Displays the maximum bank level of the player executing the command.
· %playerBankTop% - Displays the top position of the player's bank executing the command.
· %playerBalance% - Displays the player's economy balance executing the command.

· %unlockNextLevelPrice% - Displays the amount needed to level up the player's bank.
· %unlockNextLevel% - Displays the new bank level after leveling up for the player executing the command.

Work only in messages
· %targetName% - Displays the name of the player receiving the command.
· %targetBankBalance% - Displays the current bank balance of the player receiving the command.
· %targetBankLevel% - Displays the bank level of the player receiving the command.
· %targetBankName% - Displays the name of the bank of the player receiving the command.
· %targetBankMaxStorage% - Displays the maximum bank balance of the player receiving the command.
· %targetBankMaxLevel% - Displays the maximum bank level of the player receiving the command.
· %targetBalance% - Displays the economy balance of the player receiving the command.

Work only in messages
· %topPosition% - Player's position in the bank top list.
· %topName% - Player's name in the bank top list.
· %topBank% - Bank name of the player in the bank top list.
· %topBalance% - Player's balance in the bank top list.

Work only in inventory
· %bankTopPosition<nº>% - Player's position in the top <nº> of the bank.
· %bankTopName<nº>% - Player's name in the top <nº> of the bank.
· %bankTopBalance<nº>% - Player's balance in the top <nº> of the bank.
· %bankTopBankName<nº>% - Bank name of the player in the top <nº> of the bank.

Work in messages and some also in inventory
· %amount% - Amount specified in the command.
· %setBankLevel% - Level set in the command.
· %amountDeducted% - Amount withdrawn from the bank without interest.
· %amountReceived% - Amount received when withdrawing money from the bank with interest.
· %interestPercentage% - Interest percentage when withdrawing money from the bank.
· %keepInBankProfit% - Amount earned by keeping money in the bank.
· %profitPercentage% - Profit percentage for keeping money in the bank.
· %minAmountToWinProfit% - Minimum amount of money in the bank to earn profit.

Internal Variables of PlaceholderAPI
Work in messages and inventory
· %minebank_player_name% - Displays your name
· %minebank_player_bank_name% - Displays your bank name
· %minebank_player_bank_balance% - Displays your balance
· %minebank_player_bank_max_balance% - Displays the maximum balance storage
· %minebank_player_bank_level% - Displays your bank level
· %minebank_player_bank_next_level_price% - Displays the balance needed to level up your bank
· %minebank_player_bank_max_level% - Displays the maximum bank level
· %minebank_player_bank_top_position% - Displays your position in the bank ranking
· %minebank_player_balance% - Displays your economy balance

Commands

Blue commands are for administrators.

Green commands are for all players.


Alias - minebank, mb

/minebank help - Shows the MineBank command list

/minebank reload - Reloads the plugin configuration

/minebank version - Shows the plugin version

/minebank author - Shows the plugin author

/minebank permissions - Shows the plugin permissions list

/minebank plugin - Shows the plugin download link


/bank - Opens the inventory (1.13+)

/bank help - Shows the Bank command list

/bank add <amount> - Deposits a specified amount of money

/bank add mid - Deposits half of the current balance of your bank level

/bank add midmax - Deposits half of the maximum balance of your bank level

/bank add max - Deposits the maximum balance of your bank level

/bank take <amount> - Withdraws a specified amount of money

/bank take mid - Withdraws half of the current balance of your bank level

/bank take midmax - Withdraws half of the maximum balance of your bank level

/bank take max - Withdraws the maximum balance of your bank level

/bank set <player> bal <amount> - Sets the player's balance

/bank set <player> bal midmax - Sets the player's balance to half of the maximum balance of their bank level

/bank set <player> bal max - Sets the player's balance to the maximum balance of their bank level

/bank set <player> level <level> - Sets the player's bank level

/bank set <player> level midmax - Sets the player's bank level to half of the maximum bank level

/bank set <player> level max - Sets the player's bank level to the maximum bank level

/bank set <player> level <level> true - Sets the player's bank level and adjusts the balance to the maximum

/bank set <player> level <level> false - Sets the player's bank level and adjusts the balance if it is above the maximum

/bank top - Shows the players with the most money in the bank

/bank bal - Checks the amount of money in your bank

/bank bal <player> - Checks the amount of money in another player's bank

/bank max bal - Checks the maximum money capacity of your bank level

/bank max bal <player> - Checks the maximum money capacity of another player's bank

/bank max level - Checks the maximum level of your bank

/bank max level <player> - Checks the maximum bank level of another player

/bank level - Checks your bank level

/bank level <player> - Checks another player's bank level

/bank levelup - Upgrades your bank level

Permissions

Blue permissions are for administrators.

Green permissions are for all players.


minebank.admin - Administrator permission

minebank.updatechecker - Allows receiving messages if there is an update

minebank.use - Allows using the bank

minebank.bank.<bankName> - Sets the <bankName> bank for the player

Dependencies

Required

You need Vault and an economy plugin like EssentialsX that supports Vault.


Optional

Support for PlaceholderAPI.

Others

Possible Future Updates

+ Inventory GUI for versions 1.8 to 1.12

+ Add different interest rates for each bank

+ Add a loan system between players

+ Create joint banks to share money between multiple players

+ Add a bitcoin system


If you have any ideas to improve this plugin, you can send them here: Github-Idea


Known Issues

BankInventoryEvent.openBankInventory: placing an item in an impossible slot (if there are 4 rows (9*4= 36) placing an item in slot 42)

BankInventoryManager.reloadConfig: setting a non-existent language in "config.inventory-language" (e.g., "qwe")