-
-
Notifications
You must be signed in to change notification settings - Fork 2
API
JustDoom edited this page Dec 9, 2021
·
10 revisions
To start using the API please follow this guide
Gradle:
First add jitpack to your build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Then add the dependency
dependencies {
implementation 'com.github.justdoom:flappyac:1.7.7-BETA'
}
Maven:
First add jitpack to your pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Then add the dependency
<dependency>
<groupId>com.github.justdoom</groupId>
<artifactId>flappyac</artifactId>
<version>1.7.7-BETA</version>
</dependency>
And your done!
Events: Currently there are 3 events you can listen to and cancel
- FlagEvent
- PunishEvent
- ViolationResetEvent