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 Feb 5, 2014-
View User Profile
-
Send Message
Posted Feb 5, 2014Can we Put the enchantments in essentials kits?
Yes or No
-
View User Profile
-
Send Message
Posted Feb 5, 2014@ryanthemagi
I think I fixed it, but could you tell me when exactly it is occuring?
@jokerofhearts
The chance of getting the enchantments is mostly very low, you can try setting the probabilty a bit higher
@LallierQc
Try switching the position of &b and &o so you have the prefix &o&b, what exactly do you get when using the kit?
-
View User Profile
-
Send Message
Posted Feb 5, 2014I'm receiving this error when I use signedit of all things. It lists Custom Enchants in the error message:
http://pastebin.com/5c7bUrjx
-
View User Profile
-
Send Message
Posted Feb 5, 2014Having a issue that even though enchantmentTable is enabled it still will not give the custom enchantments through enchanting. If anyone could help me resolve this issue that would be great.
-
View User Profile
-
Send Message
Posted Feb 5, 2014Can you tell me what is wrong in my kit? I want a sharp 4 fire 2 dsword with the poison enchant.. and im not sure it works because if i use the sign i can still buy poison enchant.. so i got like 2 poison lores.. and my config the lore color is AQUA. http://gyazo.com/91aaa40cbdbd26063b7f2826e585599f heres a picture of my kit code.. plz rewrite my kit because i really dont understand how to make it work. and if we need absolutely a special item make a normal sword?..
-
View User Profile
-
Send Message
Posted Feb 4, 2014Thanks dude ill be sure to announce your plugin in my announcer :D
-
View User Profile
-
Send Message
Posted Feb 4, 2014@Sudzzy
Yeah I wasn't particularily looking into performance when first doing most of this stuff, hence the code rework, but I got a fix that should work quite nicely, sent you a pm :)
PS: Awesome profile pic xD
-
View User Profile
-
Send Message
Posted Feb 4, 2014@Taiterio Hello, is it possible for you to make this plugin less intensive? Perhaps add a boolean in the config to stop listening to the PlayerMoveEvent (Which will also prevent use of implants). Or perhaps make implants be listened on PlayerInteractEvent or something? Anyways, good job on the plugin and amazing work!
This is how it compares to other plugins on my server for latency: http://goo.gl/C6v3dy
-
View User Profile
-
Send Message
Posted Feb 4, 2014@alanthya
Are you getting any errors? If yes, please send me a pm
@chopstick121
Fixed it, pm me if you need the update
@StryykerHD
Added it :)
-
View User Profile
-
Send Message
Posted Feb 3, 2014Since updating vault, spigot, and protocollib this plugin no longer works. May just have been the spigot update that did it. With v.1.1e, on spigot #1301
-
View User Profile
-
Send Message
Posted Feb 3, 2014i have some error that happened more then onces http://pastebin.com/tt7vbs4e
-
View User Profile
-
Send Message
Posted Feb 3, 2014Well i hope you add my server because its a new server I want it to get popular and I could maybe advertise the usage of this plugin :]
-
View User Profile
-
Send Message
Posted Feb 2, 2014@IceMermanMC
"restrictEnchantments" restricts the maximum amount of enchantments that are allowed to be on an item.
The maximum amount of enchantments is then determined by "maximumEnchants"
-
View User Profile
-
Send Message
Posted Feb 1, 2014-
View User Profile
-
Send Message
Posted Feb 1, 2014The Future of this Plugin
(Sounds pretty dramatic, ehh?)
First of all, a big thanks to all the users, it was an amazing experience to see my very first Java Project turn out being awesome even though I lacked the knowledge in programming (I was a total noob and only knew like the very basics, learning by doing yay).
So, after almost one year of Custom Enchantments (Yeah I can't wait until next month) it seems like a good time for a rework of the Plugin.
With this, alot of the Plugin will be reshaped and in turn will be more convenient for you as well as for me :)
So feel free to leave your wishes, suggest things, give your opinion on it and track the progress over at this site! :D
I have also added a section for planned features, which you can see what will be included in future content updates and in which you can also leave your own suggestions. You can find it in the section Further Information of the Plugin's description, or right here.
-
View User Profile
-
Send Message
Posted Feb 1, 2014@IceMermanMC
Did it tell you that you set up the Clear-Enchants sign? It's fixed in 1.1f now, I'll release it when I can add some more bugfixes and stuff :D
-
View User Profile
-
Send Message
Posted Feb 1, 2014-
View User Profile
-
Send Message
Posted Jan 30, 2014@AwokenPVP
Those are all of them: damage, knockback, thorns, loot, protection, durability, featherfalling, infinity, fire
This will be reworked in the wake of the Code-Rewriting
@IceMermanMC
You can try it again in v1.1e, maybe it will work
@StryykerHD
I can only join in the Evening (UTC+1 at 10 pm), so I couldn't check any of the stuff out yet :(
@AlbertMarty
Hmm, I'll see what I can do, but the enchanting system will get reworked soon anyhow
-
View User Profile
-
Send Message
Posted Jan 30, 2014@Taiterio
Yes, the 6 swords (7 including my own) all had Blind and Automatic on them. I didn't consider that a problem as I was under the impression it was intentional for 2 runes to be able to appear on an item, I was just concerned that those particular 2 were always paired together. I have since then seen the Automatic appear on another item along with Bombardment, confirming it doesn't always have to be paired with Blind. I haven't seen a Blind sword appear without Automatic also being on it though. Anyhow, I'm running 1.1d and since you are updating further I will not trouble you anymore, I just thought I should report what I see. Thanks again, your work is much appreciated! :D
(By multiple enchantments I assume you mean your special runes. Many items have appeared with both runes and enchantments like sharpness or fire aspect, which I believe is desired and intended)