⭕ NightMarket [1.20-1.21+] - FREE Rotating Market Plugin | Mystery Items & Player Reroll ✨ icon

⭕ NightMarket [1.20-1.21+] - FREE Rotating Market Plugin | Mystery Items & Player Reroll ✨ -----

Boost Player Engagement with a FREE Rotating GUI Shop, offering Timed-Exclusive Deals and Unique!



NightMarket - 1.16 Update
NightMarket v1.16 - The Multi-Currency Update
This update introduces a major new feature: Multi-Currency Support, allowing server owners to configure items to be purchasable with up to two different types of currency. This was a fantastic community suggestion that greatly enhances the plugin's flexibility.

✨ New Features
Multi-Currency Support
  • Dual Pricing for Items: You can now define up to two different economy prices for a single item in items.yml using the new prices list format.

  • Click-Based Purchasing:
    • Left-Click in the market will purchase the item using the first currency listed.

    • Right-Click will purchase the item using the second currency listed.
  • Dynamic Lore Display: The item's lore will now automatically display both prices, clearly indicating which click corresponds to which currency.

  • New Configuration Options:
    • New placeholders have been added to items.yml (multi-price-line-format, left-click-prefix, right-click-prefix) to give you full control over how multi-currency prices are displayed.

    • The confirmation menu has also been updated to show the specific currency and price the player chose.
Enhanced Economy System
  • Multi-Provider Hooking: The EconomyManager has been re-engineered to hook into all supported economy plugins found on the server simultaneously, not just the single default provider from config.yml.

  • Flexible Item Pricing: You can now specify any hooked economy provider (e.g., "VAULT", "PLAYER_POINTS", "TOKEN_MANAGER", or custom API-registered providers) directly within the prices section for each item.
Bug Fixes & Improvements
  • Corrected a critical bug in MarketManager.java that was causing compilation errors and preventing the plugin from loading correctly after the initial multi-currency changes.

  • Fixed Data Handling: The market_state.yml file now correctly saves and loads all pricing information for each item, including original price, final price, and discount status for both currencies.

  • Backward Compatibility: The old price: <amount> format in items.yml is still fully supported. Items using this format will default to using the primary economy provider set in config.yml.

  • API Enhancements: The APIManager has been improved to allow other plugins to register custom economy providers even after the server has started, ensuring they are correctly integrated into the new multi-economy system.

  • Fixed Price Formatting: Fixed an issue where the price format in the purchase confirmation message (sent to chat) did not respect the price_format.style setting from config.yml. The purchase message will now use the correct number formatting, ensuring a consistent experience between the GUI and chat.
----------, Sep 26, 2025
Resource Information
Author:
----------
Total Downloads: 406
First Release: Aug 11, 2025
Last Update: Oct 6, 2025
Category: ---------------
All-Time Rating:
13 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings