Fixed a floating glass visual issue when the "hide-glass" option is enabled.
Fixed an issue where the old ‘shops.yml’ conversion system would break when encountering an offline player’s data.
Resolved an issue where commands attached to a shop were not saving correctly. Though they worked there would be times where format mismatches became an issue during the loading phase.
⍟ Changes ⍟
Admin shops no longer require the stock to have no limit. This means you may now have Admin shops that have a set stock value. This also removed any restrictions to the stock of Admin Shop editing and more.
Due to the Admin Shop stock changes, the Admin Shop hologram display format has been changed to allow the ‘{stock}’ placeholder which will be replaced with the infinity symbol when below zero. See the attached images:
Added an extra check to see if a chunk is loaded before attempting to send display packets to players. This should remove that one rare occurrence when packets send right after a chunk unloads.
Added the ‘view-tick’ option to the ‘shop-options’ section. This allows you to control how fast the display update timer will perform.
Added the ‘shop-sell-fail’ message to the ‘lang.yml’. This message should NEVER occur, but it is here just in case.
Changed the default craft recipe to require obsidian across the entire bottom row instead of end stone. Why? Because it looks prettier.
Removed and changed around some materials from the blocked lists in the default configuration since they didn’t feel right and could potentially confuse new users.
The teleport event now checks if the ‘from’ and ‘to’ locations are in the same world and calculates to see if they are at a maximum of 32 meters distance apart before sending packets.
For better comparison, items now have their item meta stripped of color codes when comparing to ensure the items are practically identical without any question or confusion.
Moved all messages that are directly sent to the player, except a few such as the shop broadcast and command listing messages, to the Action bar for more immersion and cleanliness.
Removed many unneeded Admin Shop-based messages from the ‘lang.yml’. The plugin will clean/remove these for you on startup.
Moved all destruction packets to the main thread to avoid any duplicate displays (impact depends on server hardware).
Added the “/displayshops info” command for extra information (Not configurable). The command can only be accessed by the user with the permission “displayshops.info”.