API changes are now only reviewable on theGitHubpage.
• Plugin Changes •
Added the "cooldown", "no-hand-item", "item-blocked", "item-unblocked", and "item-not-blocked" messages to the "lang.yml".
Added the "show-admin-shops" option to the "menus.yml" under the "shop-visit-menu" section.
Added the "/ds [block|unblock]" commands for blocking/un-blocking items from being sold (Uses the "displayshops.block" permission node).
Added the /ds notify command which toggles buy/sell notifications for shop owners (per player). The permission is displayshops.notify.
Added the {item} placeholder and "shop-advertise-cost" cost to the advertisement/broadcast feature.
Added the {amount} placeholder to the runCommands function which simply is the calculation unitCount * shopItemAmount.
Added the {taxed-buy-price} & {taxed-sell-price} placeholders.
Dynamic prices now only update after a transaction is complete.
The "/ds advertise" command was added using the permission "displayshops.advertise". This command will perform a cleaner take on what was known as "broadcasting".
The "displayshops.clear" permission node now is a child under the "displayshops.*" permission node.
The “allow-broadcasting” and “shop-broadcast-cooldown” features were removed from the “config.yml”.
The "shop-advertise-cooldown" was added for the "/ds advertise" command.
The “promotion-item” was renamed to “description-item” and broadcasting was overall removed due to upcoming changes with the visit menu.
The chat interactions no longer cancel after an invalid value was entered.
The “broadcast-cooldown” and “shop-broadcast” messages were removed from the “lang.yml”.
Any GUI that opens from the base-block will now be cancelled.
The buy/sell limit is now per player based. The global operator is still there; however, it is not functioning directly. The way it is currently setup it operates globally only if the user has already met their personal limit.
Visit Menu - For the {unit-amount}, Unit count is a transaction feature. I did add the {amount} placeholder though which pulls the amount shown on the hologram.
Visit Menu - The {enchants} placeholder can be placed into the lore on a line by itself to list enchants (works for enchanted books and items). Use a color code in front of the placeholder to use that color for each enchant.
The buy-all and deposit features now automatically adjust the entered amount around availability of either inventory or stock space.
Replaced the base block save system for player data with a more improved variant.
Shop owners will not be notified if the player visiting their shop has the "displayshops.bypass" permission.
Allows background items to have their materials set to "" and be skipped as a result.
• Bug Fixes •
Fixed a "Currently not editing a shop" issue.
Fixed an issue where decorative items would appear regardless of the menu identifier. In addition, the VISIT menu can be used as an identifier.
Fixed an issue allowing users to spoof the sell-all mechanic bypassing maximum shop stock and getting free currency.
Fixed an issue with the FabledSkyBlock hook causing errors upon deletion of an island.
Fixed an issue /w array index out of bounds when refreshing shops (Not replicable).
Fixed an issue where translating dynamic prices would incorrectly calculate.
Fixed some hex-related issues as the wrong color solution was being utilized.
Fixed an issue allowing the max stock for a shop to return as infinite.
Fixed some nested issue involving buy/sell limits (domino-effect issues).
Fixed an issue with stock loss when withdrawing a large number.
Fixed an issue preventing max-buy-all from functioning correctly.
Fixed a syntax issue due to the new sales notification toggle feature.
Fixed an issue involving index out of bounds issue when shops are removed while a display packet for them is being formed (This is something I'll need to keep an eye on).