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 Nov 30, 2013Im having a HUGE problem! Nothing in the config works AT ALL! I have disabled most of the OP enchantments but they still work, I have changed the lore colour but it still is red, I had disabled italics and it still is italitised, no matter what I change in the config does not work in game, and before you ask, I have reloaded AND restarted multiple times! Please reply ASAP as this is very urgent and is wrecking my servers gameplay!
-
View User Profile
-
Send Message
Posted Nov 29, 2013@xXxNahanxXx
It does work but it has to be the same format, name (if special item), color, and is Caps Sensitive
-
View User Profile
-
Send Message
Posted Nov 29, 2013Had the same problem as laugh_tafy, 2 people with power gloves picking each other up crashes server and sends the player up to coordinate Y: 234333 or something haha
-
View User Profile
-
Send Message
Posted Nov 29, 2013@Mr_x_socks
if only that worked.... threw my whole idea out the window, but thanks for giving me hope lol :D
-
View User Profile
-
Send Message
Posted Nov 28, 2013@laughy_tafy
I thought I already fixed that o.O
@laughy_tafy
You should be able to use other items for it, but the Flamethrower requires an Item that can have damage on it
-
View User Profile
-
Send Message
Posted Nov 27, 2013Severe bug: When player is being held by power gloves uses power gloves on the player holding him, server crashes. In other words, 2 players with power gloves trying to pick each other up kills the server.
-
View User Profile
-
Send Message
Posted Nov 27, 2013@xXxNahanxXx
just make the lore of the item, the lore of the kit
for example u want to give an autorepair sword in a kit so in the lore section of the item, place the lore of the autorepair item on the config file of the item in the kit
-
View User Profile
-
Send Message
Posted Nov 26, 2013is there a way to add the custom enchantment into a kit from the essential plugins? if not, that would be something great to look into(if possible). Great job on the plugin though! its hard for me to work on my server because i get distracted with the enchantments. powerglove FTW XD
-
View User Profile
-
Send Message
Posted Nov 26, 2013@Taiterio
Flamethrower, powergloves. Those are the only ones I can think of off the top of my head, but it would be nice to be able to change all of these in the config files. If you can, my bad, trying to help out my server admin here (indirectly hearing about these problems). Thanks for the help!
-
View User Profile
-
Send Message
Posted Nov 26, 2013@kevinator0122
It should already do that, but somehow it doesnt always want to work that way (You can try disabling pvp though, this should work everytime) :/
@EpicATrain
I'll try to get that to work
@FostDev
Did you install any plugins that alter lores? Is your config file missing?
@Mr_x_socks
I'll add an option to customize the healing ticks
@laughy_tafy
Which enchantments are restricted to certain items that you'd like to have?
@Enjoicraft
Hmm, I'll try to work something out for that
@Hellsword143
Sounds nice, will see if I can implement it in the next update :)
-
View User Profile
-
Send Message
Posted Nov 24, 2013Hi guys just a quick new item idea
Rhino boots:
Effect = when running near another player/mob that is under 10 block away the player/mob gets launched into the air and is knocked away
Let me know if you like it :)
-
View User Profile
-
Send Message
Posted Nov 24, 2013Please fix the swimsuit it only works once and sometimes not at all!
Please fix! thanks!
-
View User Profile
-
Send Message
Posted Nov 20, 2013Is there a way to change what items are used for certain enchantments? This is probably integrated into the code, but if there is a way (or not) please respond. Thanks, and great job on the plugin!
-
View User Profile
-
Send Message
Posted Nov 16, 2013auto repair dont work in my server because the weapons of my server damage armors and items a lot, like 1 diamond sword of my server damages an armor by 40 damage but the autorepair only repairs 1 point, theres a way to incrase the auto repair strength?
-
View User Profile
-
Send Message
Posted Nov 15, 2013For some reason most of the enchants stopped working??? I dont know what happened, they were working just fine a lil while ago now most of them don't work, any ideas?
-
View User Profile
-
Send Message
Posted Nov 14, 2013I would prefer that it would hook into vault.
-
View User Profile
-
Send Message
Posted Nov 13, 2013Is there a way to make these enchantment not work is a world guarded area?
-
View User Profile
-
Send Message
Posted Nov 13, 2013@EpicATrain
I could do that in combination with TokenStore :)
@onVoid
What do you mean by "item changing"?
@bry3malonjao
Is the Pyroaxe disabled? Is it just the sound not playing?
-
View User Profile
-
Send Message
Posted Nov 11, 2013Hey how come the pyro axe sound is not working and other enchantments like ligthning,lifesteal and other enchantments
-
View User Profile
-
Send Message
Posted Nov 11, 2013Can you make it so the name and lore of the items can be changed without the item changing?