Create Your Own Boosts & Buffs
Down below you will see how you can create your very own boosts using the API!
You can create boosts by registering the boost or not
With Registering ->
Create a new Class that extends PetBuffRegister .
Add these methods to it
After your done in your onEnable() you will need to register the buff like this, don't worry about registering Listeners that is handled by RivalPets and this way your buff will show up in /pets buffs.
Make sure in your plugin.yml to add RivalPets to either soft-depend or depend
Without Registering ->
In any listeners or anywhere in your code you can do:
Note: this way you will have to register your events
Last updated