/CrazyAdvancementsAPI

CrazyAdvancementsAPI is a light-weight NMS-based API for creating and managing Advancements on Spigot Servers

Primary LanguageJava

CrazyAdvancementsAPI

About

CrazyAdvancementsAPI is an API for creating and managing Advancements programmatically on Minecraft Spigot Servers

Maven

Maven with Jitpack only works in API Version 2.1.17a and higher.

First, add the Jitpack Repository to your repositories

<repositories>
  <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
  </repository>
</repositories>

Then, add the following to your dependencies:

<dependency>
    <groupId>com.github.ZockerAxel</groupId>
    <artifactId>CrazyAdvancementsAPI</artifactId>
    <version>VERSION</version>
</dependency>

Or for mojang-mapped jar:

<dependency>
    <groupId>com.github.ZockerAxel</groupId>
    <artifactId>CrazyAdvancementsAPI</artifactId>
    <version>VERSION</version>
    <classifier>mojmap</classifier>
</dependency>

Replace VERSION with the Version you want, for example for v2.1.18a, you would use:

<dependency>
    <groupId>com.github.ZockerAxel</groupId>
    <artifactId>CrazyAdvancementsAPI</artifactId>
    <version>v2.1.18a</version>
</dependency>

Gradle

Gradle with Jitpack only works in API Version 2.1.17a and higher.

First, add the Jitpack Repository to your repositories

repositories {
    maven { url 'https://jitpack.io' }
}

Then, add the following to your dependencies:

dependencies {
    compileOnly("com.github.ZockerAxel:CrazyAdvancementsAPI:VERSION")
}

Or for mojang-mapped jar

dependencies {
    compileOnly("com.github.ZockerAxel:CrazyAdvancementsAPI:VERSION:mojmap")
}

And replace VERSION with the Version you want, for exmaple for v2.1.18a, you would use:

dependencies {
    compileOnly("com.github.ZockerAxel:CrazyAdvancementsAPI:v2.1.18a")
}

Documentation

The Official Documentation can be found here

There is also Javadoc available here