1.1.0 Economy and Nexo Block+furniture support
feat: Add Nexo integration and economy-based respawn costs
- Integrated Nexo API for handling custom furniture and block events:
- Added
NexoFurnitureListenerto handle Nexo furniture placement and breaking. - Added
NexoBlockListenerto handle Nexo note block placement and breaking.
- Added
- Implemented economy-based respawn costs:
- Updated
RespawnEconomyto includechargeForRespawnmethod. - Made respawn costs configurable via
config.yml.
- Updated
- Updated
PwingGravesto register Nexo listeners conditionally based on plugin availability. - Enhanced configuration:
- Added settings for Nexo furniture and block IDs in
config.yml. - Updated
messages.ymlto include economy-related messages.
- Added settings for Nexo furniture and block IDs in
- Fixed malformed code in
RespawnEconomy.java. - Updated
plugin.ymlto declare Nexo as a soft dependency. - Cleaned up and refactored listeners for better modularity and maintainability.
Example Usage:
-
Nexo Furniture:
- Place a Nexo furniture item with the configured ID (e.g.,
nexo:beacon) to create a respawn point. - Break the furniture to remove the associated respawn point.
- Place a Nexo furniture item with the configured ID (e.g.,
-
Nexo Block:
- Place a Nexo note block with the configured ID (e.g.,
nexo:beacon) to create a respawn point. - Break the block to remove the associated respawn point.
- Place a Nexo note block with the configured ID (e.g.,