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.
EzBoostAPI: Main static API class for registering effects, querying and managing boosts.CustomBoostEffect: Interface for defining custom boost effects.
To use a custom effect in your boost configuration, reference its unique type string (as returned by getType()) in your boosts.yml:
boosts:
my_custom_boost:
name: "My Custom Boost"
effects:
- type: mycustom # This must match your CustomBoostEffect#getType()
# ... any additional effect parameters your effect supports
duration: 120
# ... other boost optionsMake sure your plugin registers the custom effect with EzBoostAPI.registerCustomEffect(...) before any boosts are loaded or activated.
You can use JitPack to include the latest version directly from GitHub:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.ez-plugins</groupId>
<artifactId>EzBoost</artifactId>
<version>1.4.0</version> <!-- a specific release/tag -->
</dependency>EzBoostAPI.registerCustomEffect(new MyCustomEffect());if (EzBoostAPI.isBoostActive(player)) {
BoostDefinition boost = EzBoostAPI.getActiveBoost(player);
// ...
}- 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.
For more details, see: EzBoost on GitHub