Skip to content
Domenico edited this page Jun 27, 2019 · 16 revisions

Better documentation coming soon

If you don't have Custom Items, you can still include the Custom Items API in your plugin! Just use this placeholder jar:

https://github.com/jojodmo/CustomItems/blob/master/API/CustomItemsAPI_PLACEHOLDER.jar Note that this is non-functional, but when a server with Custom Items installed uses your plugin, the API will work as intended!

API Documentation

The API can be accessed using the class com.jojodmo.customitems.api.CustomItemsAPI

Each method has JavaDocs attached, so you can read the documentation by looking at those. The most important methods are:

ItemStack getCustomItem(String id)

and

String getCustomItemID(ItemStack stack)

You can also view the source code of the API here: https://github.com/jojodmo/CustomItems/blob/master/API/CustomItemsAPI.java

Clone this wiki locally