Below is a summary of the updates that have been made compared to the previous version:
- Config.yml File Improvements
- The configuration file (config.yml) has been updated and improved.
- Now the default language is set to English.
- Detailed comments have been added so that each configuration section is explained.
- The documentation clearly emphasizes that item names must be provided in all capital letters (matching the Spigot/Bukkit Material names) to ensure that all design properties (like colors and formatting) are preserved.
- Shop Lore and DisplayName Updates
- The code now saves the original ItemMeta (including display names and lore) when the shop menu is opened.
- This ensures that when players change pages or return from the quantity menu, the original item lore and display formatting are restored correctly.
- The updates include improvements to the mechanism that updates the lore (for example, showing the item’s name followed by the quantity and selling options), which provides a more consistent user experience.
- Quantity Menu Enhancements
- The quantity menu has been enhanced so that when it is opened or when the player navigates back to the shop menu, the original item meta is either restored or re-saved.
- This update ensures that changes (such as quantity and the associated lore) are properly applied and updated across different menus.
- Future Enhancements (Planned)
- Future updates are planned for faster and more dynamic lore updates in the shop.
- Planned changes include the ability to quickly change colors and other design details in the lore as well as further improvements to the quantity menu lore.
- Additional Notes for Users
- A notification message ("Post Resource Update") is sent to the player indicating that a resource update has been applied.
- All messages shown to the user are now in English.
- The plugin uses a rich text editor (integrated via SpigotMC) for better formatting of messages.
These updates aim to improve both the configuration experience and the in-game user interface by ensuring that all text, item names, and lore are consistent, properly formatted, and easy to update in the future.