Skip to content

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.

Notifications You must be signed in to change notification settings

LoneDev6/API-ItemsAdder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ 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!



⚠️ Important

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.

Developer reference (Maven)

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

jitpack.io

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>

LoneLibs

This API requires LoneLibs to be added to your dependencies.

Add it using my repository

 <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>

Alternative: Add it using the JAR

<dependency>
    <groupId>libs</groupId>
    <artifactId>LoneLibs</artifactId>
    <version>1.0</version>
    <scope>system</scope>
    <systemPath>path_to_your_jar/LoneLibs.jar</systemPath>
</dependency>

Developer reference (Gradle)

jitpack.io

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'
}

Examples

GUI

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

Complex HUDs usage (ServerMonitor)

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

About

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.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages