Lifesteal Enchantment


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!

Don't want to code your own enchantments? Visit EnchantmentPack for a large collection of enchantments!


Silly Enchantment
(a lv5190 enchantment)

  • An extendable class for plugins for simple setting up of enchantments
  • An abstract CustomEnchantment class for quick enchantment creation
  • Automatic effect activation when the enchanted item hits something
  • Automatic enchanting table integration
  • Enchantments are easily added onto any item
  • The max level of enchantments is that of an integer variable
  • Large enchantment levels should probably be avoided though (above is a good reason why)
  • Any item can use the enchantments (torches, signs, you name it)
  • Enchantment effects can be for attacking, defending, breaking blocks, equipping, unequipping, or mix of them all!
  • Any enchantment can be completely disabled by editing the config
  • Configurable weights, max levels, conflict groups, and item sets for all enchantments
  • All items can be used in enchanting tables if they have an enchantment bound to them as of v3.0!
  • Anvils can now handle custom enchantments very similar to any vanilla enchantment (v4.0)
  • Randomly generated names can be applied to enchanted items! (You can turn this off)
  • Permissions per enchantment (with v4.10)


New Enchantment Table Mechanics

For an in-depth explanation on the new mechanics for the enchantment table (because it needed some to get every item to work), go here
Thanks to Diemex for coming up with this idea :)


A config file is generated as new enchantments are added. Adding more enchantments later will simply automatically add onto the config with its default values the next time you reload your server. All changes you make will override the enchantment values. You can edit them while the server is running and reloading the server will apply them.

The config allows you to change the following things:

  • weight: chance of getting the enchantment from a table
  • items: the items that can receive the enchantment from a table
  • enabled: whether or not the enchantment can be obtained and used
  • table: whether or not the enchantment can be obtained in the enchantment table
  • group: the conflict group of the enchant - items in the same group will conflict unless its the default group
  • max: the maximum level for the enchantment
  • base: the minimum modified enchantment level that can get the enchantment
  • interval: the amount of modified enchantment levels above the base it takes to get the next tier

    Vanilla enchantments cannot be completely disabled, although you can stop them from being received in the enchantment table.

    Disabled custom enchantments will no longer work on items that had received it before disabling it.


  • /enchantapi list [page] - Providing the page gives a detailed list while no page just shows you the complete list
  • /enchantapi reload - Reloads the plugin data
  • /enchantapi book - gives you a book with descriptions for every enchantment
  • /enchantapi add <enchantName> [enchantLevel] - Supports vanilla names such as "sharpness" as of v4.0!
  • /enchantapi stats <item> <level> - Displays probabilities for every possible enchantment for the item at the given level (item name or item ID)
  • /enchantapi graph <item> <enchant> - Displays a graph for probabilities of the enchantment on the item over all 30 levels (item name or item ID)
    Yes, you do have to include spaces for the addenchant command with the enchantment name!
    Note: the graph takes 3-5 seconds to generate because it generates 3,000,000 samples in order to get reliable results!

    graph command


  • EnchantmentAPI.list - access to the list command
  • EnchantmentAPI.book - access to giving yourself a description book
  • EnchantmentAPI.admin - access to adding enchants to items, reloading the plugin, and viewing statistics
  • EnchantmentAPI.table - access to custom enchantments from the table
  • EnchantmentAPI.names - access to random names from enchanting (needs table as well)

    Version 4.10 permissions
  • EnchantmentAPI.enchant - access to all enchantments in the table (default is true)
  • EnchantmentAPI.enchant.enchantName - access to the enchantment in the table (replace 'enchantName' with the name of the enchantment with all lowercase letters and no spaces)

    Version 4.11 permissions
  • EnchantmentAPI.enchant.vanilla - access to all vanilla enchantments (default is true)
    Note, with this permission added, removing the permission EnchantmentAPI.enchant will still leave players with access to vanilla enchantments. You must remove both for them not to have the access!

Javadocs, Source Code, and Tutorials


Javadocs are found here
Thanks to JefferiesTube for the space for the javadocs!

Source Code




  • Losing items in the enchanting table? Try deleting your config files as they are probably outdated
  • If the you start getting loading problems that point to EnchantPlugin saying that the class cannot be loaded, try adding this line to your plugin.yml:
depend: [EnchantmentAPI]

Example Enchantments


I have created a forum for this that you can submit ideas, projects you are working on, and bugs to. Its completely optional but it might help organize what's going on with this project :)

Special Thanks

  • zag09 for finding several bugs and making suggestions
  • JefferiesTube for the Javadocs space and the bountiful suggestions
  • Diemex for cleaning up my sloppy code

Like the project?

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of mcgavyn mcgavyn Oct 12, 2015 at 03:50 UTC - 0 likes

    @ligar08: Go

    Download both Enchantment Pack and Enchantment API, then drop all the jar files into your plugin folder.

  • Avatar of skyzophrenic skyzophrenic Oct 10, 2015 at 20:27 UTC - 0 likes

    Can some one please post more packs? or enchants ;-;

  • Avatar of ligar08 ligar08 Sep 26, 2015 at 20:31 UTC - 0 likes

    How exactly do you add the enchantmentpack to enchantmentapi? I searched up how to and couldn't find a defined way

  • Avatar of GoldenEagle1995 GoldenEagle1995 Sep 23, 2015 at 09:01 UTC - 0 likes

    @vanthoi: Go

    im not sure what you're trying to do but, you have 2 locations in different worlds that must be in the same world

  • Avatar of GoldenEagle1995 GoldenEagle1995 Sep 23, 2015 at 08:59 UTC - 0 likes
  • Avatar of vanthoi vanthoi Sep 20, 2015 at 03:19 UTC - 0 likes

    how to fix orror ?

  • Avatar of Zombiesking4260 Zombiesking4260 Sep 12, 2015 at 22:06 UTC - 0 likes

    can you make so you can add your own enchantments in the yml?

  • Avatar of vanthoi vanthoi Sep 01, 2015 at 03:13 UTC - 0 likes

    Please fix error crash SERVER
    I'm user mc server 1.8.3

  • Avatar of fenman4 fenman4 Aug 31, 2015 at 00:27 UTC - 0 likes

    This has to be one of my favourite plugins I've ever found but there are quite a few problems with it. Sometimes players lose items when combining them in an anvil. Only OP's can do it without it glitching out. Also sometimes when you're done enchanting and you take out the "placeholder" it doesn't turn back into the original item. ALSO People can't rename nametags. I saw someone mention the Simple Rename plugin but it hasn't done anything. I'm sure if I do something I can get around these problems.

    Also I don't really understand how you use the custom anvils. When I place down a Gold Block it says "You're not skilled enough to Salvage items." I tried doing /exp set fenman4 435687234 but it still says that. Does that mean this plugin comes with a built in leveling system? Can somebody please help?

    But on the whole I love this plugin so much. I just wish I could get around these problems. Idk if it's something you're doing wrong or something I'm doing wrong.

    Last edited Aug 31, 2015 by fenman4
  • Avatar of raindowhippo02 raindowhippo02 Aug 23, 2015 at 22:19 UTC - 0 likes

    @blackyamato: Go

    Hey can u link me to those plugin expantions ill get them and try to debug the problem for you


Date created
May 31, 2013
Last update
Jun 27, 2015
Development stage
  • enUS
MIT License
Curse link
Recent files