NightMarket v1.12 - The CoinsEngine Update
This update introduces a new economy provider, expanding the plugin's compatibility and offering more flexibility for server owners.
✨ New Features
CoinsEngine Support
- NightMarket now officially supports CoinsEngine as an economy provider. You can now use currencies created in CoinsEngine for all transactions within the Night Market.
⚙️ Configuration Changes
To enable the new economy provider, you need to make the following changes in your config.yml:
1. Set the provider
In the economy section, set the provider to "COINSENGINE".
Code (Text):
economy:
enabled: true
provider: "COINSENGINE"
2. (Optional) Specify Currency ID
A new option, coinsengine_currency_id, has been added under the economy section. This allows you to specify which CoinsEngine currency you want to use. If not set, it defaults to "coins".
Code (Text):
economy:
# ... other settings
provider: "COINSENGINE"
# Add this line to specify your currency
coinsengine_currency_id: "your_currency_name_here"
Technical Updates
- Added CoinsEngine to the softdepend list in plugin.yml to ensure proper loading order.
- Implemented a new CoinsEngineProvider.java class to handle all API interactions for balance checking and withdrawals.