API-ItemsAdder icon indicating copy to clipboard operation
API-ItemsAdder copied to clipboard

This is the ItemsAdder API repository. It serves as a Maven/Gradle reference for anyone looking to access the API without embedding/owning the entire plugin.

ItemsAdder - API

This repository only serves the point of providing access to the method signatures of ItemsAdder's Java API.
This repository does NOT contain the source code of ItemsAdder, to test and use this, you will still require a copy of ItemsAdder!


☕ Java documentation | ☕ JavaDocs | 📓 Skript documentation


[!WARNING]
When you use the API 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.

ItemsAdder

maven release

To build your project against this library, simply include one of the following references in your pom.xml:

 <repository>
    <id>matteodev</id>
    <url>https://maven.devs.beer/</url>
</repository>

In your <dependencies> section (To find the latest version check the badge above):

<dependency>
    <groupId>dev.lone</groupId>
    <artifactId>api-itemsadder</artifactId>
    <!-- Replace {version} with the latest version -->
    <version>{version}</version>
    <scope>provided</scope>
</dependency>

Examples

GUI

https://github.com/LoneDev6/API-ItemsAdder-Example-GUI

Complex HUDs usage (ServerMonitor)

https://github.com/LoneDev6/API-ItemsAdder-Example-ServerMonitor