NightMarket v1.18.1 - The Flexibility & Control Update This update addresses a critical bug with the purchase confirmation menu and introduces major new features for scheduling, commands, and economy, giving you unprecedented control over your market.
✨ New Features & Improvements
New: Permanent Open Mode
A new PERMANENT_OPEN schedule mode has been added to config.yml, allowing the market to stay open 24/7.
This mode includes a configurable daily reset time to refresh all items and stock.
New: Custom Command Aliases
You can now add your own custom command aliases, like /shop or /market, via the new custom_command_aliases list in config.yml.
New: Native TNE Support
Added full, native support for TheNewEconomy (TNE), allowing the market to exclusively use a specific configured TNE currency via its robust API.
Custom Model Data for Global Items:
You can now apply custom_model_data to the main placeholder items directly in config.yml. This allows for unique textures on your server's resource pack.
The following items now support this feature:
global_placeholder_item
global_purchased_item_display
global_out_of_stock_item_display
Multi-Slot Confirmation Buttons:
The confirm_button and cancel_button in the confirmation menu now support multiple slots.
You can now define a list of slots in gui.yml (e.g., slots: [19, 20, 21]) to create larger or custom-shaped buttons, improving the user experience.
Bug Fixes
Confirmation Buttons Unresponsive: Fixed a critical bug where the "Confirm" and "Cancel" buttons in the purchase confirmation menu would not work. The issue was caused by an unreliable method of detecting button clicks based on item similarity. The logic has been updated to use a much more reliable slot-based detection, ensuring that player clicks on these buttons are now correctly registered every time.