EnchantmentAPI
Overview
EnchantmentAPI brings customization to enchantments. Change how common enchantments are, turn specific ones off, change the max levels, or create your own!
Requirements
Features
- Customize Vanilla enchantments
- Allow enchantments to be naturally obtained on normally unenchantable items (like steaks!)
- Use SkillAPI's skill editor to create your own enchantments
- Code your own custom skills using a simple API
- Allow enchantments to be merged above their normal max levels
- Reach enchantment levels not normally possible (custom enchantment level 5403? sure!)
- Control how many enchantments can be obtained on a single item
- View fancy graphs of enchantment probabilities in game!
- Start off with 50 custom enchantments by getting EnchantmentPack
More Details
For more information, view the wiki on GitHub
Support
I am not active on this site. For support, head over to the Spigot page.
Older Versions
Unforunately, to keep this project maintainable, versions of Bukkit/Spigot before 1.12 will not be supported. To use this plugin on those versions, use builds released before the recoded release.
-
View User Profile
-
Send Message
Posted Jun 20, 2015Hi, I am having a bit of a bug.
When I am hit half a heart below a heart, for example, starting at 10 hearts going to 8.5, I would lose a permanent heart, so it would only heal up to 9 hearts, and so on, until you have 1 heart max and only half a heart, and when you respawn, you still have the 1 heart. Is there a fix?
-
View User Profile
-
Send Message
Posted Jun 20, 2015Anvil does not working, it only works creative mode
-
View User Profile
-
Send Message
Posted Jun 18, 2015Error ... Can you help me? T^T
http://pastebin.com/9bD1Pi3c
-
View User Profile
-
Send Message
Posted Jun 16, 2015@lorinthios
The anvil removes the level requirement twice.
@ Eniripsa96, you had this problem in the past too, remember? Perhaps it's the same issue again.
-
View User Profile
-
Send Message
Posted Jun 7, 2015Issue with my members items poofing out of existance from anvils. Started happening after I added this API. Hopefully you know the issue as there is no stacktrace!
Let me know!
Lor
-
View User Profile
-
Send Message
Posted Jun 3, 2015@MNCbrecht
No, enchantment plugins/mods that don't add enchants use Minecraft's enchantment system, which has a list of enchantments. To add an "enchantment" would be impossible without a mod, which is why you don't get the enchantment shininess effect when you just have a custom enchantment on an item. Because of that, this mod doesn't actually add "enchants"; it adds NBT tags and events. It isn't technically a Minecraft enchantment. That's why would be so hard to fix the enchant preview for 1.8.
-
View User Profile
-
Send Message
Posted Jun 3, 2015please add this plugin support dev.bukkit.org/bukkit-plugins/magic/ the magic weapons will be added enchantments and others, i dont want that,it makes weapons strange :(
-
View User Profile
-
Send Message
Posted Jun 3, 2015-
View User Profile
-
Send Message
Posted Jun 2, 2015@MNCbrecht
Exactly what do you mean, like have a custom enchants plugin that doesn't depend on this API and have the EnchantmentAPI and plugins that depend on it installed too? If so, the that's a yes.
-
View User Profile
-
Send Message
Posted Jun 2, 2015I'm currently making a plugin with this API, and it doesn't seem that the enchantments stack. For example, if I set a chance of (4 * levelOfEnchant)% chance of an effect activating, and I have that 5 levels of that enchantment on both my chestplate and sword, I still only get a 20% chance instead of 40%. Is it possible for you or me to make it so the enchants stack?
-
View User Profile
-
Send Message
Posted Jun 2, 2015-
View User Profile
-
Send Message
Posted May 28, 2015@fantasyvn1190
I didn't disable the anvil. I added an option to do so. By default it should still be enabled.
-
View User Profile
-
Send Message
Posted May 28, 2015Hi EniRippsa96, I Used ColoredAnvil For My player can Rename There Own Items, But Seen You DIsable Anvil !!. Is there Any way To Fix This ?
-
View User Profile
-
Send Message
Posted May 28, 2015@DarkWolf1974
Alright, I just uploaded a new version that handles the lapis cost at least. I'm probably not going to be able to handle the hint it gives you, so it won't be what you get. Getting the value seems hard enough as it seems to use a integer ID and is a value tucked away in the NMS container, but then expanding it to include custom enchantments would be impossible without a mod.
-
View User Profile
-
Send Message
Posted May 28, 2015@Eniripsa96
I forgot to mention about the enchantment preview, where it displays one of the enchantments that will be applied to the item. Not sure how you can work with that one, if at all.
https://www.youtube.com/watch?v=HlVDJKH_OWE touches on that.
-
View User Profile
-
Send Message
Posted May 28, 2015@Eniripsa96
https://www.youtube.com/watch?v=c55uC89RDdo
That explains it all.
-
View User Profile
-
Send Message
Posted May 28, 2015@Eniripsa96
The levels required to do the enchantments are the same as always. IE: you must have 1 to 30 levels depending on what the vanilla enchantment is based on the bookcases. It's broken up into the three groups though.. Tier one enchantment uses 1 exp level, 1 lapis.. Tier 2 is 2&2.. And the highest enchantment will consume 3 of your levels and 3 lapis from the stack in the table. So I would have 30 exp levels to be able to do the highest enchantment.. Chuck in a diamond sword, 3 lapis and hit the highest enchantment, it would use those 3 lapis and knock me down to 27 exp levels.
-
View User Profile
-
Send Message
Posted May 27, 2015@DarkWolf1974
How do lapis normally work? Is it 1 lapis = 9 levels or something?
@TheAgusIV
There's not currently a way to disable it.
-
View User Profile
-
Send Message
Posted May 27, 2015@Eniripsa96
Not playing Minecraft?? I'm shocked! :)
Yup. 1.8 consumes 3 lapis and 3 levels used for the max enchant, needing at least 30 [or whatever the level enchant is] levels to fire it.
I also noticed that if I stick over 3 lapis in (lazy me, chucked a stack in), it consumed the entire stack. Assuming this is linked to the lack of 1.8 mechanics handling.
-
View User Profile
-
Send Message
Posted May 26, 2015Hello, I have a problem with the anvil , a bug duplicate items , tell me how desabilito the anvil ? please