GEmote-API Maven Repository
Add the GEmote-API to your project:
Maven repository:
Code (Text):
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
GEmote-API:
Code (Text):
<dependency>
<groupId>com.github.Gecolay.GEmote</groupId>
<artifactId>core</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
API for Developers
If you are a Developer and like to create your own code around GEmote you can use the GEmoteAPI!
Initialization
There is no Initialization. GEmoteAPI is a class with static methods!
So you can use all methods like:
Code (Text):
GEmoteAPI.isEmoting(player);
A list of all GEmote-Methods:
Take a closer look at the latest API here:
GEmoteAPI
A list of all GEmote-Events:
PrePlayerEmoteEvent -> Gets called before an player starts emoting (cancelable)
PlayerEmoteEvent-> Gets called when an player starts emoting
PrePlayerStopEmoteEvent-> Gets called before an player stops emoting (cancelable)
PlayerStopEmoteEvent -> Gets called when an player stops emoting
GEmoteReloadEvent -> Gets called when the /gemotereload command is used