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 25, 2015Even with the new version i still get this :( ERROR Could not pass event EnchantItemEvent to CustomEnchantments v2.1g
-
View User Profile
-
Send Message
Posted Jan 25, 2015Can someone help me set this up, I would like them enchants to work on an enchanting table too, is this possible ?
-
View User Profile
-
Send Message
Posted Jan 25, 2015Hi, love this this plugin. Could you make it so that we can apply effects(i.e potion effects) to worn armor / held items? Thanks!
-
View User Profile
-
Send Message
Posted Jan 25, 2015@Taiterio
LOVING the update!
Still a few issues, some more serious than others though.
Necromanser staff = Works in non world pvp areas. (Lightning)
Thor’s axe = Works in non world pvp areas. (Lightning)
Druid Boots boots only work/activate on grass block
Firework Bow kills players in 1 shot
Potion thrower should have a "non-place" feature.
Fortune/Silktouch 1,2,3 etc. should work with the smelting/explosive tool enchant.
Deep wounds is missing duration parameter.
Seismic wave is not moving any blocks included or not in the config file.
Block is missing duration parameter.
Ice aspect special freeze is locking blocks placed in the ice-ring after the ice-ring has despawned - cant even remove the player-placed blocks in GM 1.
-
View User Profile
-
Send Message
Posted Jan 24, 2015@CadeCEB
It's fixed in update 2.1g, which I just uploaded :)
@PatrickThagaard
Thanks :D
@HGspindy
Please try again with Version 2.1g as soon as it's up for download :)
-
View User Profile
-
Send Message
Posted Jan 24, 2015Hey there!
@Taiterio
Getting a NPE at 182 this page https://github.com/Taiterio/ce/blob/master/src/com/taiter/ce/CEListener.java Is this being fixed?
-
View User Profile
-
Send Message
Posted Jan 24, 2015@Taiterio
You rock! ^^
-
View User Profile
-
Send Message
Posted Jan 23, 2015[02:51:27 ERROR]: Could not pass event InventoryClickEvent to CustomEnchantments v2.1f
2.1f
When a regular user click in enchant in ce menu
-
View User Profile
-
Send Message
Posted Jan 23, 2015Fixed a ton of bugs, will add some new features tomorrow and then upload the new update :)
-
View User Profile
-
Send Message
Posted Jan 21, 2015Thanks for the update, gold star for you :D
-
View User Profile
-
Send Message
Posted Jan 21, 2015@Waylonjenkins
The bug has been fixed, it will be included in the next update :)
@Surferboy09030
I'll fix the last few bugs and release the update asap :)
@Shaun2462
You can give yourself the enchantment with different levels, the area increases with the level :D
@PatrickThagaard
The Log-problem will be fixed, not sure why it occurs though. And just for reference, I'm just one person working on this project :(
And yes, I had alot of work on my hands the past few days which stopped me from working on the plugin :/
@Surferboy09030
They are fixed in the next update :)
@tappestry
The server crashes which occur on tool enchantments have been fixed in the latest update, it will be released soon :)
@JGomezs
Set the cost of the items/enchantments to something other than 0 and people will be able to buy them through /ce menu
@Fiendez
This seems weird, can you test and report back to me when I release the new update?
@mad_grunt45
What does it say when you use the commands? Do you get any errors in console? How do the broken items look? Notepad does not highlight them because they have spaces in their names, the plugin should handle it fine though. Can you send me more information via pm?
That would mean that the server was reloaded/restarted while a player had a potioneffect, I'll work on fixing that. They are now no longer infinite since it caused some problems :)
@jhicks32917
No it is not, it could be made possible with custom enchantments, but vanilla enchantments can't have their name hidden without doing a ton of work on such feature.
@Faldonboy
Fixed that bug, it will be included in the next update :)
Sorry for the long wait :)
-
View User Profile
-
Send Message
Posted Jan 20, 2015http://pastebin.com/Fw7mEmLf
Ive had server shutdowns while enchanting Iron pickaxes over and over, sound everything stops, then crashs. A fix to my problem would be awesome I love this plugin.
-
View User Profile
-
Send Message
Posted Jan 20, 2015When will the update for the cooldowns to be fixed launch? thanks!
-
View User Profile
-
Send Message
Posted Jan 20, 2015Hey is there a way to make the explosive enchant break a 3x3 area per block broken I would be so great ful
-
View User Profile
-
Send Message
Posted Jan 19, 2015@Surferboy09030
@Taiterio
------For reference.
-
View User Profile
-
Send Message
Posted Jan 19, 2015@PatrickThagaard
So next update, cooldowns will be fixed?
-
View User Profile
-
Send Message
Posted Jan 19, 2015@Taiterio
Explosive enchant only supports old logs.
Any chance you guys can add 162:1 and 162:0
Thanks :)
-
View User Profile
-
Send Message
Posted Jan 19, 2015@Surferboy09030
Its fixed.
We're just waiting on an upload.
We arent using CE either for now (Do know that they fix these things veeery fast. Must be something up since its taking a while this time)
-
View User Profile
-
Send Message
Posted Jan 18, 2015Hi, please respond ASAP! we want to use this plugin for KitPvP but some of the enchantments get a little OP.and the cooldown feature in the config dosnt work, we set it to '1000' '100' '1' '0' etc. none of them work, please respond! thank you!
-
View User Profile
-
Send Message
Posted Jan 18, 2015I was able to replicate this server crash while attempting to enchant a pick axe. I'm going to re-install and see if I can do it again with a fresh config without edits - but here is the new report if you were curious http://pastebin.com/tbrpnsCT I'm fairly certain it is because I have 'explosion' set to false, and smelting set to 'true' so when an enchant comes up with both, or possibly the one that is deactivated, it triggers some sort of conflict with the listener.
edit: Replicated with one of the bow enchants set as false, same crash. No crashes if all are set to enabled. Have a nice day!