👋Introduction
How to get the api
Current version: 3.0
First, add the plugin to your plugin libs and add this dependency:
<dependency>
<groupId>me.TastyCake</groupId>
<artifactId>ItemsCore</artifactId>
<version><version></version>
<systemPath>${project.basedir}/libs/ItemsCore.jar</systemPath>
<scope>system</scope>
</dependency>
Now to get the API you can do this: ItemsCoreAPI api = ItemsCore.getItemsCoreAPI();
Methods:
getItemByName(String (name)) // Will return the item that goes by this name
giveItem(Player, Item) // Will give the item to the player (as ItemStack)
Last updated