βAPI
How to use EpicGuard's API.
Adding Gradle/Maven dependency
EpicGuard's artifacts are distributed on JitPack so you have to also add it as a repository.
Gradle Setup (build.gradle)
repositories {
maven {
url 'https://jitpack.io'
}
}
dependencies {
compileOnly 'com.github.xxneox.EpicGuard:epicguard-core:6.0.0'
}Maven Setup (pom.xml)
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.xxneox.EpicGuard</groupId>
<artifactId>epicguard-core</artifactId>
<version>6.0.0</version>
</dependency>
</dependencies>Accessing the API
The EpicGuardAPI class is located in the me.xneox.epicguard.core package. This is how you can obtain an instance of the API.
API methods
Here are the methods available for use. If you feel like there's something missing in here, contact us in our support Discord.
ExamplesLast updated
Was this helpful?