DeluxeMobCoins v1.6 - The Dynamic Economy Update!
This update brings major new features to the shop and mob drop systems, offering more dynamic and configurable experiences for server owners and players.
✨ New Feature: Advanced Shop System
The shop has been completely overhauled with new features to create a more engaging economy.
Item Stock System:
- You can now set a stock limit for each item in shops.yml.
- Players can only purchase an item a limited number of times.
- Added a configurable stock-reset period, allowing all player purchase stocks to reset automatically (e.g., every 24 hours).
- The {stock} placeholder is now available in item lore to show players the remaining stock.
Rotating Market & Item Pools:
- A new Rotating Market system can be enabled in config.yml. The shop will now automatically open and close on a schedule you define (open-duration and closed-duration).
- Item Pools can be configured in shops.yml. This allows you to define a group of items that will be randomly selected and displayed in the shop each time it opens, making the shop's inventory dynamic.
- Added server-wide broadcast messages and sounds for shop opening and closing events.
New Admin Commands:
- /mobcoins forceopen: Manually opens the shop, overriding the timer.
- /mobcoins forceclose: Manually closes the shop, overriding the timer.
✨ New Feature: Physical MobCoin Drops
A brand new, highly requested mob drop system has been implemented, giving you more control over how players receive their coins.
Configurable Drop Method:
A new drop-method option in config.yml allows you to choose between two modes:
- DIRECT: The original method where coins are added directly to a player's balance.
- ITEM: The new method where mobs drop a physical item representing the MobCoins.
Customizable Coin Items:
When using the ITEM method, you can fully customize the appearance of the dropped coin item in config.yml.
- Material: Choose any material, including PLAYER_HEAD.
- Custom Texture: Apply a custom texture to player heads using a Base64 value.
- Name & Lore: Set a custom display name and lore, both supporting color codes and the {amount} placeholder.
Right-Click to Claim:
- Players must pick up the physical coin item and right-click it in their hand to claim its value.
- Upon claiming, the coin value is added to their balance, and the item is consumed.
- Configurable feedback including a custom sound, title, and subtitle can be set in config.yml to confirm the claim.
Bug Fixes & Improvements
- Sounds: Added missing sounds for the /forceopen and /forceclose commands.
- Update Checker: The update notification message (update-notify) now correctly supports the placeholders {new_version}, {current_version}, and {link} for more informative alerts to admins.
- Code Refinements: General improvements to code structure and performance.