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 Jan 18, 2015How do you sell the enchants/items?
-
View User Profile
-
Send Message
Posted Jan 18, 2015Looking forward to the update.
-
View User Profile
-
Send Message
Posted Jan 17, 2015@Taiterio
Yeah I'm using the latest .jar I haven't renewed the folder/config though, I kept the old one but still kept the multiplier at 2. When I set the multiplier to 1 it doesn't 1-2 hit them but it's way too weak. But when I set it to 2, it's far too powerful.
-
View User Profile
-
Send Message
Posted Jan 17, 2015A few of my enchants don't seem to be possible to create using commands, and using /ce menu to make them just gives me a broken item (does not do anything but still gives the prompts)
In the config the broken enchants display as not the dark bold that notepad usually shows but as regular text... http://puu.sh/eEbpD/c80695e268.png (Pic)
as well potion affects seem to disappear and not come back for a fairly extended time, unlike last time I used the plugin where they were everlasting while the armor was on, could I get some insight on these?
-
View User Profile
-
Send Message
Posted Jan 17, 2015Is it possible to hide the names of enchantments using this plugin?
I'd like to be able to enchant a weapon with vanilla enchants, or custom enchants, but have no additional text show on the weapon.
-
View User Profile
-
Send Message
Posted Jan 15, 2015This error is showing up whenever I try to use anything in /ce menu.
-
View User Profile
-
Send Message
Posted Jan 15, 2015@Taiterio
NICE!
You guys rock!
Cant wait to have this ready for our playerbase today.
If you need any testing done, PM me a beta-release version and I can have my staff go crazy with it.
-
View User Profile
-
Send Message
Posted Jan 14, 2015@PatrickThagaard
Fixed the Cooldowns not working, they did not work for any item at all :/
I changed the error output of CE a bit to give me a better idea of what the error is trying to say :P
Shockwave ignored all of the materials entered, which is now fixed. Also, if a block has any forbidden materials next to him, that block will not be moved to allow signs and stuff to not be destroyed in the process :P
Will fix the permissions tomorrow :D
@Fiendez
Are you using the newest version? That bug should already be fixed by now o.O
-
View User Profile
-
Send Message
Posted Jan 14, 2015Getting a lot of:
14.01 06:59:33 [Server] INFO null
14.01 06:59:33 [Server] INFO null
14.01 06:59:24 [Server] INFO null
14.01 06:59:24 [Server] INFO null
14.01 06:59:20 [Server] INFO null
14.01 06:59:16 [Server] INFO null
14.01 06:59:16 [Server] INFO null
14.01 06:59:16 [Server] INFO null
14.01 06:59:16 [Server] INFO null
Tested the following items: (Also have other issues with these item - see earlier comment)
Thor's Axe, Potion Launcher,Hermes Boots Druid Boots
-
View User Profile
-
Send Message
Posted Jan 13, 2015I sometimes play this other server which has this plugin. They have a pyro axe with sharpness v and fire 2 on it, the multiplier is set to 2. People pvp with protection v Armour with gapple active and the pyro doesn't 1 hit them however, on my server it does under the same circumstances.
Same armour, same axe, same plugin. I think they might be using an older version? Why are my players getting 1 hit but on the other server they aren't?
-
View User Profile
-
Send Message
Posted Jan 13, 2015@Taiterio
Thor's Axe = Cooldown not working (and damage goes trough /god and other protection like essentials protections etc)
Potion Launcher = Cooldown not working
Flamethrower = Cooldown not working
Hermes Boots = Permissions not working (ce.item.hermes boots) simply cant add it with GroupManager due to the space.. (ce.item.* doesnt detect it either) but it works in /op - its like the effects are added upon wearing the item.
Druid Boots = Permissions not working (ce.item.hermes boots) simply cant add it with GroupManager due to the space.. (ce.item.* doesnt detect it either) but it works in /op - its like the effects are added upon wearing the item.
Shockwave = ForbiddenMaterials not registering. Signs, chests etc - is still being broken. Not sure what changed - running default config:
"AIR, BEDROCK, WATER, STATIONARY_WATER, LAVA, STATIONARY_LAVA, CACTUS, CAKE_BLOCK, CROPS, TORCH, ENDER_PORTAL, PISTON_MOVING_PIECE, MELON_STEM, NETHER_WARTS, MOB_SPAWNER, CHEST, SIGN, SIGN_POST, ITEM_FRAME"
---Cooldown is set up as default:
Cooldown: '60'
-
View User Profile
-
Send Message
Posted Jan 13, 2015@tdarren
Found the issue with the enchantment tables crashing, will be fixed in the next update :)
Will check out what the problem with /ce menu could be.
-
View User Profile
-
Send Message
Posted Jan 13, 2015Hi, I can't distribute Custom Enchantments without coming across a problem. Firstly, when I try the enchantment table option, the server just crashes. Secondly, when I try the /ce menu so that they can buy enchantments, the console just generates exceptions.
So there is no way for me to distribute custom enchantments to my users at this stage. If you'd like me to give you a copy of the exceptions I'm getting from the /ce menu, then let me know.
I'm running Spigot 1.8 (not protocol hack) and recently updated it to the latest build. I've been waiting for the enchantment table option to be fixed for quite a while now.
-
View User Profile
-
Send Message
Posted Jan 12, 2015@PatrickThagaard
I'd be willing to toss some bones in for Towny checks. I use this plugin on my Towny server and it's awesome! PatrickThagaard, I am working on a Citizens2 Enchanter Trait NPC for this plugin and regular enchantments. I'll post something here when it's done! (I will be adding independence from Citizens and Vault for it later, but atm it will depends on Citizens and vault, with CE being optional and CE enchants being added to the GUI when CE is detected)
-
View User Profile
-
Send Message
Posted Jan 11, 2015@PatrickThagaard
From the way it currently is, there should be no problems with OccurenceChance whatsoever, if it still does not work for you I'll fix that asap of course :D
Alright, will do if needed :)
-
View User Profile
-
Send Message
Posted Jan 10, 2015@Taiterio
OccurrenceChance: '20'
Did OccurenceChance ever get fixed? I remember that was the issue pre-1.8 that it was always 100% chance of occuring.
-
View User Profile
-
Send Message
Posted Jan 10, 2015@Taiterio
If it'll require compensation for your work with towny checks - PM me.
-
View User Profile
-
Send Message
Posted Jan 9, 2015@PatrickThagaard
Sorry for the long wait, the update has been uploaded :)
@Fiendez
Done in the newest update :D
@PatrickThagaard
I'll look into the towny checks and how much time and effort they would require to have put in :)
-
View User Profile
-
Send Message
Posted Jan 9, 2015I don't mean to be pushy, but we're really missing these custom enchants.
Any chance the WG will be fixed soon?
Thank you :)
-
View User Profile
-
Send Message
Posted Jan 9, 2015You still didn't fix my glitch...