Economy Feature Update for SimpleSilkSpawner
New Economy Integration
SimpleSilkSpawner now includes an optional economy feature that allows server administrators to set a cost for mining spawners with Silk Touch. This integration works with any economy plugin that supports Vault.
Features
- Cost for Mining Spawners: Players must pay a configurable amount to successfully mine a spawner with Silk Touch
- Customizable Messages: Fully customizable message when players don't have enough funds
- Permission-Based: Can be combined with the existing permission system
- Vault Integration: Works with all major economy plugins that support Vault
How It Works
- When a player attempts to mine a spawner with a Silk Touch pickaxe, the plugin checks if the economy feature is enabled
- If enabled, it verifies if the player has enough funds in their account
- If the player doesn't have enough funds, the mining action is canceled and a customizable message is displayed
- If the player has enough funds, the cost is withdrawn from their account and the spawner is successfully mined
Requirements
- Vault plugin
- Any economy plugin that supports Vault (such as EssentialsX, TheNewEconomy...)
This update enhances server monetization options while maintaining the plugin's simplicity and ease of use.