Fixed an issue causing the new VISIT_FILTER_ENTRY to not fire the ChatInteractionStageEvent with StageType set to FINISH.
• Plugin Changes •
Added 1.19.4 Support.
When visiting a shop in Minecraft 1.13+ the shop's base-block material will be taken into consideration to prioritize teleporting the player to the "front" of the block (front of a chest, as an example).
Additions to the base-block menu can have their material set as the ID of a block from ItemsAdder to form custom base-block models/blocks etc. This also goes for menu items, by setting the material to the ID of a ItemsAdder custom item.
These ItemsAdder IDs are CASE-SENSITIVE.
Added the "/ds balance <deposit|withdraw> <amount>" command alongside the"displayshops.baldeposit" and "displayshops.balwithdraw" permissions.
Added the "balance-command-usage" message to the lang.yml file.
Added the "type-item" item to the "shop-visit-menu" in the menus.yml.
This new item toggles between the types buy, sell, and both each representing the shop which inherits the current cycle shop type.
The base-block menu now displays all valid options regardless if the players meets the requirements or not (even if they have unlocked it before and simply had their permission for it revoked). Instead, the player will be sent the no-permission message when clicking it (again, whether its unlocked or not).
In addition to this change, a {requirement} placeholder was added to the "unlocked-item-format" under the base-block-menu section from the menus.yml. Ensure to add - "{requirement}" there if desired.
The visit menu was reworked again to properly handle pages.
In addition, a refresh button was implemented incase a server is unable to load items fast enough for it to render to the player (please refer to the default menus.yml to add the button to your existing configuration).
The "/ds visit" command now allows multiple arguments. For example, "/ds visit golden apple" will open the visit menu with the filter "golden apple".
The {unit} placeholder can be used in menu items to get how many item's makes up a single unit for the shop associated to it.
Fixed an issue causing the hologram description to not retain configured color codes.
Fixed a compilation issue causing version 1.16 - 1.18.2 to handle packets incorrectly.
Fixed an issue with the Visit menu causing the filter to default to None when switching pages under the same instance.
Fixed an issue causing the chat interaction for the visit menu filter to not properly exit the player from its process upon completion.
Fixed an issue where decorative items were not working correctly causing original items to override their placement.