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 11, 2013@Absolutionmc
Np :P
@InvalidRandomness
I have boots that set water to ice when you would walk on water. The other 2 would not work, but I could try to figure something out, maybe even use invisible blocks for those? :)
And the material reverting is already in there ofc :P
I don't think I could do the tnt thing, as it is just how tnt behaves these days :/
-
View User Profile
-
Send Message
Posted Aug 11, 2013And could you make it so bombardment TNT doesn't destroy items (drops)?
-
View User Profile
-
Send Message
Posted Aug 11, 2013Discluding* and it would turn back to its original material after a couple seconds
-
View User Profile
-
Send Message
Posted Aug 11, 2013I have an idea for an enchant for boots so when you walk it replace the ground with ice under you, discussing air and lava and blocks with pressureplates on them so it was like the fire boots sort of, if its to much work it's fine, sorry or bugging you so much
-
View User Profile
-
Send Message
Posted Aug 10, 2013Thanks Taiterio!
-
View User Profile
-
Send Message
Posted Aug 10, 2013@Absolutionmc
I'll add that in, that update is probably gonna be this/next week
@Burntscale
Hmm, seems like I left that one in, will be removed in the next update :)
@RandomPerson12333
Yes, just set the part of the config called "enchantmentTable" to false and its disabled. I noticed that all the explanatory parts I added to my config are missing in the version the users have, so you can use the default config layout under -> http://pastebin.com/xyaS6GUq <- to better understand the config.
-
View User Profile
-
Send Message
Posted Aug 10, 2013Will there be a way to disable getting the enchantments in an enchantment table?
-
View User Profile
-
Send Message
Posted Aug 10, 2013I tried enchanting a stick with Gooey and it said "This enchantment can only be used on Swords!"
-
View User Profile
-
Send Message
Posted Aug 10, 2013Ah ok.. And is there a way to increase the percentage of probability of getting the enchantment when on level 30? It's kinda impossible to get anything...
-
View User Profile
-
Send Message
Posted Aug 10, 2013@Absolutionmc
You can get them through the enchantmenttable when enchanting with lvl 30, you need alot of luck though :P
@RoonsterMan02
My enchantments do not have levels, they are not made using the minecraft enchantment system :)
@Expodium
Hm, whenever I do that it just bugs the two of us together and we get stuck for a few seconds, will implement that though, thanks for the note!
@Burntscale
There should be no exception for the normal enchantments, only for the bow and armor enchantments, but try arround and tell me if it works! :)
@InvalidRandomness
I'll fix it for the next version :D
-
View User Profile
-
Send Message
Posted Aug 10, 2013The same thing happened to me that happened to Expodium but it rarely happens but when it does its not good
-
View User Profile
-
Send Message
Posted Aug 10, 2013It works on other items aswell i added ice aspect to an ice block and gooey to a nether quartz
-
View User Profile
-
Send Message
Posted Aug 10, 2013Can you add in the next update the ability to put the enchants like Gooey and ice Aspect on any item? It kinda sucks that we can only do swords...
-
View User Profile
-
Send Message
Posted Aug 10, 2013If you pickup someone and they pick up you at the same time, the server crashes. Please fix this!
-
View User Profile
-
Send Message
Posted Aug 10, 2013Can i choose what level of enchantment i want?
-
View User Profile
-
Send Message
Posted Aug 10, 2013So how do I get the enchantments with this plugin? Is it only with /ench?
I saw on the config that yo ucan enable/disable enchantment table. Does that mean I can also get the enchantments throught the enchanting table or only with commands?
-
View User Profile
-
Send Message
Posted Aug 10, 2013@Mr_Squ1rrel
The linkage would be hard to implement, but would work. But couldn't you just give the perms of the enchantments you want to the different classes? Could you somehow add the custom enchants to the kit's items?
@InvalidRandomness
It's still being approved sadly :/
I just noticed that you don't have that users don't have the same config as I do, would posting a download link to the real config be allowed?
-
View User Profile
-
Send Message
Posted Aug 10, 2013The update that improves the ice and shock wave enchant hasn't been released yet, is it still being approved?
-
View User Profile
-
Send Message
Posted Aug 10, 2013This may be alot but can you make this piggy back other enchantments. i want to use this for my ctf arena the only way is if i give the players access to these commands by the perms. the probelm is if they have access to do your enchants, any class can enchant there items making it useless. i wanted to make a class that contains ur enchantmetn frozen. so i was thinking of ways you can make that happen. you can make it so your enchantments can be linked with regular enchants and will be activated if the player has the perm for it. so lets say you do this. ''/link [your enchant] normal enchant'' /link frozen blastprotection. perm would be customenchantment.link. the /link command will link the to enchantments together so that player will have frozen on his armor if he has blastprotection. the perm will allow the linkage to occr for that player.
-
View User Profile
-
Send Message
Posted Aug 9, 2013@RandomPerson12333
Will add that in the new content update! :)