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.
What is the Permission for the runecraftinf command?
I know you can get a random enchant through the enchanting table, but you should be able to get a random enchant via signs. (I disable the enchanting table option). I believe the enchanting table should be for Vanilla enchants only... If any of you have watched thecampingrusher you would understand... Is it possible that you could implement some sort of random enchant signs system. (people wont have to use it).
Example: The sign says:
[RandomCEnchant]
Level2
20xp
$500**
This means that you would get a random level 2 custom enchant, costing 20xp levels, and $500. (You would be given the book) Makes getting the enchants more interesting :)
If you could do this I would REALLY appreciate it. Support me if you agree!
@HeroZeus
The latest versions of the plugin support color code support for enchantment names :)
@iisma1
Does this only occur in the newest version of CE? What server software are you using?
I cannot reproduce the bug myself, though it seems like something on your server is blocking fire from being placed in the end, not sure why it would drop flint and steel then though :o
@NikosMaster233
ce.cmd.runecrafting is for /ce runecrafting, ce.runecrafting is for runecrafting :)
Right now, only books are supported until the config rework.
@kguava
What is broken in 1.9?
@futhead_D3NYMoTiioN
This is not planned as of now, as the vanilla enchanting doesnt have this mechanic either. I'll see if I can find a good way to implement this later down the road :)
@Darkman_Bree
:O
Thanks for the help and the ideas once again :D
As for why only a few of them have been implemented yet, I'd like to first restructure the plugin to allow more awesome effects while making the code easier to work with (especially for other developers). After 3.0 I'd like to have a big content update to follow up for the lack of it as of late :o
@YellowZaki
This already works, but with books only. Other items are not supported as of yet.
@Valetorev
This is already implemented, it is the config entry "MaximumCustomEnchantments"
@pluzvn
This is already on my list, but thanks for the suggestion anyway :)
Please add Life enchantment (give more heats when equiped)
And if the feature if it is added can be in a version that works with paper spigot that would be nice.
I was wondering if there is a plugin that will do this or if this can be added to this plugin. I would like a way to limit the amount of custom enchants on an object. It would be nice if the amount is customizable. Please consider this and possible add to this plugin.
Hello taiterio,
The bug is ocurred only in the END world. My version: 1.7/1.8 I don't know if the bug works in all the versions.
"when I click right to the burner lance fire and drops many lighters http://prntscr.com/ar8yq2"
Could you add the possibility to increase the enchantment level using runecrafting? For example if you have a item with X enchantment with level 1, if you add it a runebook with X enchantement 1, the item will be upgraded to X enchantment II. In conclusion, like vanilla behaviour.
@HeroZeus
DisplayName: Ice Aspect
to:
DisplayName: &bIce Aspect
The headless one is &cHeadless
@NikosMaster233
I don't think it's possible yet, but it might be a good idea to change the Item Type, I think you still need to give them permission for /ce runecrafting
@kguava
Good idea! Taiterio! I got you're pizza and I will only give it back if you implement this!
My comment cannot go without idea's!
Tools Smelting Upgrade so it will smelt Chorus Fruit into Popped Chorus Fruit, Logs into Charcoal, (Too lazy to check) Netherrack into Nether Brick Bars.
Tools Matter Throw Right Click to use 1 durability and shoot an egg that breaks a block, WorldGuard support plz? When combined with Explosive: eggs become unstable and explode on contact, breaking more blocks!
Boots Gears No longer uses Speed potion effect, Make it increase the Movement Speed attribute by 20%
Sword Haste Increases Attack Speed attribute by 10%
Armor Hearted Increases Max Health attribute by 20%
Armor Anvil Plates Increases Knockback Resistance attribute by 20% but decreases Movement Speed attribute by 10%
Sword Blade of Hunger Gives the Hunger effect to enemies you hit.
Armor Hungry Aura Gives the Hunger effect to enemies hitting you.
Armor Potion Shield Makes you immune to all Custom Enchantments inflicting bad potion effects, HOWEVER: Potions from Potions/Splash Potions/Lingering Potions/Tipped Arrows will be increased, this means if a Splash Potion of Poison II for 2 seconds hits you, you get Poison III for 4 seconds instead.
NEW: Extremely rare enchantments:
These enchantments can only be obtained by Enchanting Books via the Enchantment Table, Not tools, The chance of getting one of these is low!
Armor Mythical Sneak to generate a mythical forcefield (magicCrit particle spinning around you), after 5 seconds of sneaking, the forcefield is done, During this forcefield mode, Arrows will be deflected and melee damage will be halved, HOWEVER, Your armor breaks trice as fast! Of course this needs a cooldown
Sword Solar Flare Right Click to take 2 hearts from you, These hearts will charge up your sword for 5 seconds, Once its done, Flaming particles come out of it, Shift + Left Click to fire a Solar Laser that penetrates, burns enemies and deals damage! Of course this needs a cooldown!
Pickaxe Gem Hunter Right Click to take 5 xp levels from you if you have it, These experience levels will charge up your pickaxe for 5 seconds, once its charged up, happyVillager Sparks come out of the pickaxe, this enables Gem Hunter for 5 seconds, Any block you break will drop Diamonds or Emeralds. Cooldown plz.
Bow Legendary Arrows will be at maximum speed at all times, even if it's not charged up, However, If you still charge it up, Arrow speed and damage will be tripled. If you wait 5 seconds longer with charging up, you begin consuming more arrows, On fire then: Fires a blast of explosive arrows.
Do you maybe plan on adding an item where users can remove certain custom enchantments from their items? It would be handy for the players :P
first of all, can you plz make smelting work on logs to make charcoal
secod of all ruin crafting is broken on 1.9 plz fix thanks -kguava
Hey, so i want players to be able to use anvils as their Rune-Crafting stations, but how do i set them this permission so they can't do /ce runecrafting but still use anvils.
Also! Can i use any other item other than books for enchanting? I want to use prismarine shards for example, but the runecrafting tab won't work with them
Hello taiterio,
The bug is ocurred only in the END world. My version: 1.7/1.8 I don't know if the bug works in all the versions.
How do you color each enchantment like I want frozen blade to be light blue and Headless to be red how do i do that?
@yeyuearl
If your crate plugin supports setting colored lores, then you can give them out by adding the name of the enchantment with the corresponding enchantment color as the lore.
Right now, there is no support for enchantment book customization beyond changing the name.
@futhead_D3NYMoTiioN
Yes, I wanted to change the command structure for quite some time now to allow more freedom and usability.
@Affixes
I'll check it out :)
@Bodyash
What server software + version are you running? Disabling the runecrafting transformation effect will fix this for now. Can you check if any other effects cause this error to appear?
@iisma1
I could not reproduce this bug. Which server software and version are you running? What scenarios does this happen in?
For now, you can disable the flamethrower via config to stop players from getting them.
Can I use it for rewards in crate plugin? If it can, how? How can I spawn an enchant through command? Can I add descriptions to the books so the players will know the effect of the books?
Could there possibly be an additional command as to where the enchantment will choose a completely random book? Maybe like "/ce give %player% book random"?!
There seems to be a conflict between the Volley and Infinity enchantment on Bows. Normally, Arrows can't be picked up with the Infinity enchantment, however paired with Volley it's made possible, therefore causing an infinite Arrow duplication glitch.
http://pastebin.com/wLXRXSvE
Errors.
/Ce menu
Select enchantment
get a book runecrafting book + item = many errors.
Taiterio,
There is a big problem, when I click right to the burner lance fire and drops many lighters http://prntscr.com/ar8yq2 Please make a quick update to prevent all players in many servers have infinite lighters.
Regards.