NightMarket v1.7 - The Flexibility Update
This update introduces a major new feature requested by the community, giving server owners more control over how their market's economy and item availability are handled.
✨ New Features
Selectable Stock System
The biggest addition in this version is the ability to choose how item stocks are managed. A new stock_system section has been added to config.yml.
- mode: GLOBAL
- This is the original, default behavior.
- The stock value in items.yml is server-wide.
- Each player can only purchase each unique item ONCE per market cycle, making items feel more exclusive.
- mode: PLAYER
- This is the brand-new mode based on user feedback!
- The stock value in items.yml now applies to each player individually.
- If an item has a stock of 5, every single player can buy that item up to 5 times, regardless of what other players do. This is perfect for items you want to be more widely available.
⚙️ Improvements & Changes
Dynamic %stock% Placeholder
To make configuration easier, the lore placeholder system has been simplified. You now only need to use
%stock%.
- In GLOBAL mode, it will automatically display the remaining server-wide stock.
- In PLAYER mode, it will automatically display the player's personal remaining stock for that item.
- The old %player_stock% placeholder is no longer needed.
For Server Admins
Automatic Configuration Update
There's no need to manually add the new options to your config.yml. Simply update the plugin .jar file and
restart your server. The new stock_system section will be added to your configuration file automatically.
Thank you for your valuable feedback which made this update possible!