Custom Enchantments
Description
This plugin adds a whole bunch of awesome new Items and enchantments that are independent of the Minecraft Enchantment system.
This is my first plugin and at the same time my first Java Project.
For Suggestions/Commissions/Bugs/etc., leave a comment below.
Official Servers
If you want to see the plugin in action, check out the following servers!
Current official Servers:
- mc.canicraft.ca
- Draids.net
- p-n.ca
Videos of the Plugin
Please note that the following Videos were made using older versions of the plugin:
Commands
- /ce - The main command node for Custom Enchantments
Please note that for any command after the main node, you do not have to enter it's full name, the first letter is enough (Example: /ce list = /ce l).
Words in angle Brackets ( < > ) mean that the argument is required, while words written in square Brackets ( [ ] ) are optional.
- /ce runecrafting - Opens the runecrafting inventory.
- /ce menu - Opens an inventory menu for navigating and obtaining Custom Enchantments and Items.
- /ce reload - Reloads the CE config.
- /ce remove [Enchantment] - Removes an enchantment (or all of them) from an item.
- /ce list <Enchantment/Item> - Lists all Custom Enchantments or Items.
- /ce enchant [Required material] <Enchantment> [level] - Adds the specified Enchantment to the item in your hand. If a required material is given, the command will only work if the player holds that item. If an item already has the enchantment, the level will be increased.
- /ce item <Item> - Transforms the item in the player's hand into the specified Custom Item.
- /ce change <Name/Lore> <Color/Set/Add/Reset> [New Value] - Allows you to change the name/lore of the item in your hand
- /ce give <Player> <Material> <Item/Custom or Vanilla Enchantment:Level> [Custom or Vanilla Enchantment:Level] ... - Gives the target player an item with the set material containing the given Enchantments. Please note that the Material has to be either the Minecraft material ID or the Bukkit material ID. The same goes for the Vanilla enchantment names. You can add infinite vanilla and custom enchantments to the item using this command.
Content
Enchantments | Items
Admin Information
Config Explanation | All permissions
Enchantment Books
Version 2.4 added a feature called Runecrafting that allows enchantments to be put on books.
They can be created using /ce ench or /ce menu, given through /ce give and obtained by enchanting a book using the enchanting table.
If disenchanting is enabled, enchanted items can also be turned into enchantment books.
Using an enchantment book or an enchanted item on an Anvil will open the Runecrafting inventory, which can also be opened by using /ce menu or /ce runecrafting. The lower slot requires the enchanted item while the top slot requires the item to enchant.
Sign shops
If you are using version 2.2 or higher of the plugin, you can sell Enchantments by setting up a sign in the following format:
- "[CustomEnchant]" (Without the "s) as the first line.
- The Enchantment you want to sell as the second line.
- The cost of the enchantment as the fourth line. This requires Vault and a compatible economy plugin
Players that do not have the enchantment will have the enchantment applied to their current item, if they already have the enchantment they are trying to buy, the level of the enchantment will increase by 1, up to the specified maximum level of the Enchantment (Can be set in the config).
CE-Menu
If you have Vault installed, you can set a price for the Items/Enchantments through the config. The items and enchantments can then be bought in /ce menu.
CE's in Kits
To add Custom Enchantments and Items into kits, follow this guide:
- Check out if your kit plugin supports colored names and/or lores.
- Find example kits that add colored names and/or lores in your kit plugin
- For items, set "name: <Item>", for Enchantments, set "lore: <Enchantment>". You may have to find out how to add multiple lines of lore via your kit plugin
Notes:
The <Item> is structured like this: <Colorcode of the Item><The full Itemname>, the <Enchantment> is defined as: <Colorcode of the Enchantments><EnchantmentName> <Level in roman numerals>
The Colorcodes can be found on this site.
Examples:
Lifesteal would be "lore: &4&oLifesteal" (If you didn't change the standard color of the enchantments) &4 stands for the Color Dark Red, &o stands for the name being italic
In essentials, Lifesteal II and Poison III would be "lore: &4&oLifesteal II|&4&oPoison III" (Note: the '|' in the middle of the two enchantments seperates multiple lines in the lore of the kits made by essentials)
Flamethrower would then be "name: &4Flamethrower"
Bug reports
To make it faster and easier for me to help you with bugs and errors occuring, please send me a pm containing the following information:
- What version are you using? (See the Point Further Information to find out if a newer Version is avaivable)
- Does your console give you any errors? If yes, please send me a copy of them, this might make the further steps obsolete.
- What situation did the error occur in?
- Can you reproduce the error or does it happen randomly?
Donating
If you want to support development, you can donate by clicking here. It really helps me out a lot and I am thankful for every single donation, no matter how small :)
Github
If you want to contribute to Custom Enchantments or just want to take a look at the source code, you can check out the official repository of Custom Enchantments. Please note that the project was not originally designed for the public, so the project contains little to none documentation.
Current Version: 2.4c
Things that are planned for the future can be found here and you are also free to leave suggestions on there aswell
The main page for older versions can be found here.
i got a suggestion for bow enchant explosive arrows
Heyo,
Quick heads up, I'll be answering comments tomorrow and I'll be working towards pushing out an update over the weekend to adress the bugs. If possible, I'll also add some content to that update if it is solid enough for a release.
@Darkman_Bree
Thanks for the support :)
Please guys, have some patience.
He has a life too, he's not a 24/7 robot that updates every minute and anwsers in 1 second time.
CustomEnchantments is a HUGE plugin, it's hard to code, maybe he's working on a secret huge update to make everyone happy right now.
Just have patience, let him live his life in peace!
You know, it's kind of sad that you've provided like zero support. This LOOKed like a great plugin. I tried leaving a message on spigot and I'll post the same thing here. Using the current version, I tried putting it on a 1.9.4 server. I went and enchanted a book for something else, suprise to find it enchanted as one of your enchants. Tried runecrafting it, but i get a passinventory error when trying to add any item. Tried anviling it, and it rejects it. I've tried adjusting costs and the such but I get no where fast. Sign shops for it Do not work, they create blank signs and it seems the only way to get the enchantments is with /ce enchant. Which i don't want to use because it's abusable.
So if the only use of this is to bogard my books and my players books, confound us, and become abusable, I'm about to pull it from my server.
EDIT: never mind
i feel he is almost abandoning this.... Maybe fixes plus two new enchants?
1. Inquis Enchant: More XP Given Per Mob With a Cap
2. Rage: Receive better attack damage when the player hits mobs/players consonantly without taking a single hit back
Hey i have problem i am adding the permissions nodes but for some reason players dont get the perms can someone help?
@ergenta
I recommend using the plugin KitAdder as it worked perfectly for me
Does anybody know the permission node to allow players to use runecrafting on an anvil without giving them permissions to obtain such items through commands? UPDATE: So that if people have the same question as me, the node that only ONLY ONLY allows access to runecrafting menu by RIGHT CLICKING ON ANVIL WITH MAGIC BOOK if people don't have operator is ce.runecrafting. I have tested this out with groupmanager and taken off, I cannot do it and put on I can. Again, that is ce.runecrafting
Hope this helped!
ERROR Could not pass event EntityDamageByEntityEvent to CustomEnchantments v2.4c
18.06 13:19:33 [Server] INFO org.bukkit.event.EventException
18.06 13:19:33 [Server] INFO at com.massivecraft.massivelag.inject.event.MassiveLagEventExecutor.execute(MassiveLagEventExecutor.java:77) [?:?]
18.06 13:19:33 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:89) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:572) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:479) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:623) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:609) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.EntityEnderCrystal.damageEntity(EntityEnderCrystal.java:88) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.EntityArrow.a(EntityArrow.java:285) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.EntityArrow.m(EntityArrow.java:193) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.EntityTippedArrow.m(EntityTippedArrow.java:68) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.World.entityJoinedWorld(World.java:1622) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.World.g(World.java:1597) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.World.tickEntities(World.java:1430) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.WorldServer.tickEntities(WorldServer.java:632) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:804) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [spigot.jar:git-Spigot-c55900f-9856d8a]
18.06 13:19:33 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [spigot.jar:git-Spigot-c55900f-9856d8a]
Plzzzz can you update for 1.10 ..... Awesome plugin
How do I put them into kits? It worked perfectly fine with spigot 1.8.8. But with 1.94, the items actually glow when you do the command. If I do the lore through essentials in kits, the item doesn't glow and no effects happen. How do I fix this?
I have vault installed and i am using the current version. But when i purchase books from the menu it doesnt take away the money that i put - 7500 - 10000 - 12500 ^ thats the money
Hey man, I'm having an issue with version 2.4c on 1.8 where users can simply hold a pair of boots in their hands with speed, jumpboost or both and then right click an enderchest, put them inside and keep the effects permanently without the boots on. I also do not want to revert back to 2.4b as there are quite a few bugs with the commands in that which I require.
Anyone else having this issue?
Is there any way to add an item from this to a reward crate?
can you guys please add a laser enchantment for a pickaxe
Disabling the anvil for items with custom enchants is not the best work around. He can do it like vanilla enchantments, and make it combine together.
Poisned cannot be used on armour? Why is this? Can we get a fix?
@CroAtTheTop
you just have to type in /ce give <player> <item> <enchantment:lvl> <item> can be a book/sword/bow/tool/armor ... <enchantment> is the one you want and then the :lvl> is the level you want to put. For example you want Volley on a bow you'll have to do this command : /ce give CroAtTheTop bow volley:1
Could you please tell me how do I give books? /ce give (what goes next?)
Also, any way to bypass runecrafting and just place book onto item, or use normal enchanting tables?