Using the LifeStealZ API
This page is about how to use the LifeStealZ API in your own plugin.
Importing LifeStealZ
Use the below code example matching your dependency manager. Replace the version with the current one.
pom.xml
Set LifeStealZ as (soft)depend
In the next step, you will have to go to your plugin.yml
file and add LifeStealZ as a dependency.
plugin.yml
Use the API methods
To use the API methods, you'll need to get an implementation of the LifeStealZAPI Interface:
Read more about the API methods here.
Last updated