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 4, 2013@zag09
I will be compiling a collection of enchantments to go along with this for those who do not want to create their own enchantments. A list of enchantments currently in this set include:
And currently planned ones are:
There's likely to be more when I'm done but that seems like a good list for a first release of it or something
-
View User Profile
-
Send Message
Posted Jun 4, 2013I dont even know what to do I looked at the tutorials but I am clueless, it's better if you just compile them for us lol
-
View User Profile
-
Send Message
Posted Jun 2, 2013Where is the javadoc? NVM, saw the link
-
View User Profile
-
Send Message
Posted Jun 2, 2013@AlexSmith49
If anyone posts what they have made, I'll compile a page here with them all. Great idea by the way :)
-
View User Profile
-
Send Message
Posted Jun 2, 2013Can someone put together a list of files that can be used with this? I'm sure others have made stuff they're willing to share.
-
View User Profile
-
Send Message
Posted Jun 2, 2013@JefferiesTube
Alright, both of those are added for version 1.5. EnchantmentAPI.getEnchantments(ItemStack) will return all custom enchantments on an item while CustomEnchantment.removeFromItem(ItemStack) will remove the enchantment.
@Pocketkid2
Javadoc is now available
-
View User Profile
-
Send Message
Posted Jun 2, 2013Very nice library. As I wrote you in Skype I could offer you a place for your JavaDocs - just let me know.
Two suggestions to improve your lib:
1. Make it possible to use and check equipments on armor or items in hand or in inventory. Would offer a lot of possibilities (we talked about that either).
2. Add a function to unregister an enchantment (useful for onDisable() of the plugin).
-
View User Profile
-
Send Message
Posted Jun 1, 2013@Pocketkid2
I commented it so that I can generate a javadoc. I'm not sure where to post that though.
-
View User Profile
-
Send Message
Posted Jun 1, 2013Will there be a javadoc for this?
-
View User Profile
-
Send Message
Posted Jun 1, 2013@Kofeygames
Minecraft coding is very high-level so it is simply memorizing their API. How fast you will learn really depends on how good your memory is and what resources you have available and know how to use.
-
View User Profile
-
Send Message
Posted Jun 1, 2013This seems coo! I am going to try it out! :D
-
View User Profile
-
Send Message
Posted Jun 1, 2013@Eniripsa96
I may have to take you up on that offer haha.. How long does it take to learn to be able to code at a level to mess with minecraft and stuff, approx?
-
View User Profile
-
Send Message
Posted Jun 1, 2013@Pocketkid2
It finally got approved! Have fun with it :)
@Kofeygames
Haha, teaching isn't too simple but you can add me on skype (skype name is eniripsa96) and ask questions as you try to get into it if that helps.
-
View User Profile
-
Send Message
Posted Jun 1, 2013Damn I would use this so much if I knew how to code.. Teach me :<
-
View User Profile
-
Send Message
Posted Jun 1, 2013This is the coolest plugin I have ever seen! When will it be released! I would like to use this!
-
View User Profile
-
Send Message
Posted Jun 1, 2013@CeramicTitan
Alright, I just added a check for items having lore or not. That should fix that problem.
@Me4502
Alright, that shouldn't be too hard to add. I will work on that. Thanks for the suggestion!
EDIT: I added the armor/tool capabilities and updated the repository.
-
View User Profile
-
Send Message
Posted Jun 1, 2013From what I can tell, this only allows for weapon enchantments... Maybe you could expand into tool and armour enchants?
Edit: But otherwise, this looks like a well done API.
-
View User Profile
-
Send Message
Posted May 31, 2013@MaxdeWit
Don't advertise your server. :l
-
View User Profile
-
Send Message
Posted May 31, 2013http://pastie.org/7991976
Also do you have skype?
-
View User Profile
-
Send Message
Posted May 31, 2013@nayvin
Yes, it's actually quite simple.