Plugin API
Here you can view the JavaDocs and how to access/use the Player Elections Plugin API.
Java Docs
Here you can view the Java Docs here for Player Elections which provides you all the usages and descriptions of the API.
Maven Repository
Do you want to integrate with Player Elections in your plugin? You can use the OlzieDev repo to build against the Player Elections API.
Under repositories
in your pom.xml
, you need to add a new repository
for the repo.
Next, add Player Elections as a dependency
under dependencies
:
VERSION_HERE
would be your exact plugin version, you will not need to update the API version every time a plugin update is out, only when an api update happens.
How to access the API
You can access the Player Elections API by getting the instance. If the plugin hasn't fully loaded the instance will return null, you can use a callback to access the API when its ready.
Some examples
Last updated