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 Sep 8, 2014Pls put link to download ce 2.0. Why u dont put dev link to download Are u resolve problems in console and errors in ce20?
-
View User Profile
-
Send Message
Posted Sep 8, 2014@Taiterio
i think ill be the first to download it :D
-
View User Profile
-
Send Message
Posted Sep 7, 2014Heyo everyone,
I just uploaded CE 2.0, so it will be up for download very soon, it will just have to be reviewed by the Bukkit staff beforehand.
You can already read the changelog here if you want to.
I will update the page as soon as the update can be downloaded.
- Taiterio
-
View User Profile
-
Send Message
Posted Sep 4, 2014@aishiterusaif
kk :P
@MrDinkleberry
Soon :D
-
View User Profile
-
Send Message
Posted Sep 4, 2014Omg I can't wait. I waaaaaaannnnnnnnnnnnnnnnnnnnnnnnnnnnnnt it now!
Brohoof Mr Dinkleberry
-
View User Profile
-
Send Message
Posted Sep 3, 2014@Taiterio
Anything would be fine to be honest As long as it works right ?
-
View User Profile
-
Send Message
Posted Sep 3, 2014@aishiterusaif
Np, I just hope that it will suit your needs while not being overly complex, atm you may only use the /ce give command for what you need, but if needed I can later simplify it's usage even more, I just wanted to cut down on further development time.
My plans for today are to finish the update and release it, I'll even pull an all nighter if needed :D
-
View User Profile
-
Send Message
Posted Sep 2, 2014@Taiterio
Thank you so much :D That's awesome to be honest I really do appreciate it :) I'll eagerly wait for the next update so I could use the command :D
-
View User Profile
-
Send Message
Posted Sep 2, 2014@aishiterusaif
I just changed the /ce give command to allow for you to add as much normal and custom enchantments as you want to an item, it was hard to implement though :O
@MortizBS
If you mean books that you can use in an anvil, no those dont exist yet :D
-
View User Profile
-
Send Message
Posted Sep 2, 2014@Taiterio:
It's possibile to find a books on a custom enchantments?
-
View User Profile
-
Send Message
Posted Sep 1, 2014@Taiterio
What shall I use instead? To add a custom enchantment and a normal enchantment to an item ? I need it for kits so yeah x.x
-
View User Profile
-
Send Message
Posted Sep 1, 2014@aishiterusaif
You are using the essentials /give command, as it does not support setting the lore of an item (the text that is displayed beneath the item when in the inventory), you cannot add custom enchantments with this. :/
-
View User Profile
-
Send Message
Posted Sep 1, 2014I dont get whats wrong in my code im trying to make a kit with the custom enchant in it this is my code : give {name} IronHelmet 1 &4&oGlowing unbreaking:5 when i do this i only get umbreaking 5
-
View User Profile
-
Send Message
Posted Aug 31, 2014@Stefanos27051999
This is not possible yet, wait until CE 2.0 :D
@motikacraft
I keep finding new spots to work/improve on and I need to do frequent bugtests and fixes while doing that, so there is no stable version to release yet, sorry :(
@GraysonLGaming
It's not released yet, but it's almost done
-
View User Profile
-
Send Message
Posted Aug 31, 2014I cant find Custom Enchantment 2.0 how do i get it please help
-
View User Profile
-
Send Message
Posted Aug 31, 2014Hi Taitero.. i have problem with CE 1.1e : PLEASE my players want CE on server and i cant wait new version ...if there possible to give to me dev version of 2.0 CE to get rid my problems in console... tnx so much
Could not pass event BlockPlaceEvent to Custom_Enchantments v1.1e org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:47) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:487) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:472) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:118) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ItemBlock.processBlockPlace(ItemBlock.java:88) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ItemSkull.interactWith(ItemSkull.java:48) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ItemStack.placeItem(ItemStack.java:78) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PlayerInteractManager.interact(PlayerInteractManager.java:391) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:641) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.a(SourceFile:60) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.handle(SourceFile:9) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:700) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] Caused by: java.lang.NullPointerException at com.github.taiter.PlayerListener.onBlockPlaced(PlayerListener.java:4026) [?:?] at sun.reflect.GeneratedMethodAccessor379.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_65] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_65] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [spigot.1.7.2.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] ... 19 more
-
View User Profile
-
Send Message
Posted Aug 30, 2014How to make Block III or Poisoned IV??!?!?
-
View User Profile
-
Send Message
Posted Aug 30, 2014@GraysonLGaming
In CE 2.0, all Items and Enchantments can be renamed :D
@Geominecraft
Check your console for errors and send them to me, there seems to be a problem which stops the Landmine event from triggering correctly
-
View User Profile
-
Send Message
Posted Aug 27, 2014I will go more into detail. Is their any way to change the enchantment from for instance *Blindness* to something like umm... Void? If their is can you reply in detail please.
-
View User Profile
-
Send Message
Posted Aug 27, 2014I have trouble using the signs.It works, but when i try to enchant the item with the signs. they change name, but they dont work. For example a sign that enchantes a bloc kto be a landmine. Teh item Changes Name, But Dosent blow up when i walk over it.