Skip to main content

Developer API

Accessing the API

Gradle (Kotlin DSL)

repositories {
maven("https://repo.convallyria.com/snapshots")
}

dependencies {
compileOnly("com.convallyria.forcepack:api:1.3.72")
}

Maven

<repositories>
<repository>
<id>convallyria-snapshots</id>
<url>https://repo.convallyria.com/snapshots</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.convallyria.forcepack</groupId>
<artifactId>api</artifactId>
<version>1.3.72</version>
<scope>provided</scope>
</dependency>
</dependencies>

Usage

The API can be accessed by getting an instance of the plugin on your platform and casting it to ForcePackAPI.