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.
-
View User Profile
-
Send Message
Posted May 22, 2014@Weave2
great working with essentials, check syntax
-
View User Profile
-
Send Message
Posted May 21, 2014How can i "traduce" or change the enchant name ?? PS: Your plugins is very good ! :)
( Sry for my bad english spoke, i'm french )
-
View User Profile
-
Send Message
Posted May 20, 2014Get well soon. Thanks
@ultrasargent
i believe if u set the lore and the name correctly it will work from what i read on March12's comment.
This came from a fresh config in essentails should be a good reference.
So if you correctly add the lore it will work
i dont think the name matters but maybe it does.
-
View User Profile
-
Send Message
Posted May 11, 2014Can anyone give me a detailed explanation on how to add these enchantments to a tool/armour in an Essentials kits? Need help fast!
-
View User Profile
-
Send Message
Posted May 7, 2014@EpicATrain
Thanks for keeping us updated with whats happened lets hope he can carry on getting better now and catch up with all of his school work and then carry on developing the plugin.
-
View User Profile
-
Send Message
Posted May 3, 2014Enchants compatible with BattleArena? I tried to add a enchant weapon in BattleArena's kits but they do not work.
-
View User Profile
-
Send Message
Posted Apr 28, 2014From what I understand, Taiterio's stay in the hospital put him behind on his school work so he has to play catch up. His secondary duties have to be put on hold until he catches up on school.
-
View User Profile
-
Send Message
Posted Apr 25, 2014What's the permission node to allow the group to use enchant signs. Couldn't find the permission anywhere.
-
View User Profile
-
Send Message
Posted Apr 25, 2014@EpicATrain
Yay :D
If you reach Taiterio again give him a big hug from me, he's an awesome developer!
-
View User Profile
-
Send Message
Posted Apr 25, 2014@TheObeseDragon
Use lore and name tag from give command in your kit.
-
View User Profile
-
Send Message
Posted Apr 25, 2014Health of Taiterio:
As of my last contact with Taiterio a few weeks ago, he was out of the hospital and recovering and doing well. I haven't had any contact with him since. I thought I would let you guys know. Thanks.
-
View User Profile
-
Send Message
Posted Apr 24, 2014Hello, I am trying to make it so when someone is given a certain kit in essentials, the user can recieve the enchantments from this plugin, can that be done?
-
View User Profile
-
Send Message
Posted Apr 22, 2014Enchantments are not working for me. I am using the latest build of CustomEnchants(1.1e), but using /ench to enchant my items is not working, and returns no error.
-
View User Profile
-
Send Message
Posted Apr 20, 2014yea, how's he doing?
-
View User Profile
-
Send Message
Posted Apr 19, 2014Is there someone who can provide an update on Taiterio's condition? How is he doing?
-
View User Profile
-
Send Message
Posted Apr 18, 2014plz!!! add language.yml file :)...
my country is korean so i want to change ingame message..
it's really need!
-
View User Profile
-
Send Message
Posted Apr 17, 2014Could not pass event BlockPlaceEvent to Custom_Enchantments v1.1e org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [spigot.jar:git-Spigot-1377] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-1377] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:47) [spigot.jar:git-Spigot-1377] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-1377] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-1377] at org.bukkit.craftbukkit.v1_7_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:118) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.ItemBlock.processBlockPlace(ItemBlock.java:88) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.ItemSkull.interactWith(ItemSkull.java:48) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.ItemStack.placeItem(ItemStack.java:78) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.PlayerInteractManager.interact(PlayerInteractManager.java:391) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:641) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.PacketPlayInBlockPlace.a(SourceFile:60) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.PacketPlayInBlockPlace.handle(SourceFile:9) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1377] at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1377] Caused by: java.lang.NullPointerException at com.github.taiter.PlayerListener.onBlockPlaced(PlayerListener.java:4026) [?:?] at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601) [?:1.7.0_03] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [spigot.jar:git-Spigot-1377] ... 19 more
-
View User Profile
-
Send Message
Posted Apr 14, 2014assassins blade doesn't work =( using 1.7.4 and most recent update but most other things work like everyone else said get better soon
-
View User Profile
-
Send Message
Posted Apr 10, 2014Has anyone else had trouble with some of the enchants breaking? I assume this is probably connected to the 1.7.5 CB update... A new update would be great!
I really hope Taiterio recovers from his incident though... What a terrible thing to have happen! My best wishes go to him. :)
-
View User Profile
-
Send Message
Posted Apr 9, 2014I really like this plugin!!! I hope that you will keep adding enchantments, but useful ones like the night vision helmet. I even added this to server! (batpro.mcpro.co) THANKS!!!