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 Feb 15, 2014@njabronco
@MeLikeChoco
I'll try to figure something out for the prices.
The permissions of buying an enchantment are the same as using it, i.e customenchantment.Flamethrower for the Flamethrower
@myfavouritegameplays
Sent you a pm
-
View User Profile
-
Send Message
Posted Feb 14, 2014Any chance you could add any of the following with the code reword?
-An option to make the flamethrower not set any blocks on fire, just people/mobs. -New Enchantment: Grenadelauncher. When the item is clicked, it shoots an exploding egg with a configurable explosion. -New Enchantment: Feather. Boots only. When user wears boots and shifts, they glide down to the ground and take no fall damage.
-
View User Profile
-
Send Message
Posted Feb 14, 2014Also, how do you allow people to buy the enchantments? It doesn't seem to work with any permission put. Players can't buy any enchantment....
-
View User Profile
-
Send Message
Posted Feb 14, 2014I want my price to be 5 bil. But unfortunately it is not possible. Could you please find a way to put a higher price than 50 mil on the sign?
-
View User Profile
-
Send Message
Posted Feb 14, 2014Hello,
I had the idea to put this plugin with the enchantment (pyroaxe) into my Voteroullete for votifier and buycraft for people to buy. What command can i use for this? because when i do /enchgive (name) (Diamondaxe OR 279) (pyroaxe) it says ''Player not found'' And when i do /give mrparadoxia 279 lore:&4&oPyroAxe from the video of ADROITON it doesnt work to. Can you help me?
Best regards, Steven
-
View User Profile
-
Send Message
Posted Feb 11, 2014@Erudin1
Sent you a PM
@DeVineMonster
After the code-rework, yes :)
-
View User Profile
-
Send Message
Posted Feb 11, 2014@whopper009
nevermind i found the problem
-
View User Profile
-
Send Message
Posted Feb 9, 2014Can you Add Potion effects As lore Please.
-
View User Profile
-
Send Message
Posted Feb 9, 2014Hello, Great plugin its my favorite so far! is it possible to config it so that all my players cant use the /ench command? even the default can use this command and get free runes. Thanks
-
View User Profile
-
Send Message
Posted Feb 9, 2014Hi.. The Potionlauncher (CE shopsign) stil won't work.
is the permission broken, or is it written different? When players try to buy it, they get the message, they don't have permission to buy that.
Maybe still a bug ;)!
-
View User Profile
-
Send Message
Posted Feb 9, 2014@janjanjan11111
You are using an outdated version of the plugin, deleting your post as the log takes up some space, please send such errors via PM only.
-
View User Profile
-
Send Message
Posted Feb 8, 2014@lucasbuck2
1) Yes, I suppose that would work, but thanks for pointing out that this needs some improvement
2) Put it on the list for the code rework! :)
-
View User Profile
-
Send Message
Posted Feb 7, 2014I had a couple questions: 1) with the permissions I was confused. To allow players to be able to use all items enchanted with the new enchantments (but not add them or anything else) do you give them customenchantment.* and then negate .canMortar .canEnchant .canChangeItem .canMakeShop? Rather than adding all of them? 2) Is it possible to set effects on items to have a percent chance of triggers? Instead of automatically on each hit? Thanks for any info!
-
View User Profile
-
Send Message
Posted Feb 6, 2014@Mach12
Thank you, if you need help with anything coding-wise, just say so :D
-
View User Profile
-
Send Message
Posted Feb 6, 2014Awesome plugin!
You sir did so well it is actually compatible with customitemsapi! Seriously, once i finally succeed in learning Java, i'll try to do as well as you do! Also you Vault hook rocks.
-
View User Profile
-
Send Message
Posted Feb 5, 2014@LallierQc
Does it work on players? I'll check it out tomorrow and see what I can do
-
View User Profile
-
Send Message
Posted Feb 5, 2014@Taiterio
I did. but the italic is gone. so i have to keep it like this.. and in when i o the kit i get a sword with Poison italic and blue written on it. but the enchant wont do nothing.. even when i take a sign and buy it. it says i succesfly bought it but it wont do nothing or my friends.. wtf do we need like a dependecies plugin to make it work or what? plz help
-
View User Profile
-
Send Message
Posted Feb 5, 2014@LallierQc
Try the fix I told you earlier, does it work after doing that?
@carsonfg
My plugin's enchantments don't have levels. Just set the lore of the item in the kit to the name of the enchantment you wish to add, then add the loreprefix like for example: &4&0 would be the loreprefix and an enchantmentname would be Lifesteal, hence why it says &4&0Lifesteal in the section
-
View User Profile
-
Send Message
Posted Feb 5, 2014@Taiterio
I get the lore and stuff but i tried it on mob and theres no poison efecct or stuff
-
View User Profile
-
Send Message
Posted Feb 5, 2014Why do you have such a Confusing plugin
Idk how to make a kit with this plugin with 1 - 10 lvl enchants :(
SOMEONE GIVE ME AN EXAMPLE
DO NOT GIVE ME THE CE's IN KITS! BECAUSE THATS TOO CONFUSING :(