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 Aug 17, 2013How do I give donors the usage of an enchantment only. Anyone can already get the enchantments, which should be fixed
-
View User Profile
-
Send Message
Posted Aug 17, 2013@Eniripsa96
@Eniripsa96 Ok thank you. Can you help me with this? I created my own enchantment plugin with the enchantmentapi but whenever I put it on the server it gives this error
6.08 23:29:57 [Server] INFO ... 25 more 16.08 23:29:57 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) 16.08 23:29:57 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader.findClass(Unknown Source) 16.08 23:29:57 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) 16.08 23:29:57 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.rit.sucy.EnchantPlugin 16.08 23:29:57 [Server] INFO ... 9 more 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) 16.08 23:29:57 [Server] INFO at java.lang.Class.forName(Unknown Source) 16.08 23:29:57 [Server] INFO at java.lang.Class.forName0(Native Method) 16.08 23:29:57 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) 16.08 23:29:57 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader.findClass(Unknown Source) 16.08 23:29:57 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader.access$100(Unknown Source) 16.08 23:29:57 [Server] INFO at java.net.URLClassLoader.defineClass(Unknown Source) 16.08 23:29:57 [Server] INFO at java.security.SecureClassLoader.defineClass(Unknown Source) 16.08 23:29:57 [Server] INFO at java.lang.ClassLoader.defineClass(Unknown Source) 16.08 23:29:57 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method) 16.08 23:29:57 [Server] INFO Caused by: java.lang.NoClassDefFoundError: com/rit/sucy/EnchantPlugin 16.08 23:29:57 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 16.08 23:29:57 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391) 16.08 23:29:57 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:106) 16.08 23:29:57 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11) 16.08 23:29:57 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56) 16.08 23:29:57 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:217) 16.08 23:29:57 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239) 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) 16.08 23:29:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) 16.08 23:29:57 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/rit/sucy/EnchantPlugin 16.08 23:29:57 [Server] SEVERE Could not load 'plugins/CustomEnchantments.jar' in folder 'plugins'
-
View User Profile
-
Send Message
Posted Aug 15, 2013@mydeblob
Glowing is not something I plan on adding.
Also, there isn't a way to restrict the level yet, I can add it when I have time though.
As for your friends server, make sure they have the enchantment pack zip file unzipped and all of the files are in the plugin folder and not a sub-directory. If it is, then check for any messages saying that the packs failed to load. If it's working on yours but not your friends, I don't know what else could be wrong besides not installing it properly.
-
View User Profile
-
Send Message
Posted Aug 15, 2013@Eniripsa96 Is there any way to add the enchant glow to times (using protocol lib or some other thing nbt etc) without editing the main enchants API classes? Also is there anyway to max how high you can enchant the items with the command. So if I has an enchantment that should have a max level of 5, the /enchantapi add command will only let you enchant up to 5. And last but not least, I created a enchantment plugin with enchantmentApi, and test it on my server and it worked fine, however on my friends server when you do /enchantapi list it says 0 registered enchantments. The consol has no errors either
-
View User Profile
-
Send Message
Posted Aug 12, 2013@ROBLPs
Right now you can't, I will add it when I have time. I've been incredibly busy lately so please bear with me.
@Lvone
You can remove the permission for all users.
@MGbeenieboy
@Stacelin
I'll look into that, sorry if it takes me awhile, but again, I've been very busy with family stuff.
@foreverblu
When I have time, I will add that. I've had little to no time to work on this at all lately. I've hardly even been home the past week and a half.
@Noobsbeard
I think I know what's causing that and will look into it.
-
View User Profile
-
Send Message
Posted Aug 12, 2013Can you change the xxxxx xxxx OF xxxx? I would run a german server with this, so i would have to change it into "des" or such. How can i do that? :)
-
View User Profile
-
Send Message
Posted Aug 11, 2013Can I cancel the new enchantment table system to use the classic one? I only want the new enchant become special.
-
View User Profile
-
Send Message
Posted Aug 11, 2013BUG: Items stay books after take out from the enchantingtable.
-
View User Profile
-
Send Message
Posted Aug 10, 2013Is the old bug that makes players die in 1-hit after dying multiple times gone? Please reply :)
-
View User Profile
-
Send Message
Posted Aug 9, 2013Is the rarities = configurable color feature coming soon?
-
View User Profile
-
Send Message
Posted Aug 6, 2013It seems the issue of items disappearing has been fixed with the last update. But now we have a bit of another issue.
Sometimes players get books back instead of their items. There's no errors, it just simple spits 'em out a book instead of the weapon/tool. As shown in the screenshot:
http://i.imgur.com/7As6dJM.png
-
View User Profile
-
Send Message
Posted Aug 4, 2013is posible Enchant recipes?
-
View User Profile
-
Send Message
Posted Jul 31, 2013-
View User Profile
-
Send Message
Posted Jul 29, 2013@Grimbot_x
Phatloots this is what you'd be looking for.
Hope that helps.
-
View User Profile
-
Send Message
Posted Jul 26, 2013I don't know how it is with other groups, but my sponsor told me that he can't get not-vanilla enchantments :(
default - EnchantmentAPI.list - EnchantmentAPI.book - EnchantmentAPI.table - EnchantmentAPI.names - EnchantmentAPI.enchant.vanilla other group which has inheritance of default - -EnchantmentAPI.enchant.Adrenaline - -EnchantmentAPI.enchant.Berserking - -EnchantmentAPI.enchant.Blind - -EnchantmentAPI.enchant.Cursed - -EnchantmentAPI.enchant.Distortion - -EnchantmentAPI.enchant.Fireball - -EnchantmentAPI.enchant.Forceful - -EnchantmentAPI.enchant.Heal - -EnchantmentAPI.enchant.Lightning - -EnchantmentAPI.enchant.Poison - -EnchantmentAPI.enchant.Repulse - -EnchantmentAPI.enchant.Wither - -EnchantmentAPI.enchant.Vortex - EnchantmentAPI.enchant and the sponsor which has also inheritance with default - EnchantmentAPI.enchant
what am i doing wrong?
-
View User Profile
-
Send Message
Posted Jul 25, 2013@Grimbot_x
That could be a different plugin, but it's not part of this.
-
View User Profile
-
Send Message
Posted Jul 25, 2013Really nice plugin! :)
Just a question, is it possible to put an enchanted weapon in a chest that reloads after a certain amount of time after it's been looted?
-
View User Profile
-
Send Message
Posted Jul 25, 2013Please add option to modify "Of" in the name item !
weak katana OF the giant
i need modify "Of" to "del"
PD: Sorry for my bad english but i speak spanish. PD1: the plugin it's great !
-
View User Profile
-
Send Message
Posted Jul 23, 2013@Eniripsa96
I'm very happy I could help you. This is my favorite plugin and I'll do whatever it takes to help fixing problems.
I'd like to thank you for your quick responses and for keeping this plugin up to date.
EDIT:
And having an open mind for feedback :)
-
View User Profile
-
Send Message
Posted Jul 23, 2013@BrightDanny
That my very well be it, I will make the modifications for that and if it fixes the problem, I appreciate the help and thank you sincerely :)
EDIT: And yeah, after a few tests I ran myself, that does appear to be the problem! Thanks again. And what did it take to fix the problem? one extra check (1/2 a line of code lol)