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 Oct 19, 2014@Taiterio Hey uhhh I still have that issue where certain levels of the enchants aren't working, did you every find the issue?
-
View User Profile
-
Send Message
Posted Oct 18, 2014Can you make the durration of the bleed on bear traps go lower? if i use a decimal on it (e.x. Duration: '.3') it resets to 5, and last way too long imo, thanks!
-
View User Profile
-
Send Message
Posted Oct 17, 2014@Formula350
Use version 1.1e for now, and renew the config for it. 2.0 is very buggy to all it seems :c
-
View User Profile
-
Send Message
Posted Oct 16, 2014I'm a bit confused on why this is behaving this way....
What I'm trying to do is utilize this in conjunction with RPGItems in order to add enchantments like this to the weapons. Problem is, that plugin doesn't allow enchantments, so I got rather excited when I saw that yours was based on lore (though a bit worried since the enchant's location IN the lore may have been important). I began to test their compatibility, first by using /ce enchant Firework 1 which applied the enchant text (just red, not italicized) at the end of everything, and when I shot it there were indeed fireworks for just the one arrow (since change in lore was not by the item's original plugin). As such, I appended the enchant to the end of the weapon's lore (which is the "description" line in RPGItems plugin) and it turned out looking identical to how it did using the above command. This is where the confusion comes in, as at that time it would not shoot any fireworks.
I figured maybe CE's position in the lore DID play a crucial role, so I grabbed a bow, ran the command. It worked just fine. I then attempted you tutorial for Kits, applying the Fireworks I lore via /i bow 1 lore:&4Fireworks_I except... no fireworks... I decided to try it italicized, running the same command as before except &4&oFireworks_I this time, but once again it did not work. To make sure the plugin hadn't mysteriously broke I again took a fresh bow and ran the /ce command to apply the enchantment, confirming the plugin was operating as it had been.
As a final test, I created a bow with the Firework I lore pre-set, and then ran the /ce command apply Firework via your plugin, yet it still worked just fine. Even decided to test my other theory that it needs the Enchant set above the rest of the text of differing lengths and colors/formats, in order to work. I replicated my RPGItem bow as best I could, then applied Fireworks via your command, which appended it to the end of the lore on it's own line... worked fine.
As such I am thoroughly confused as to what exactly is keeping even a basic bow from functioning. I am running 1.7.9 R0.3 b3095, using your CE v2.0 (I also tried 2.0a just now as well, didn't rectify the issue). If there was a way to get it to look for the phrase and still enchant any item, that'd be awesome! Not only would it allow us to custom enchant RPGItems (which we've long wanted to do), but configure drops with Malevolent Mobs to come with enchants too.
Thanks for your time! Sorry for the length... heh
-
View User Profile
-
Send Message
Posted Oct 15, 2014i can't use it when i use /ce change Name Set Test it will say correct usage
-
View User Profile
-
Send Message
Posted Oct 15, 2014@darkjuniorkung01
The /ce change command is used to alter an items name or lore, you can for example set the name, change its color, add new entries to the lore, delete the lore altogether and more.
For example:
/ce change Name Set Custom Item
would set an item's name to "Custom Item"
-
View User Profile
-
Send Message
Posted Oct 15, 2014Can you help me? i don't understand to use /ce change
-
View User Profile
-
Send Message
Posted Oct 13, 2014@johandre
Fixed that, it was a problem with WorldGuard since it changed to a new system for checking the worldguard areas.
@Survival_of_the_fittest21 What exactly do you mean? If you want that only some of them have functionality (i.e, being detected), you can just disable them in the config
Currently working on a system that makes error handling easier on both ends, it's taking so long because of school, sorry for that :D
-
View User Profile
-
Send Message
Posted Oct 9, 2014Would you be able to set it so you can choose whether all items and enchantments are detected in the lore?
-
View User Profile
-
Send Message
Posted Oct 9, 2014Not possible to hit players holding an custom enchanted item
-
View User Profile
-
Send Message
Posted Oct 8, 2014@Buppey
Imma check it out, there may be a general problem with the enchantment levels causing some weird stuff :/
@captainlewiz110
Is the option CEnchantmentTable enabled and is CEnchantingProbability high enough?
-
View User Profile
-
Send Message
Posted Oct 7, 2014@Taiterio
Hi, i'm having an issue where with the gears enchantment, gears 2, 3, and 4 don't seem to even have the effect of gears. I don't know what could cause this, please help. :)
-
View User Profile
-
Send Message
Posted Oct 6, 2014whenever I enchant anything even at level 30 I never get the new enchants? any help?
-
View User Profile
-
Send Message
Posted Oct 3, 2014@MinecraftDoi
I have tried finding the cause for this for a while now, but I just can't pinpoint what is causing it, everything is working on my setup, so it might be a problem with the config not being read correctly or a plugin conflict or something like that :/
- Taiterio
-
View User Profile
-
Send Message
Posted Oct 1, 2014Taiterio,
I seem to be getting the same problem with all of the enchantments not working. What's weird is that I'm getting no errors in the console, so is there something that I am missing in the config?
-Also, another problem is that the hookshot bow is not responding. Again, no error in the console, but when you select between push/pull, it stays on pull but then doesn't do anything when you shoot.If you need any more info, let me know.
(EDIT) It seems as if that when I give the items the enchantment via /ce menu, they work. However, when doing it via the command, it doesn't work. Looking into it.
(EDIT 2) I've tested some things, and there are some enchantments that still don't work. Here is a list:
As for the items:
Now remember, I used the /ce menu command to get the enchantments to work, not the /ce enchant command. Hopefully this was helpful.
-
View User Profile
-
Send Message
Posted Sep 28, 2014@kablenz101pvp
Do you get any errors in the console? What does it say when you start the server? It should give you some information to whether or not an error occured while starting the plugin.
If it doesn't give you any of the above, either your permissions or your config are not correctly set up :/
@thu2468
Sure why not :D
-
View User Profile
-
Send Message
Posted Sep 27, 2014I am sorry to say this but the new version that you just posted none of the enchantments work :(
-
View User Profile
-
Send Message
Posted Sep 27, 2014can you make a wg 6 and under compatibility one
-
View User Profile
-
Send Message
Posted Sep 27, 2014Update 2.0a is out now :)
-
View User Profile
-
Send Message
Posted Sep 27, 2014Thanks so much