EzBoost API Overview
EzBoost exposes a professional, extensible API for plugin developers and advanced users. The API allows you to register custom boost effects, manage player boosts, and integrate deeply with the boost system.
API Components
EzBoostAPI: Main static API class for registering effects, querying and managing boosts.CustomBoostEffect: Interface for defining custom boost effects.
Getting Started
-
Register your custom effect:
EzBoostAPI.registerCustomEffect(new MyCustomEffect()); -
Query or manage player boosts:
if (EzBoostAPI.isBoostActive(player)) { BoostDefinition boost = EzBoostAPI.getActiveBoost(player); // ... }
Advanced Integration
- Listen for boost lifecycle events (see events documentation).
- Implement and register new effect types for custom behavior.
- Use the API to create, clear, or modify boosts programmatically.