The "ChatInteractionStageEvent" now has a new "INCORRECT" enumeration type which is fired when an invalid entry is entered.
Replaced the “getCurrentEditor” and “setCurrentEditor” methods in the “Shop” interface with “getCurrentEditors” to allow more precise evaluation of who is actually modifying the shop.
Removed the “setBeingEdited” method in the “Shop” interface. The “isBeingEdited” method now uses the new “getCurrentEditors” method and checks if it is empty.
Added the "isCancelBlockPlaceEvent" and "setCancelBlockPlaceEvent" methods to the "ShopCreationEvent" allowing cancelling of the internal "BlockPlaceEvent".
Added the “resetEditData” method to the “DataPack” interface.
Added the "getInventorySpaceForItem" method to the "Manager" interface.
The "save" method in the "Shop" interface no longer requires a statement argument.
Fixed an issue where the "ShopCreationEvent" event was not firing.
⍟ Plugin Changes ⍟
Added full 1.16.4 packet support.
Added event commands to the "config.yml" configuration. These commands will run when specific actions are performed.
Added an auto-hiding icon feature to the next/previous page icons for the base-block interface.
Player data now only unloads when the player is offline and the auto-save feature hits. In addition, joining the server won't load player data unless needed.
Added the "sort-alphabetically" option to the base-block menu configuration options located under the "menus.yml".
The "/ds cleanup" command now also fixes any negative stocks on non-admin shops. In case of an occurrence in a previous update.
Withdraw features now only function based on player inventory space. No more dropping to the ground is done due to potential performance issues.
Implemented full MySQL support. This is NOT the intended method of saving to be used and also does NOT include a conversion tool between SQLite and MySQL. Conversion is still possible through third party methods.
The currently editing a shop feature added previously was adjusted to handle things in a smoother manner.
Made some adjustments to resolve some calculation issues involving complicated unit counts.
Simplified and optimized the inventory close event to handle things a lot quicker.
Clicking the blocked action item within the transaction menu no longer calculates anything. The actions behind that particular slot are blocked until the interface is rebuilt and stock is evaluated.
The "maximum-buy-all" and "maximum-sell-all" options have been set to a default of 20 units. The original value was 500 units which was way too high since each unit could be a full stack of 64.
The "require-empty-stock" feature has been set to true by default.
Adjusted some areas where possible data loss could occur (Not Confirmed).
Fixed a multiplication issue with unit-counts due to the buy/sell limit features.
Fixed an issue with shop editing after closing editing-related GUI interfaces.
Fixed a potential issue involving GUI interaction failures.
Fixed an issue causing the previous page icon to not appear in the base-block selection interface regardless of the situation.
Fixed an issue where every second the auto-save feature would process asynchronously.
Fixed shop assistants not saving nor loading.
Fixed an issue involving the "displayshops.commands" permission node.
Fixed an issue where the buy and buy-all feature within the transaction menu did not check available inventory space.