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 Aug 2, 2014Can't wait for the new version! :)
-
View User Profile
-
Send Message
Posted Aug 2, 2014Anxiously awaiting an update. Any word on the new version?
-
View User Profile
-
Send Message
Posted Jul 30, 2014When is the new version coming? This plugin is awesome but a modern version is desperately needed!
-
View User Profile
-
Send Message
Posted Jul 20, 2014Cant seem to get them to work with mob arena could you help?
-
View User Profile
-
Send Message
Posted Jul 19, 2014@nashoxx
Currently, the whole code is being reworked for the most part, this should clean up some bugs and make it easier to fix them once the update is released.
@z1haze
It seems like you are overwriting the "lore:" expression, which leads to the problem that only the latter will show up.
Try doing something like: lore:&4&oPoison;&4&oLifesteal
@johandre
When does it occur? I will try looking up where the bug is coming from and fix it for the next update.
@jason069
With the new Version you will be able to, yes.
@BosssX
Suggestions for new additions are currently on hold, but they are written up locally for a later point of time (When my enchantment-framework is fully done)
@Bodyash
But DisplayNames and lores count towards NBT aswell, dont they? With that I lose my (current) ways of enabling the custom enchantments :/
@xDiiizy98 & @DalthornWiz
The system is replaced in CE 2.0, you certainly won't miss the old one :)
Progress: About 95% of the Enchantment Framework is done, after that will be the config generation, the new command system and the compatibility for the old Custom Enchantments.
This makes a total of arround 85-90% of the update being done right now, wish I could have worked on it earlier :o
It shouldn't take too long before the update is released and with the new systems in place I can update way easier in the future :)**
-
View User Profile
-
Send Message
Posted Jul 18, 2014Fix the bugs plz
-
View User Profile
-
Send Message
Posted Jul 18, 2014I cant figure out how to add like poison and life steal to an axe.
whenever I do /i diamondaxe 1 lore:&4&oPoison lore:&4&oLifesteal, it only gives the last enchantment every time.. anyone to fix that
-
View User Profile
-
Send Message
Posted Jul 18, 2014Please fix this issue
-
View User Profile
-
Send Message
Posted Jul 16, 2014Hi Is there a way you can get gears 1 and 2 lifesteal 1 and 2 etc....? like the normal enchantments i saw this on a other server
-
View User Profile
-
Send Message
Posted Jul 14, 2014Hi, can you please add a Hulks Hammer in the plugin like the mod, mutant zombie. Thanks.
-
View User Profile
-
Send Message
Posted Jul 13, 2014@Taiterio
NBT is bad for my server (LimitedCreativ plugin can`t save NBT tags, so if u go to creative and back to survival - u will get all your survival items back - but without NBT)
-
View User Profile
-
Send Message
Posted Jul 11, 2014When I buy a enchantment from the signs, it does not work however, when I use the commands it works.
-
View User Profile
-
Send Message
Posted Jul 8, 2014First of all I love your plugin. I am having a small issue and I'm not sure if its on my end. I'm using the custom enchant signs and some of them work but others dont. An example is below.
Use sign to turn Diamond boots into Hermes boots.
- name changes and gives 2 speed bonus - works great.
Use sign to add Rune Gears to boots.
- Gears enchant is added in red but no bonus is given just the red text.
I can use /ench and the item will have the normal effect. It seems to only be an issue with the enchants that you get from the enchanting table. I use nocheat and nocheatplus if that helps. Would really like to get this set up if at all possible.
Thanks in advance,
Dalthorn
-
View User Profile
-
Send Message
Posted Jul 7, 2014@Bodyash
Isn't the lore a NBT attribute aswell? I can add that as soon as I got most of the other stuff done.
@Pixelmod
Yeah, I am currently rewriting the whole plugin for better functionality :D
-
View User Profile
-
Send Message
Posted Jul 1, 2014plz, add heath bonus to this plugin
Just place in lore:
Health: +5
Speed: +3
Cause LimitedCrative and Gamemode Inventories can`t save real NBT Attributes on items
-
View User Profile
-
Send Message
Posted Jul 1, 2014@Malachi21
just add lore to your drop
-
View User Profile
-
Send Message
Posted Jun 29, 2014@Taiterio
Did I just read "Code Rework" ?
-
View User Profile
-
Send Message
Posted Jun 24, 2014@Malachi21
Sorry, I cannot make it compatible by myself without creating my own version of mythicdrops or at least override some parts of their code with my own code (Dont actually know if it's possible with Bukkit tho), it would have to support Custom Enchantments.
If they were to integrate Custom Enchantments as a supported plugin, they would be able to allow CE stuff to drop, this however is very time consuming as of now, I will later on provide an easier way of supporting Custom Enchantments on my way with the Code Rework.
-
View User Profile
-
Send Message
Posted Jun 24, 2014PLEASE make compatibility with mythicdrops so I can add these in to item tiers! It's mega badass of an idea to be able to get these in mythicdrops items!
-
View User Profile
-
Send Message
Posted Jun 23, 2014@warthelm
@ThSaWNinja
It's already implemented for the most part, the enchantments themselves now each have their own attributes, like their originalname, their customname and other stuff.
What is still on my todo-list: the Items, the config, the commands and the new way of obtaining custom enchantments (Which will replace the signshops and the enchanting via the enchanting table [optional]).
All of this is due in a few weeks, this week will mostly be spent for the last exams and presentations of the year, next week I'll be in Florence and after that I'd be ready for development once again. :D