NPCShopHPX icon

NPCShopHPX -----

Hypixel-style NPC shop with buyback and quantity-selection menus




  • New Quantity Selection: Uses a quantityBySlot map so players simply click the corresponding slot for 1, 5, 10, 32, or 64 items.
  • Removed Language If-Else: All strings like cost, coins, and click_to_trade now come from the language files, resulting in cleaner code.
  • “Stock” Removed: The item lore display is streamlined; the “Remaining” logic was cut out as it was overly complicated.
  • Minor Enhancements: Improved logging, removed unused code parts, and better behavior in handleInventoryClose when toggling pages or switching to the quantity menu.
Thank you for using our plugin! If you find any issues or have suggestions, please let us know in the comments.
----------, Jan 23, 2025

Below is a summary of the updates that have been made compared to the previous version:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
----------, Jan 15, 2025

Resource Information
Author:
----------
Total Downloads: 114
First Release: Jan 12, 2025
Last Update: Jan 23, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings