Getting Started
To begin using the Shards API, you need to add the Shards.jar file as a dependency to your project. This will allow you to access all the API classes and methods from your own plugin.
Project Setup
First, download the Shards.jar file and place it into a libs folder in your project's root directory. Then, add it as a dependency to your build configuration.
Maven
<dependency>
<groupId>com.zeltuv</groupId>
<artifactId>Shards</artifactId>
<version>LATEST</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/Shards.jar</systemPath>
</dependency>
Gradle
dependencies {
compileOnly files('libs/Shards.jar')
}
Once the dependency is added, you can start using the API classes. All interactions begin with the main ShardsAPI interface.
Last updated