- Added Featured Packages system for displaying select packages directly in the main /coinshop GUI.
- Featured packages are configured in guis/featured_packages.yml, using the same format and options as category items.
- Slots used for featured packages must correspond to empty slots defined in main.yml, as main.yml has slot/page priority.
- Featured packages support all normal item features, including:
- Custom Model Data
- Stock limits
- Dynamic pricing
- Sales and discounts
- Allows showcasing specific packages immediately to players without requiring them to open a category GUI.
- Added item permission system allowing permissions to control visibility or purchase access.
- New item settings added:
- permission – defines the required permission node.
- permission-mode – "view" or "purchase".
- View mode:
- If the player lacks permission, the item is hidden.
- Optionally replaced with a filler item or left empty in the GUI.
- Purchase mode:
- Adds purchase-display-item (displayed if lacking permission).
- Adds purchase-display-click-permission (temporary item shown if clicked without permission).
- Configurable reset delay (default 3 seconds) within the specific item’s configuration section.
- Added two example configurations in cosmetics.yml:
- Example 1 – item requiring permission to view.
- Example 2 – item requiring permission to purchase.
- Added command to reset all player balances to the default currency amount.
- Requires confirmation by repeating the command before execution to prevent mistakes.
- Removed unnecessary settings from config.yml:
- "fill-empty-slots: true" and "fill-item: BLACK_STAINED_GLASS_PANE"
- "items-per-page: 28"
- Added Preview/New Items system: items can now be displayed in the store before being purchasable.
- Added preview mode toggle and publish-date/time-until-unlock options in config.
- Implemented countdown timer showing time left until an item becomes purchasable.
- Useful for limited-stock items or timed releases where players can prepare before launch.
- Added preview-click item: temporary item shown when players attempt to buy previewed items.
- Configurable reset delay (default: 3 seconds) before reverting to normal item.
- Added “preview-item” configuration section allowing customization of previewed item’s appearance (name, lore, material, etc).
- Included two example configurations:
- One with a specific date unlock.
- One with a time-until unlock.
- Fixed player-specific sale ending message bug where the “Items” placeholder was blank when sale applied to all items.
- Improved sale-ending system by allowing multiple ending messages/titles, similar to start messages.
- New sale selectors: categories AND items, mixed allowed. If none provided → all
- Commands: - /mccoinshop sale create [categories/items] [users] - /mccoinshop sale create-global [categories/items]
- Tab completion: now suggests all category IDs and all item IDs (comma-aware) for create and create-global
- Limit display: Category GUIs now show the configured max-purchases-display item when limit reached (no barrier swap).
- Limit click action: Clicking a limit item runs its actions from config; falls back to a simple chat if none.
- Implemented configurable page carryover (page-swap) between Main <-> Category
- Fixed category pagination click handling.
- Fixed %page% placeholder not working in menu titles.
- Updated some button-click sounds.
- Fix: Added slot lock system to honor restore-after seconds (barriers weren’t lasting due to async refresher).
- %currency% now uses configured color: used colored display-name in GUI and messages (purchase success, insufficient funds), and colored names in all Currency responses.
- Fix: Category [PAGE] buttons now work.
- Added %page% placeholder: GUI text now replaces %page% with the player’s current page.
- Added per-item display_sale in ShopItem (material/name/lore/cmd); GUI now auto-switches to sale icon when sale active; supports %sale_timer% (alias of %sale_time%).
