- Added Shop Type Selection feature (requires /sessionshop reload-session <shop-id> to apply changes to a shop):
- - Server: all players share the same item template and stock.
- - Hybrid: all players share the same item template, but each has individual stock.
- - Private: each player has their own item template and stock.
- Added command: /sessionshop reload-session <shop-id> — reloads the session of the specified shop, clearing its events and session data.
- Removed old Event Type system and replaced it with unified chance and price event types using operation modifiers.
- Fixed issue where Preview Items were not updating correctly after event or template changes.
- Changed default shop type from Hybrid (shared item template, individual stock) to Private (individual item template and stock). Each player now has their own unique item pool.
- Shop type selection will be reintroduced as a configurable option in version 1.1.8.
- Improved event scheduler accuracy to ensure precise start and end times.
- Refactored internal cache system for faster data access.
- Improved player experience with smoother animations when opening Shop and Preview menus.
- Optimized background processes related to item preview generation.
- Fixed rare bug where events with multiple overlapping conditions could fail to trigger.
- General stability and memory usage improvements.
- Added active Shop Events indicator directly in the ShopMenu, making it clear when discounts or bonuses are running.
- Minor performance tweaks and internal code refactoring for smoother gameplay.
- New Feature: Added Shop Events system (Random events can now occur in specific shops and are fully customizable)
- Event Types:
- Flat Discount: Fixed price reduction.
- Percent Discount: Price reduction by percentage of the base price.
- Flat Chance: Increase the chance of a specific rarity appearing.
- Percent Chance: Increase the chance of a specific rarity by a percentage of its base chance.
- Activation Conditions:
- Day/Night: Triggered at in-game day or night.
- Timed Interval: Triggered at fixed real-time intervals.
- Day Of Week: Triggered on specific days of the week.
- Day Of Month: Triggered on specific calendar days.
- Time Range: Triggered during a pre-set real-time period.
- Online Players: Triggered when the server reaches a specified number of online players.
- Added new command: /session shop admin-editor to open the GUI editor for rarity, events, and shop.
- Added Preview Item function in ShopMenu.
- Added Shop Event Editor GUI for easier event management and customization.
- Added HeadDatabase support: you can now set custom heads as icon inside menu.yml.
- Fixed an issue where players could not exit the Shop menu.
- Removed multi-language system — all language entries are now centralized into a single file for simpler management.
- Improved buttons and layout in GUI editor for better usability.
- Improved error logging and diagnostics for easier troubleshooting.
- Minor stability improvements and internal code refinements.
- Refined GUI responsiveness to enhance user interaction.
- Improved internal event handling for more consistent shop behavior.
- Minor bug fixes and stability improvements across all shop modules.
- Enhanced compatibility with various custom item plugins and NBT systems.
- Optimized loading for large shops, reducing lag on servers with many shops.
- Smoother GUI interactions on servers with multiple plugins.
- Changed data storage structure: switched from a single file to a folder-based system for better organization.
- Added /ss data-convert command to migrate old data into the new structure.
- Improved event-driven feedback to prepare for future extensions
- Improved system responsiveness for smoother shop interactions.
- Refined GUI feedback to enhance overall player experience.
- Improved system responsiveness for smoother interactions.
- Refined visual feedback to enhance user experience.
