BeastTokensAPI - MrAxeTv/BeastTokensAPI GitHub Wiki
Please note, that the examples in this page are only available for BeastTokens 3.9.6 or higher! First steps
Before you can actually make use of BeastTokensAPI, you first have to import it into your project.
To import BeastTokensAPI, simply add the following code to your pom.xml Replace {VERSION} with the version listed at the top of this page.
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.MrAxeTv</groupId>
<artifactId>BeastTokensAPI</artifactId>
<version>{VERSION}</version>
</dependency>
Here is how you can import BeastTokensAPI through gradle. Put this into your Gradle.build. Replace {VERSION} with the version listed at the top of this page.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.MrAxeTv:BeastTokensAPI:{VERSION}'
}
Next step is to go to your plugin.yml and add "BeastTokens" as a depend or softdepend, depending (no pun intended) on if it is optional or not.
name: ExamplePlugin
version: 1.0
author: author
main: your.main.path.here
softdepend: [BeastTokens] # This is used, if your plugin works without BeastTOkens.
name: ExamplePlugin
version: 1.0
author: author
main: your.main.path.here
depend: [BeastTokens] # If your plugin requires BeastTokens, to work, use this.