ItemsCore
  • ⚔️ItemsCore
  • ⚖️Free VS Premium
  • How to use
    • 👋Introduction
    • 📝Use the item editor
      • 🎀Simple Customization
      • 📇Click Type & Skull Owner
      • 🥊Custom model data
      • 💣Actions
    • The code
      • ❗Create abilities
      • 🎉Events
      • 🎣Hooks
    • 🔌Supported Plugins
  • The API
    • 👋Introduction
    • 📤Placeholders
Powered by GitBook
On this page
  1. The API

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)
PreviousSupported PluginsNextPlaceholders

Last updated 1 month ago

👋