Fix HeadURL to work with 1.21.3
Hide tooltips from item (1.20.5+ only!)
Improve error logging on configuration files
Please read the below notes if you are updating from prior to 4.8.0
PLEASE MAKE SURE TO READ UPDATE NOTES!
BACKUP DATABASE BEFORE UPDATING.
4.8.0
This update contains breaking changes to the way itemstacks are saved.
Requirements to install this update!
Steps to update data:
- Backup database mysql tables or sqlite database.db!
- Under /plugins/Bank/upgrade.yml make sure Upgrade.Version is 470 or less
- If it says 480 and you have yet to update the save data, please set it to 470
- Start server and check server console/logs for any errors, if no errors it will print migration progress to the console
4.8.1 Fix item name comparator for some minecraft versions
Please read the below notes if you are updating from prior to 4.8.0
PLEASE MAKE SURE TO READ UPDATE NOTES!
BACKUP DATABASE BEFORE UPDATING.
4.8.0
This update contains breaking changes to the way itemstacks are saved.
Requirements to install this update!
Steps to update data:
- Backup database mysql tables or sqlite database.db!
- Under /plugins/Bank/upgrade.yml make sure Upgrade.Version is 470 or less
- If it says 480 and you have yet to update the save data, please set it to 470
- Start server and check server console/logs for any errors, if no errors it will print migration progress to the console
PLEASE MAKE SURE TO READ UPDATE NOTES!
BACKUP DATABASE BEFORE UPDATING.
4.8.0
This update contains breaking changes to the way itemstacks are saved.
Requirements to install this update!
Steps to update data:
- Backup database mysql tables or sqlite database.db!
- Under /plugins/Bank/upgrade.yml make sure Upgrade.Version is 470 or less
- If it says 480 and you have yet to update the save data, please set it to 470
- Start server and check server console/logs for any errors, if no errors it will print migration progress to the console
Add config option for money withdraw full dollars only
Add baltop placeholders (premium)
Add baltop update timer to config
Add '/baltop' which calculates vault balance and bank balance totaled (Premium)
Fix item paths cloning other item amounts
Fix buying slots on tabs the player has locked
Start implementing tests to build process
Fix issue where offline money/exp interest could reset total money/exp
Add exp & money add/balance/subtract admin commands eg '/bank admin money add <player> <amount>'
Add config setting for tab amounts, can have unlimited tab amounts
Add scroll left/right in items menu for tab selection
Fix items_count placeholder
Fix player heads warning
Add ability to merge item counts in slots - Slots can now hold more than the minecraft stack size
Add permission for merge item max - Permission controls the max stack amount, will default to config setting otherwise
Add placeholder bank_items_count_[material]:[damage]#[custom_model_data] - Counts items of the type in all tabs an returns a number
Add money/exp offline interest max payout
Add money/exp online/offline interest permissions
Improve blacklist inventory title
If you are using the pin system, please update your items.yml if you need item amounts in the menu
Add ability to set pin amount
Add placeholder prefix to config
Add ItemFlags to items config
Add <player_name> to '/bank info' and inventory names
Add config option to disable setting tabs item amounts
Add trashcan blacklist '/bank admin item trashblacklist'
Fix buying unlimited item slots
Add message for not enough money
Add debug to permissions check: '/bank admin permission update <player> [true/false]'
Update permissions on bank admin reload
Fix Bukkit.getPlayer
Add console force open command '/bank open <player>'
Add delayed load
Fix loans permissions error on admin open
Add money/exp defaults to config (applies to new accounts)
Add item defaults, edit with '/bank admin item default' (applies to new accounts)
Add 'back' item configuration for each inventory
Add scroll items to config for each scrollable inventory
Fix head item amounts
Fix interest sync timers
Remove enabled check for item blacklist command, can now edit if disabled
Remove unnecessary log info
Moved advanced config files to /conf folder
Add PlayerHead value to items.yml, this will replace the item with the current players head
Add ability to give extra bank permissions to admins (permissions.yml)
Add admin debug item command
Improve bank pin items 0-9 & progress to be fully customizable
Improve permission checks for users & admins
Fix items per tab
Fix placeholders sometimes throwing errors
Fix duplicate '/bank info' border
Fix opening last tab
Major update coming for 4.6.0
Add combining tabs permission
Add dynamic bank inventory item slots
Add item deposit/withdraw to permissions.yml (must enable check)
Add bankplus converter
Improve citizens detection
Improve sql connections
Improve items.yml description
Fix admin reset command
Fix issue with bank item locked configuration
Fix HeadURL on items to accept minecraft urls
Fix formatting on eco set unknown player message
Moved '/bank admin add/remove block' to '/bank admin block add/remove'
Removed config option BANK_ITEMS_TABS_ROWS
General code cleanup
Add bank locked slots, show an icon for slots that are locked, with the additional option to purchase slots after clicking them
Add debug for issues with economy transactions
Fix formatting issues with non decimal systems
Add item whitelist mode
Fix sending exp issue
Enable whitelist mode by changing config mode to WHITELIST, only items added to the blacklist will be allowed in the bank.
Bank withdraw tax on exp/money
config.yml additions:
Code (Text):
Bank:
Exp:
Withdraw:
Tax:
# Percentage to tax players when withdrawing, 0.01 = 1%
Percent: 0.01
Money:
Withdraw:
Tax:
# Percentage to tax players when withdrawing, 0.01 = 1%
Percent: 0.01
Bank withdraw tax on exp/money
config.yml additions:
Code (Text):
Bank:
Exp:
Withdraw:
Tax:
# Percentage to tax players when withdrawing, 0.01 = 1%
Percent: 0.01
Money:
Withdraw:
Tax:
# Percentage to tax players when withdrawing, 0.01 = 1%
Percent: 0.01
Add bank/exp interest sync for multi servers.
Code (Text):
Bank:
Exp:
Interest:
Timer:
Sync:
# Enable sync payouts for multiple servers
Enabled: false
# Set sync seed for servers
# Both servers require the same seed number for this to work!
# You can use a website like https://currentmillis.com/ to seed this number if you want payouts at certain times.
Seed: 0
Bank:
Money:
Interest:
Timer:
Sync:
# Enable sync payouts for multiple servers
Enabled: false
# Set sync seed for servers
# Both servers require the same seed number for this to work!
# You can use a website like https://currentmillis.com/ to seed this number if you want payouts at certain times.
Seed: 0
Add item tab custom names.
Add placeholders to inventory titles:
<player>, <bank_money>, <bank_exp>, <bank_exp_level>, <bank_slots>,<bank_used_slots>
Fix issue with player timed lock checks.
Added config values:
config.yml
Code (Text):
Bank:
Items:
Rename:
# Enable tab renaming
Enabled: false
Cost:
# Money cost for renaming a tab
Money: 0
# Exp cost for renaming a tab
Exp: 0
permissions.yml
Code (Text):
Permission:
Tab:
# Permission to rename tabs in items inventory
Rename:
Permission: bank.item.tab.rename
Check: true
Available <tags> in items.yml can be used in both the name & lore
Improved exp level math for 1.8+
Add '/bank admin force open <name>' to force a players bank inventory open
Add bank inventory sending money & exp
Add messages for sending/receiving money & exp
Add sounds for sending/receiving money & exp
Fix sending experience
Fix sending experience/money going over maximum set in config
Fix offline experience/money going over maximum set in config
Fix hiscores not removing a player after they have been reset
Add option to disable worlds from interacting with bank
Add option to disable gamemodes from interacting with bank
Fix citizens errors on shutdown
Add blacklisting itemstacks by item name or lore containing (blacklist.yml)
Add new line to language.yml messages (use <nl>)
Add anvil custom messages
Fix issue when attempting to open bank when not loaded
Fix headdb warning when not in the plugins list
Fix debug message on player load
Add money/exp variable formats
Add money/exp thousand format
Add tab locked item
Fix permissions loading issue for bank item info
Fix loading default default player values causing issues with stuff like loan permissions
Add more info the the item tab rows configuration
Fixed all negative potential deposits & withdrawals from exp/money.
Add tax option on deposits for exp & money
Config options:
BANK_EXP_DEPOSIT_TAX_PERCENT
BANK_MONEY_DEPOSIT_TAX_PERCENT
Fix '/bank exp send' no registering
Fix formatting for some server locales
Fix issue with synchronizing hiscores config
Fix issue when reloading database
Fixed minor database issues when attempting to '/bank admin reload'
Fixed a mysql issue that affected users of other mysql types than mariadb
Fix issue with sqlite saving
Dramatically improved the save system of bank player data.
No configuration changes are needed the bank will auto convert on startup.
It may take a short amount of time to convert all the save data so make sure to not turn off or kill your server during this process.
All data is backed up!
If any issues appear please join the discord and post them:
https://discord.gg/wkQ9pnG
For users experiencing issues with syncing bank data across servers I have added a time lock instead of the traditional lock system.
config.yml
Code (Text):
Bank:
Save:
Lock:
# Use time lock instead of traditional sql lock
# Make sure to set to the same value on each server!
Time: false
Join the discord to request additions
https://discord.com/invite/wkQ9pnG
Add '/bank admin fix usernames'
This will fix any missing usernames in the database for online servers
Add '/bank admin reset <name>'
Reset a users bank data
Add option to disable formatting on hiscore placeholders
Options to disable the "million" on hiscore placeholders.
HISCORE_MONEY_PLACEHOLDER_FULL
HISCORE_EXP_PLACEHOLDER_FULL
Add translation for amounts
Added options for formats to the language.yml
eg:
FORMAT_MILLION, FORMAT_BILLION, etc
Join the discord to request additions
https://discord.com/invite/wkQ9pnG
Add '/bank admin fix usernames'
This will fix any missing usernames in the database for online servers
Add '/bank admin reset <name>'
Reset a users bank data
Add option to disable formatting on hiscore placeholders
Options to disable the "million" on hiscore placeholders.
HISCORE_MONEY_PLACEHOLDER_FULL
HISCORE_EXP_PLACEHOLDER_FULL
Add translation for amounts
Added options for formats to the language.yml
eg:
FORMAT_MILLION, FORMAT_BILLION, etc
Fix money & exp hiscores on more than the first page
Fix '/bank money pay' command
Fixed TimeIsMoney Converter
Fixes for HeadDB errors on startup
Added item slot permissions to permissions.yml & combination to config.yml
Default perm:
bank.item.slots.<amount>
Fix issues with conversion
Fixes for Citizens & Headdb, delayed loading
Fix database issues
Fix errors with items.yml
Fix errors with items.yml
Added configuration options for maximum items per tab
When scrolling you can no longer keep scrolling down past the bottom row of items.
Code (Text):
Items:
Tabs:
Size:
# Maximum amount of items able to be stored in a tab
Max: 2147483647
Added log levels to config, change values to change what is printed to console.
Default is lowest, you can alter this and the other options to get your desired result.
Example changing the level to MEDIUM and having Player.Level set to LOW, player logs will not be printed to console.
Code (Text):
Bank:
Log:
# Set the log levels. Values: LOWEST, LOW, MEDIUM, HIGH, HIGHEST
Level: LOWEST
Plugin:
Level: HIGH
Player:
Level: HIGH
Expire:
Level: LOW
Hiscore:
Level: LOW
Interest:
Level: LOW
Loan:
Level: LOW
Additional small fixes with NullPointerExceptions.
Added command '/bank admin permission update <name>' to update players loan permissions
Fixed loan interest not being set
Fixed mysql exp & money hiscore saving
Added command '/bank admin permission update <name>' to update players loan permissions
Fixed loan interest not being set
Fixed mysql exp & money hiscore saving
Fixed mysql errors with both money and exp hiscores.
Added ability to convert to/from different savetypes.
All is explained in the convert.yml
Code (YAML):
Convert
:
# Read below, and then set to true to convert SaveTypes.
# Ensure mysql.yml and all relevant files are correct before proceeding.
# Note this cannot be done on /bank reload, a complete server restart is recommended.
# Bank will kick all players until completed.
Confirm
: false
To
:
# config.yml and convert.yml SaveTypes must be different! config.yml will automatically change after conversion.
# If you are wanting to convert to MYSQL set this to 'MYSQL', and config.yml to 'SQLITE'.
# If you are wanting to convert to SQLITE set this to 'SQLITE', and config.yml to 'MYSQL'
Savetype
: MYSQL
Added ability to convert to/from different savetypes.
All is explained in the convert.yml
Code (YAML):
Convert
:
# Read below, and then set to true to convert SaveTypes.
# Ensure mysql.yml and all relevant files are correct before proceeding.
# Note this cannot be done on /bank reload, a complete server restart is recommended.
# Bank will kick all players until completed.
Confirm
: false
To
:
# config.yml and convert.yml SaveTypes must be different! config.yml will automatically change after conversion.
# If you are wanting to convert to MYSQL set this to 'MYSQL', and config.yml to 'SQLITE'.
# If you are wanting to convert to SQLITE set this to 'SQLITE', and config.yml to 'MYSQL'
Savetype
: MYSQL
Spent a while on this one so please leave a review <3
This build brings almost all the features remaining to the beta builds.
Ensure latest core is downloaded!
Implemented in this update:
Admin bank opening:
Using /bank admin open <name>, admins will be able to view online/offline accounts. (note if offline ensure they aren't online elsewhere on the network)
If offline after editing do /bank admin save, to save any changes.
A lot of detail has gone into ensure that this works properly, so please report any bugs on the discord. The most noticeable way to see if something went wrong is if in the admin inventory the red "Admin" disappears from the inventory title.
Sounds.yml:
The sounds.yml is back, enabling sounds in the config.yml sounds will play when clicking around the bank inventory.
Also added sounds for citizens/block/sign opening of the bank.
Each sound is configurable.
Command sounds will come in the next update.
Auto save:
Enabling values in the config.yml will trigger saves when items/money/exp is deposited/withdrawn.
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Some commands
Loans
Language.yml (only contains limited messages atm)
Only use this for testing or limited server functionality
Fixes for implementations.
Fixes for offline interests
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
Fixes for non citizen users
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
Added Bank Item Blacklist /bank admin item blacklist
Added Vault Override
Added Placeholders
Added BankAPI
Added Skript support
Added commands for slots, /bank admin slots {set,give} <player> <amount>
Fixed interest for sqlite
Fixed citizens click listener
Fixed cost price display for tabs & slots
Fixed inventory title colors
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
Added bank items buy slots
Added bank items buy tabs
Fixed issues with bank pin opening when disabled
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Blacklist
API
Placeholders
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
Fixed citizens trait
Fixed bank money/exp commands returning no permission
Fixed bank delayed loading after reloads
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Blacklist
API
Placeholders
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
This update brings the following:
Ability to use colors in bank gui titles
Ability to change order of bank inventories
Example:
Change the pin inventory to 27 slots instead of 54
From:
To:
Just in the configuration!
Do the following:
inventories.yml
Pin.Menu.Set.Size: 27
Pin.Menu.Enter.Size: 27
items.yml
Pin.Number.Slot: 0
Pin.Zero.Slot: 12
Pin.Clear.Slot: 13
Pin.Progress.Finished.Slot: 22
Pin.Progress.Unfinished.Slot: 1
The bank plugin has undergone a massive overhaul to provide better performance, along with more customization and clarification in the config files.
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Blacklist
API
Placeholders
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
This update brings the following:
Basic money commands
Basic exp commands
Money interest online & offline
Exp interest online & offline
The bank plugin has undergone a massive overhaul to provide better performance, along with more customization and clarification in the config files.
UPDATING FROM POST 4.1.0 BUILDS:
No major changes this update, but you will need to do the following:
1. After starting the server it will prompt you to edit the upgrade.yml
2. Read upgrade.yml and restart
UPDATING FROM PRE 4.1.0 BUILDS:
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Blacklist
API
Placeholders
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
This is the beginning of the reworked bank plugin.
The bank plugin has undergone a massive overhaul to provide better performance, along with more customization and clarification in the config files.
PLEASE READ THE FOLLOWING:
1. Backup any old bank data, the plugin will attempt to backup sqlite storage but not mysql!
2. Download and install new bank jar
3. After starting the server it will prompt you to edit the upgrade.yml
4. Read the upgrade.yml!
5. Restart server and wait for conversion
Features:
Configs will now no longer lose comments and can be reloaded safely
Commands.yml to edit all commands & permissions
Inventories.yml to edit all inventories & permissions
Permissions.yml to edit & enable/disable extra permissions
Citizens now uses a trait instead of ids
Ability to add any block as a bank block
Currently missing features:
Admin Inventory
Most commands
Loans
Exp/Money Interests
Blacklist
API
Placeholders
Language.yml
Sounds.yml
Only use this for testing or limited server functionality
Fixed anvil errors for paper 1.15.2 users
Working on a full reworked bank plugin.
Fixes for exp/money withdraw/deposit input amounts
Fixed converting from 1.13 and below to 1.14 and above
Fixed right click sometimes item disappearing
Fixed issue when right clicking items when inventory is full.
Thanks
@zykool for the report
Fixed default money for new users
Other small changes
Improved cleanup for sqlite with
/bank util cleanup
Fixes for money format showing incorrect characters
Update for 1.14 anvil inventory and other plugins
Fixes for async chat input on 1.14
Fixes for PlaceHolderAPI
Thanks to
@Tianji for the issue report
Fixes for latest update for mysql users
Added ability to load commands from files, place files in the bank folder and perform the command /bank admin load <file>, for example /bank admin load uuids.txt.
Only bank commands can be performed, and are performed by the user executing the load command
Added command to manually update a username for a given uuid
Fixed /bank util fix items/uuids to properly show the confirm command
Manual command is:
/bank util fix uuid <uuid> <username>
Special thanks to
@Gasha
Added message for exp/money received from other players
Commands have been cleaned up a bit, I suggest renaming your commands.yml as alot of commands have been changed. Anything not used by normal users and in the admin sub commands, has now been moved to /bank util, please ensure to modify other plugins that might be using these commands (eg if giving slots via donation store)
Vault standalone:
If Vault.Override and Vault.Commands are enabled in config you will have access to the following commands:
<command> | <permission>
/bank eco | bank.eco
/bank eco give <name> <amount> | bank.eco.give
/bank eco set <name> <amount> | bank.eco.set
/bank eco take <name> <amount> | bank.eco.take
Also added but not requiring vault settings
/bank money pay <name> <amount> | bank.money.pay
Note these commands can use aliases to be mapped to /eco and /pay (but is not enabled by default, you will have to modify the commands.yml). Also vault is required to be installed for these commands to work
Thanks & Enjoy
Updated AnvilUtil for 1.14, anvil inventories should now work on 1.14 so you can re-renable
Thanks to
@Mikedblare for reporting this issue with logs
Added bank admin remove commands to remove players from the database, please ensure the user is offline for them to be successfully removed
Default permission is bank.admin.remove commands:
/bank admin remove player <name>
/bank admin remove uuid <uuid>
Updated sign listener for 1.14, hopefully should fix an error reported
Update for 1.14, please report any bugs
Added config check, performed on startup or by doing /bank check (permission bank.check)
Fixes for mysql:
Will switch properly to sqlite if mysql fails to connect
UTF8MB4 will disable if encounters error
Fixed a bug when attempting to set your pin
Thanks to
@blackdigits for reporting this problem
Added Exp/Money only:
Exp.Only & Money.Only in config
When enabled will only bring up respective inventories when opening bank
Fixes for bank top blacklist:
When adding/removing from blacklist with player online will properly work
Once again you will need to ensure core is updated to 0.2.0
Updated plugin configuration again
Added Tab.Locked to plugin/item/language config which will show a different item if the user doesn't have access to put items into the tab
Please update to latest core
Updated plugin configuration
The Core plugin will automatically be downloaded when the plugin is installed, was getting tired of people unable to read a setup page xD
Added bank top blacklist, this can be found in the config.yml or by doing the following commands:
/bank top blacklist
/bank top blacklist add <name>
/bank top blacklist remove <name>
Added username to admin loan view as requested by
@Gasha
Added ability for admins to see loans list
Added sorting to loans list highest/lowest/oldest/newest, and deadlines ending first/last
Use command /bank admin loans list (permission bank.admin) to view
Another quick fix for converting when users are locked
Patch for mysql interest timers
Fixed converting to/from sqlite/mysql, also added extra info message
Hopefully fixed errors in console from mysql interest
New uuid databases will now be created correctly
Updating uuid/username database should now work correctly aswell (to fix any uuid problems please run /bank fix uuid)
Loan payback failure commands will now load whatever the cost
Thanks to Zethrus and Sandman for reporting this small bugs, and providing logs to fix them
Fixes for problems with uuid database
Added debug as for what economy is being used when vault override is enabled
Added TimeIsMoney Converter:
1. Remove TimeIsMoney plugin (keep the /plugins/TimeIsMoney/ folder though)
2. Set Converters.TimeIsMoney to true in config
This should convert any players joining to the bank system
Another update that fixes small issues with some users.
MySQL Datetime fields should be created fine now for some users using older MySQL versions
BankAPI fixed so other plugins can now access money api
Added trashcan which can be enabled in config, will delete items users put in
Fixes for mysql interest for some users
Fixes for sql & mysql
Items.yml should now be able to support AIR
Added more info to errors from loading
Please advise of any bugs, they will be fixed swiftly
Make sure to backup before updating as always.
Huge update adding loans and interest for mysql, along with a few bug fixes
Money & Exp Interest & Loan / Loan Interest on mysql
Enable interest and loans in config
(make sure only 1 server has this set to true)
On the main server set Money.Interest.Main to true
On the main server set Exp.Interest.Main to true
On the main server set Loans.Interest.Main to true (only thing not currently working is payback sync, this will be addressed in a future update)
Code optimization
Removed double message from deposit
Please advise of any bugs, they will be fixed swiftly
Fixes a few problems with displaying money/exp
Fixes bank money/exp full message, will now also not send message if deposited amount is 0
Last small update before the 3.1.0 big update planned
Fixes a few problems with displaying money/exp
Fixes bank money/exp full message, will now also not send message if deposited amount is 0
Change exp/money formats to remove .00 if not needed
Inventory buttons wont have lore if left blank in config
Added messages for exp/money full
Bank top will display uuid if no username can be found
Tab item picker now has lore for scroll up/down buttons
Requested by users, so if you have any requests please feel free to message me on spigot or on the support discord
Should've finally fixed problems for 1.8.8 users regarding sounds
Added vault support, by enabled Vault.Override in config, it should allow you to use the bank as your wallet for use in other plugins.
Fixed bank top not showing correctly for mysql
Fix for loans payback
Fix for sounds.yml on 1.8.8
Hopefully fixed bug with sqlite not writing to file for some users
Added Sounds.Enabled to config.yml this will enable sounds for inventory UI
Also added Sounds.Volume_Modifier which is a global modifier for sounds in the UI
Added sounds.yml
Can just be Example.Sound but has other attributes:
Code (Text):
Example:
Sound:
Sound: BLOCK_ANVIL_LAND
Sound_Extra:
Enabled: true
Sound: ENTITY_PLAYER_LEVELUP
Volume: 1.0
Pitch: 1.0
Also stopped errors on chat if player isn't loaded properly
You can now blacklist items from the bank
Using '/bank blacklist' will open up a gui where u can add items to blacklist, you can then modify the blacklist to only match durability or nbt match
Also added language message for user attempting to put a blacklisted item into the bank
Enjoy the update and please post requests for more features
Fixes for converting to different saves
Added Pin.Timeout to config.yml pin can now timeout after x seconds (-1) to disable.
Please give me more suggestions for this plugin, wanted to add a lot more features
Added permission bank.tabpicker to allow picking of tab items
Fixed reseting buy slots
Added
HeadsDatabase and other HeadURL to items.yml
Example HeadURL from items.yml
CHOOSE:
BANK:
HeadURL: eyJ0aW1lc3RhbXAiOjE1MzY4ODcxODQ1OTksInByb2ZpbGVJZCI6ImRjN2ExYjM4MDhhYTQ1MGI4N2M3ZGIwNzIyODAyODI2IiwicHJvZmlsZU5hbWUiOiJEYWJsYWtiYW5kaXQiLCJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWMxZjI4ZGE3N2E4YTE3NzAwMWU3OGU0NTBhMzFmODc3ODFmMGUxOTIyZjY0NmU2NjE2ZWFhMGIyMmFlNzZkYSJ9fX0=
Amount: 1
To get the HeadURL use this program:
https://github.com/Dablakbandit/SkinFetcher/raw/master/SkinFetcher.jar put in the uuid and copy the url from the output
Example HeadDB from items.yml
CHOOSE:
BANK:
HeadDB: "7129"
Amount: 1
1.13 update (2.9.8 and 2.9.9)
Backup any data before updating, previous versions shouldn't be effected, but still be cautious.
Send any errors to me and will be fixed asap
After updating to 1.13 do the command "/bank fix items" to convert old items to the new ones.
Small changes:
Better print to console on fixing uuids to usernames on /bank fix uuids
Added Money.No_Format to config.yml to not formal any money with millions etc
I wanted this update to include more content, but then 1.13-pre7 came so I've needed to focus on that.
Please note this is a beta version for the 1.13 update.
Backup any data before updating, previous version shouldn't be effected, but still be cautious.
Send any errors to me and will be fixed asap
After updating to 1.13 do the command "/bank fix items" to convert old items to the new ones.
Additional:
Added "/bank fix uuids" to download usernames from the mojang api into the database
Added COMMAND_UNKNOWN_PLAYER to language.yml
Added better loans viewing for admins
Added /bank info <player> with permission bank.info.other
Fixed bug with admin loans showing your own
Fix for /bank time, when interests arn't enabled
Loans interest now can take from bank money
Message on loans payback
Discord support can be found on the main page
Fixed critical bugs with loan deadlines, sorry about these
/bank info now has <bank_loan_deadline_days_formatted> (has decimal ) and <bank_loan_deadline_days> (rounded days)
Added "/bank admin loans reset deadlines" to reset all current loan deadlines
Fixes for async commands and some command arguments
Quick fix for loans deadline not setting to the right amount
Discord support can be found on the main page
Added /bank info to show players bank information, requires permission bank.info (can be changed in commands.yml)
Added a few things from pin inventory to language.yml
Fixed taking out loan with fee, giving them the fee.
Fixed error after doing /bank reload when toggling exp interest
Fixed bug after paying back loan would go to the multi view screen rather then taking out another loan
Fixed sending players messages when getting 0 loan interest
Fixed error whilst sometimes loading a mysql with "0" as the bought slots
Fixed error whilst sometimes saving a players username to the database
Update to latest core to get tab complete on commands:
https://www.spigotmc.org/resources/core.56780/
Add loan minimum
Add better loans gui and info
Add sending money/exp to language.yml, and other various messages
Add autosave options in config (in seconds)
Added pin_green and pin_red along the side of pin inventories, to show out of 4, pin_reset and pin_zero
Fixed pin issues with commands
Fixed a few command arugments
Fixed bug with exp and anvil inventory
It will now reset the players exp after using the anvil, before returning the value inputted.
Remember this plugin requires my core plugin:
https://www.spigotmc.org/resources/core.56780/
This update requires the latest 0.0.5!
This update is to fix the command problem
Last Update:
(Testing)
Added advanced command system, this is mostly generated from a .yml file which can be found here:
https://github.com/Dablakbandit/Bank/wiki/commands.yml
Each argument can be changed, have an alias and have its own permission.
If there are any problems with it, it can be changed back to the old one in config: Command_Advanced: false and report the problem to me
Made language.yml look nicer, less MESSAGE.BANK_IS_FULL and more Message.Bank_Is_Full
Added
Code (Text):
Loans:
Take_Out_Amount_Lore_Max: '&aMax Loan: <a>'
Take_Out_Amount_Lore_Interest: '&aInterest rate: <a>'
Command:
Title_Format: '&7[&a<base>&b<args>&7]'
Commands_Format: '&f/&7<base>&b<args>'
Message_Format: '&7[&aBank&7] <message>'
Unknown_Format: '&cUnknown command /<base><args>'
No_Permission: '&cYou do not have the permission to perform this command.'
Fixed Anvil esc bug
Other minor fixes
Remember this plugin requires my core plugin:
https://www.spigotmc.org/resources/core.56780/
This update requires the latest 0.0.5!
(Testing)
Added advanced command system, this is mostly generated from a .yml file which can be found here:
https://github.com/Dablakbandit/Bank/wiki/commands.yml
Each argument can be changed, have an alias and have its own permission.
If there are any problems with it, it can be changed back to the old one in config: Command_Advanced: false and report the problem to me
Made language.yml look nicer, less MESSAGE.BANK_IS_FULL and more Message.Bank_Is_Full
Added
Code (Text):
Loans:
Take_Out_Amount_Lore_Max: '&aMax Loan: <a>'
Take_Out_Amount_Lore_Interest: '&aInterest rate: <a>'
Command:
Title_Format: '&7[&a<base>&b<args>&7]'
Commands_Format: '&f/&7<base>&b<args>'
Message_Format: '&7[&aBank&7] <message>'
Unknown_Format: '&cUnknown command /<base><args>'
No_Permission: '&cYou do not have the permission to perform this command.'
Fixed Anvil esc bug
Other minor fixes
Fixed problems with Admin opening
Minor other fixed and started work on a better command system
Remember to update to the new Core plugin (not DabCore)!!!
https://www.spigotmc.org/resources/core.56780/
Added loans deadline, if enabled players have a certain amount of days to pay their loan or will execute commands
Added custom payback option, enable in config and permission: bank.loan.custom_payback
Added loans to admin gui
Added to config.yml:
Code (Text):
Loans:
Payback:
Custom: true
Deadline:
Enabled: true
Days: 1
Check: 1
Commands:
- bank admin loans remove <loan_id>
- bank admin loans clear <uuid>
- tempban <uuid> 10m Failed to pay loans
Fixed /bank top
Improved console output, all of which can be disabled in config
White = Print (reccomend set to true)
Blue = Info (additional info)
Yellow = Debug
Red = Error
Added to config.yml:
Code (Text):
Console:
Print: true
Info: true
Debug: false
Error: true
Other optimizations.
Added commands to language.yml
Fixed /bank top to show position
Fixed problem when paying back loan from the multi screen
Added '/bank top' permission bank.top
Fixed inventory close error
Changed to new
Core, remove DabCore if not needed for any other plugins
Added loans payback, enable it in config:
Code (Text):
Payback:
# Enable loan payback
Enabled: true
# Sync to interest or not
Sync_Interest: false
# Timer in seconds of the payback (1800 is 30mins)
Timer: 1800
# Next time to trigger (will count down to 0 then go to Timer)
Next: 0
# Minimum amount of payback
Minimum: 0
# Rate of payback (0.03 is 3%, around 33 times of payback till payed off)
Rate: 0.03
# Loans payback failed
Failed:
# Enable loans payback failed
Enabled: true
# Commands to run (if it failed 2 times will run 1 aswell)
Commands:
'1':
- jail <name> 10m Failed to pay loan
'3':
- jail <name> 15m Failed to pay loan
Fixed bug loading some items, and errors for saving username to database
Added new loans system (experimental), can be enabled in config. SQLLite (will add mysql at some point along with money and exp interest)
Loan permissions:
bank.loan.max.<amount> eg: bank.loan.max.1.50 is $1.50
bank.loan.interest.<amount> eg: bank.loan.interest.0.0002 is 0.0002 interest (lower is less interest)
Added delayed checks on permissions for slots/loans (configrable)
Other fixes and improvements (cant remember been working on this for a while xD)
Updated plugin updater
Fixed problem with removing items from bank on death
Added update checker requires latest DabCore
Remove optimize query from mysql to hopefully fix mysql lock.
Recreated interest managers to give interest on time rather than in relation to ticks.
Will now properly reset interest on join.
BankBalTop and other apis will now work again.
Other minor fixes and improvements.
Let me work on loans already!
Fixed bugs for MySQL and converting from file databases not opening connections.
Mysql fixes for reconnecting after mysql disconnect
Mysql fixes for reconnecting after mysql disconnect
Fixed freeze when disabling the plugin
Improved Converter will now wait 1ms between each convert instead of 100.
Fixed errors for some users with ResultSets, should now properly close all after use.
Now actually gives offline interest. Don't worry, any given before this is still held in the database.
API fixes
Added methods to API:
Code (Text):
getOfflineMoney(String uuid)
setOfflineMoney(String uuid, double d)
getOfflineExp(String uuid)
setOfflineExp(String uuid, double d)
addAsyncRunner(Runner r)
All self explanatory except for addAsyncRunner which adds an async runnable you have to extend the runner and requires a Players instance which you can get from PlayerManager.getInstance().getPlayer(String uuid).
Also added events that actually work:
Code (Text):
PlayersPreLoadEvent
PlayersLoadEvent
PlayersPreSaveEvent
PlayersSaveEvent
Care with these as event.getPlayer() can be null (converting or loading from admin view) but getPlayers will always return an instance. Also care on the save events as they can be called from modifying the bank (items/exp/money) if enabled in config, make sure to use .getUnlock() which if true means that player is/has left the server.
Added support for old file saves to hopefully allow users to convert to new savetype.
Fixed problems with some SQLLite users, it should no longer error out when converting. Please read update before this one and report any problems
.
[BETA]
Reason why I am calling this a beta version is due to the fact I have been able to test with a few players data (thanks to
@Gasha). But am just wanting to caution users in case they have any problems. If there are please message me or post in the discussion I will fix it asap.
So, before updating to this version please backup your player data in the bank folder if you are on file save, people with mysql should be fine, but if you want to make sure backup your mysql aswell.
Update:
File save will now automatically convert to SQLLite save. Please use the following instructions:
1. Stop your server
2. Install updated plugin
3. Start server, the plugin will make sure nobody is online whilst it is converting saves.
4. Watch console for progress and any errors.
5. Server will stop after converting, just start it up again and your done
"/bank time" messages are now translateable.
Added sending money/exp to others.
Added /bank time (times till xp/money interest)
Added bank_interest_money and bank_interest_exp placeholders (seconds untill interest);
Fixed full dollars showing cents
Fixed anvilgui looking like it was taking exp when it wasn't
Fixed loading thread if there's an error it will still continue to work, will also print to error.log any errors loading/saving.
Fixed placeholders
Gearing up for a big 2.7 release
Added in the version:
Added option to disabled utf8mb4 for people with errors with it
Added AnvilGUI used on depositing/withdrawing exp/money
Rewrite inventory code, should work more smoothly
Removed setting system charset, hopefully fixes bugs with console
Finally fixed mysql and unicode, almost gave up -.-
Requires latest DabCore
Update to fix my update....
Hopefully finally fixed unicode in mysql databases -.-
Hotfix for mysql api after file api update