Bank [ 1.21 ]

Plugins Bank [ 1.21 ] 5.0.2-RELEASE

Pro Download
Fix cheque items being removed from players if they are not the correct redeemer
Fix cheque listener not unregistering on reloads
Fix transaction database for some mysql users
Fix permissions check for /bank open
Fix errors on command: /bank admin debug item on 1.21+
THIS IS A MAJOR RELEASE PLEASE BACKUP DATA BEFORE UPDATING

Major internal changes have been made to add support for other database types.
This is not expected to break any functionality but make backups and report issues to the support discord.


Added mongodb database savetype (premium)
Added admin viewing player money/exp transaction in menu (premium)
Added player money/exp transaction history table in the database
Added hex chat color support

Mongodb savetypes require MongoDB Loader which can be downloaded from: https://dev.bukkit.org/projects/mongodb-loader
THIS IS A MAJOR RELEASE PLEASE BACKUP DATA BEFORE UPDATING

Major internal changes have been made to add support for other database types.
This is not expected to break any functionality but make backups and report issues to the support discord.


Added mongodb database savetype (premium)
Added admin viewing player money/exp transaction in menu (premium)
Added player money/exp transaction history table in the database
Added hex chat color support

Mongodb savetypes require MongoDB Loader which can be downloaded from: https://dev.bukkit.org/projects/mongodb-loader
Add allowing players to store items in any slot
Add "Sized" option to Bank.Item.Slots to show how many slots remaining the player has
Add config option for hotbar swapping BANK_ITEMS_HOTBAR_SWAP_ENABLED
Add config option for putting items anywhere BANK_ITEMS_ANYWHERE_ENABLED

Anywhere:
1742146365846.png


Sized option:
1742146371046.png
For users with custom interface changes please check the items.yml for new BLANK items.

Add player inventory slot blacklist
Add blank items for each inventory type
Add banks items full sound
Add item model configuration (1.21.2+ only!)
Add allowing hotbar keys 1-9
Add config option of slots per tab
Fix timer comments to be in seconds
Updated wiki

itemblacklist.yml
Code (Text):
Blacklisted:
Player:
# Blacklist player inventory slots that items cannot be placed in
Slots:
- 5
- 6
- 7
Example blank and ItemModel in items.yml
Code (Text):
Exp:
Blank:
Material: BLACK_STAINED_GLASS_PANE
Durability: 0
Amount: 1
Slot: -1
Name: ' '
ItemModel: 'minecraft:cobblestone'
Slots:
- 1
- 7
- 8
Bank Open Types

Bank open types allow greater control of what menus the user can access!
When enabled in the config, if you configure a npc or sign to open a certain menu, they will only have access to that specific menu! Allowing you to directly open the items or other menus without having the main menu.

You can also enable the '/bank money open' & '/bank exp open' commands, to open these menus directly.

Citizens, commands and signs are all supported.

Added opentype configuration to the config.yml:

Code (Text):

Opentype:
# Subsets:
# ALL, MENU, ITEMS, MONEY, EXP, LOANS
Subset:
# Enable advanced open types overall
Enabled: true
Citizens:
# Enable advanced open types on citizens, /bank admin npc setopentypes [types...]
Enabled: true
Command:
# Enable advanced open types on command, enables /bank money open, /bank exp open, or /bank open <player> [types...] from console
Enabled: true
Sign:
# Enable subset open types on signs, Add [opentype] to the second line of the sign, i.e ITEMS, if wanting main menu put it first, i.e MENU,ITEMS
Enabled: true
Other:
Fix sqlite issues with older server versions
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:
  1. Backup database mysql tables or sqlite database.db!
  2. 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
  3. Start server and check server console/logs for any errors, if no errors it will print migration progress to the console
Back
Top Bottom