CustomeEnchantmentAPI

CustomeEnchantmentAPI

5.9k Downloads

Overwiew

The plugin is made primarily for developer usage as it doesn't do much on its own. It does however provide very easy access into creating custom enchantments that look like normal enchantments and can be added through both the enchanting table and programmatically! Now developers can make new enchantments such as life steal even with very little code!

Features

  • An extendable class for plugins for simple setting up of enchantments.
  • An abstract Enchantment class for quick enchantment creation.
  • The max level of enchantments is that of an integer variable(can be overriden if lore has a larger number).
  • Any item can use the enchantments.
  • The plugin uses a seperate Logger and logs everything in CustomEnchantmentAPI/log.
  • Dynamic creating and calling of Enchantment Events.
  • Every Enchnatment has assigned a id(plugin:enchnatmentName).

Commands

  • /ceapi or /CustomEnchantmentAPI - Are the main commands
  • /ceapi list* - Lists all registered enchantments
  • /ceapi enchant <plugin>:<enchantment> <lvl> - Enchants the item in your hand with the custom enchantment
  • /ceapi unenchant <plugin>:<enchantment> - Unenchants the item with the custome enchantment.
  • /ceapi reloadConfigs - Reloads config files.(Must be OP)
  • */ceapi enchantment <plugin>:<enchantment> - gets the information of a Enchantment

Permissions

  • adx.ceapi.* or adx.custom.enchantmentapi.plugin.* - Gives acces to all plugin commands
  • adx.ceapi.use - Gives acces to the /ceapi command
  • adx.ceapi.list - Gives acces to the /ceapi list command
  • adx.ceapi.enchant - Gives acces to use /ceapi enchant command
  • adx.ceapi.enchantment.* - Gives acces to enchant/unenchnat every Enchnatmnet avaliable.
  • adx.ceapi.enchantment.<id> - Gives acces to enchant/unenchnat the Enchnatment with the specified id.
  • adx.ceapi.enchantment - Gives you acces to /ceapi enchantment <id>

Config

config.yml

Template-en-US.yml

Javadocs, Source Code, and Tutorials

https:github.com/audioXD/CustomEnchantmentAPI.git

(feel free to add a suggestion)

Tutorial

First add the CustomEnchantmentAPI.jar as a Library

Examples