This update is not only large, but contains a lot of vital changes and adjustments. Please back up data before attempting to update from any version. In addition, the next release 2.0 will be a partial rework to many systems and features; therefore, configurations file and anything outside stored data will need a reset to use 2.0 at its full potential. For more information on 2.0 feel free to contact the developer! ⍟ API Changes ⍟
Added the "reseteHelper" method to the "MarketRegion" interface.
Added the "VISIT" value to the "EconomyCallType" enumeration.
Added the "visit" method to the "Shop" interface.
Added the "loadAllDataPacks" method to the "Manager" interface.
Added the "AffordCheckEvent" and "CurrencyTransferEvent" events to enable the ability of developers to implement their own economy systems into the plugin.
The "getCurrentBalance" method located within the "Manager" interface now takes an "OfflinePlayer" parameter instead of "Player".
Implemented the "ShopItemSetEvent" with the enum "ItemType" which consists of the "SHOP" and "TRADE" types. This event fires when a player is setting the shop or trade item of any shop.
Implemented several new methods involving the shop visit menu's page system to the "DataPack" interface.
⍟ Plugin Changes ⍟
Adjusted the max/min buy/sell feature to handle display names as well!
Shops loading in and saving now show a percentage alongside a total count for extra feedback on what's going on at the moment!
The shop visit command is no longer direct and was replaced with "/ds visit" which forms a new interface. In addition, there was an entirely new section added to the "menus.yml".
Some visit-related messages were remade for better wording and coordination. You can refer to these in the default "lang.yml" file.
Added a check for BentoBox - OneBlock.
Fixed an issue causing the sell button in the transaction menu to form as blocked based on the buyer rather than utilizing seller data for the checks.
Fixed an issue causing shop owner checks to still activate on admin shops which should not be possible.
Fixed an issue involving double/single quotes within shop item names to cause graphical bugs which leads to a client-side FPS issue. In addition, a similar issue was resolved involving world naming.
Fixed many many many issues with market regions (experimental feature).
Fixed an issue causing decorative items to be placed first instead of last, causing actual menu items to override them, this was reversed.
Fixed an issue causing decorative items to malfunction if provided a slot below zero.
Fixed an issue causing the previous page button not to display in the base-block menu.
Fixed an issue causing 1.12.2 and under servers to not handle specific features appropriately.
Fixed an issue causing shop balance to not calculate due to the receiving numeric being too small.