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 25, 2013@Enjoicraft
Hmm, I think the only fix would be to disable picking up a player that has powergloves in his hands too :/
-
View User Profile
-
Send Message
Posted Aug 25, 2013@Taiterio
I use your plugin for my kitpvp server and every time they pick the kit with power gloves they always somehow pick eachother up at the same time
-
View User Profile
-
Send Message
Posted Aug 24, 2013@ryanthemagi
Please give me the full error when you try to give yourself the Minigun, as it is correct but still returns an error to the console.
Netherquartz is just Quartz in the bukkit material list
@FearCraftServer
It works for me when I do /help Custom Enchantments, even when I don't have the Plugin it just says that there is no help for "Custom Enchantments" :/
@Enjoicraft
It only happens to me when I grab a Pig that has a saddle on it, gonna fix that. But how would that apply to players? They'd have to grab each other at the exact same tick (1/20 of a second) for the server to crash o.O
Do you have the customLightning option in the config under lightning?
@Drakortha
It would take a bit longer, but I had that planned at some point anyway, I'll look into it
@Tomtaru
No, as this would cause alot of problems
-
View User Profile
-
Send Message
Posted Aug 23, 2013Does this plugin add the glow to the enchanted items like vanilla enchats?
-
View User Profile
-
Send Message
Posted Aug 23, 2013@FearCraftServer
You're probably running essentials and it's looking for the "custom" chapter in your help.txt file I think...
-
View User Profile
-
Send Message
Posted Aug 23, 2013Hi, great plugin! I'm setting this up to work on our server.
I was wondering if it was possible to rename any of the preset enchantments in the "Items" section, such as the "minigun" enchantment? I'd love to have that enchantment on my bow but with my own custom name for it. Thanks!
-
View User Profile
-
Send Message
Posted Aug 22, 20132 Power Gloves picking eachother up at the same time still crashes my server. Please fix!
EDIT: Lightning doesn't work in new update! Please fix!
-
View User Profile
-
Send Message
Posted Aug 22, 2013When i do /help custom enchantments it says unknow chapter please help!
-
View User Profile
-
Send Message
Posted Aug 22, 2013@Taiterio
Can you give me an example of a command that I would type to receive the Minigun?
I tried "/enchgive playername bow Minigun" and the error is "An internal error occurred while attempting to perform this command."
I also tried "/enchgive playername netherquartz Powergloves" and it says "material not found." I tried the data ID, I tried nether_quartz, nether quartz (on that one it said "You don't have the permission to do that").
-
View User Profile
-
Send Message
Posted Aug 22, 2013@ryanthemagi
Wait, nvm, found the problem. It should display the usage message: "Usage: /enchgive <player> <material> <enchantment>"
Sorry for that, seems like I mixed something up
-
View User Profile
-
Send Message
Posted Aug 22, 2013Using 1.0.8b. I'm still having the same issue with permissions: I gave myself the permission customenchantment.canEnchant. I then try /enchgive Powergloves and it says "You don't have the Permission to do that." I then added the perm customenchantment.Powergloves and it still renders the same error message. In fact, merely typing /enchgive causes the error to appear.
-
View User Profile
-
Send Message
Posted Aug 22, 2013@davidxd33
The /enchgive command requires the permission customenchantment.canEnchant (At the Moment), but you are most likely using Version 1.0.8 which has broken Permissions, please download 1.0.8b to use it :)
Posted a Shop/Economy Plugin I still had arround, it is excellent for selling the enchantments and items, find it under http://dev.bukkit.org/bukkit-plugins/tokenstore/
-
View User Profile
-
Send Message
Posted Aug 21, 2013Waaa, this is so cool! Good luck and keep the good work! :D
-
View User Profile
-
Send Message
Posted Aug 21, 2013@Taiterio
I am not allowed to use /enchgive. The error is "You do not have permission" but I set every node to myself. Does this work with permissionsEX?
Also I really want you to add a command where I can give these items to players myself in the console as I want to make these items donator items. Make it like /ench {name} {player}
-
View User Profile
-
Send Message
Posted Aug 20, 2013@Taiterio
Sorry for bothering you again but thanks so much!
-
View User Profile
-
Send Message
Posted Aug 20, 2013@afg093
Yes, if you have "enchantmentTable" set to true in the config
@sether244
multicraft? :O
@VerdigoJr
Yeah, with the newest versions I put the permissions into the plugin.yml file, but as I don't have that much experience with permissions I fucked up bad XD
@Enjoicraft
Fixed in 1.0.8b :D
-
View User Profile
-
Send Message
Posted Aug 20, 2013Sorry! 1 more thing, server crashes every time people with powergloves pick eachother up at the same time
-
View User Profile
-
Send Message
Posted Aug 20, 2013I just removed the permissions for the plugin.yml file from the jar. Then it loaded fine XD But I understand some people need the permissions. Great plugin though!
-
View User Profile
-
Send Message
Posted Aug 20, 2013its okay, i just uploaded the jar you had instead of going through multicraft =p
-
View User Profile
-
Send Message
Posted Aug 20, 2013Hmm, can we get this enchantements from a table?