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!
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.
To build your project against this library, simply include one of the following references in your pom.xml
:
Add this to your <repositories> section:
<repository>
<id>jitpack-repo</id>
<url>https://jitpack.io</url>
</repository>
In your <dependencies> section (Replace VERSION
with the latest release of this package):
<dependency>
<groupId>com.github.LoneDev6</groupId>
<artifactId>api-itemsadder</artifactId>
<version>3.6.1</version>
<scope>provided</scope>
</dependency>
This API requires LoneLibs to be added to your dependencies.
<repository>
<id>matteodev</id>
<url>https://www.matteodev.it/spigot/public/maven/</url>
</repository>
<dependency>
<groupId>dev.lone</groupId>
<artifactId>LoneLibs</artifactId>
<version>1.0.58</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>libs</groupId>
<artifactId>LoneLibs</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>path_to_your_jar/LoneLibs.jar</systemPath>
</dependency>
Repository:
repositories {
maven {
url 'https://jitpack.io'
}
}
Artifact (Replace VERSION
with the latest release of this package):
dependencies {
compileOnly 'com.github.LoneDev6:API-ItemsAdder:3.6.1'
}
https://github.com/LoneDev6/API-ItemsAdder-Example-GUI
https://github.com/LoneDev6/API-ItemsAdder-Example-ServerMonitor