AbilityItemsAPI

An API to make the creation of items with abilities easier for developers

This plugin is now archived and won't be getting updates or support.

 

This plugin makes it easier for developers to make abilities for items.

Import the API

To import the API, you can either use Maven or Gradle. Here's how


<repository>
  <id>synkdev-repo-releases</id>
  <name>SynkDev Repository</name>
  <url>https://maven.synkdev.cc/releases&lt;/url&gt;
</repository>

<dependency>
  <groupId>cc.synkdev</groupId>
  <artifactId>AbilityitemsAPI</artifactId>
  <version>1.1</version>
  <scope>provided</scope>
</dependency>


_Using Maven_


maven {
    url "https://maven.synkdev.cc/releases"
}

implementation "cc.synkdev:AbilityitemsAPI:1.1"

_Using Gradle_


Create your items

Creating an item is very straightforward. Here's some code for example


ItemStack itemStack = new ItemStack(Material.STICK);
ItemMeta meta = itemStack.getItemMeta();
meta.setDisplayName(ChatColor.BOLD+"THE STICK");
itemStack.setItemMeta(meta);

AbilityItem testItem = AbilityItem.newItem("testItem").from(itemStack).lockInSlot().setQuantity(3).setClickEvent(event -> {
    event.getPlayer().sendMessage(ChatColor.ITALIC+"You clicked da stick...");
}).build();
_This creates a stick named "THE STICK". When a player clicks it, they get the message "You clicked da stick" in the chat._

To give an item to a player, it's also very straightforward:


testItem.give(Bukkit.getPlayerExact("Notch"));

 

For full documentation, visit the [docs](https://docs.synkdev.cc/).
Here's the maven repository: [https://maven.synkdev.cc/](https://maven.synkdev.cc/)

The AbilityItemsAPI Team

profile avatar
  • 1
    Followers
  • 7
    Projects
  • 959
    Downloads

More from Synk_mc_View all

  • Deathlogger project image

    Deathlogger

    • 220
    • Bukkit Plugins

    Allows you to save player's data when they die (inventory, location, etc...)

    • 220
    • December 5, 2025
    • Bukkit Plugins
    • +1
  • SynkLibs project image

    SynkLibs

    • 252
    • Bukkit Plugins

    The library required to use most of my plugins

    • 252
    • June 3, 2025
    • Bukkit Plugins
  • NeuxsAuctionHouse project image

    NeuxsAuctionHouse

    • 226
    • Bukkit Plugins

    The easy auction house plugin you've looked for, and for free!

    • 226
    • June 3, 2025
    • Bukkit Plugins
  • King's Anvil project image

    King's Anvil

    • 62
    • Bukkit Plugins

    An innovative and competitive minigame to give some more fun to your players!

    • 62
    • October 14, 2024
    • Bukkit Plugins
  • Deathlogger project image

    Deathlogger

    • 220
    • Bukkit Plugins

    Allows you to save player's data when they die (inventory, location, etc...)

    • 220
    • December 5, 2025
    • Bukkit Plugins
    • +1
  • SynkLibs project image

    SynkLibs

    • 252
    • Bukkit Plugins

    The library required to use most of my plugins

    • 252
    • June 3, 2025
    • Bukkit Plugins
  • NeuxsAuctionHouse project image

    NeuxsAuctionHouse

    • 226
    • Bukkit Plugins

    The easy auction house plugin you've looked for, and for free!

    • 226
    • June 3, 2025
    • Bukkit Plugins
  • King's Anvil project image

    King's Anvil

    • 62
    • Bukkit Plugins

    An innovative and competitive minigame to give some more fun to your players!

    • 62
    • October 14, 2024
    • Bukkit Plugins