Java API

Installing the API

You just have to use maven or gradle, you can get the API here

<repository>
    <id>jitpack-repo</id>
    <url>https://jitpack.io</url>
</repository>
<dependency>
    <groupId>com.github.LoneDev6</groupId>
    <artifactId>api-itemsadder</artifactId>
    <version>3.0.0</version>
    <scope>provided</scope>
</dependency>

Javadocs

Important notes

It's very important to listen to the ItemsAdderLoadDataEvent event in order to make sure items are correctly loaded before accessing them.

ItemsAdder loading is async that's why.

Last updated