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 11, 2013@Taiterio
Yes that's what I mean
-
View User Profile
-
Send Message
Posted Nov 11, 2013Hey hey hey! Are you making a code to make it easier for administrators to sell the enchantments for players with the appropriate permissions to buy them on a server?
-
View User Profile
-
Send Message
Posted Nov 11, 2013@kevindragon8
What does your console say? Do you get any errors?
@Enjoicraft
I'll see what is causing that, also what do you mean by "doesn't work when you go in water a second time"? Like when you leave the water and go into it again?
@yabali
I'm currently trying to fix the WorldGuard import problem, it seems like it doesnt want me to check if WorldGuard is enabled or not
@kevinator0122
You have set the names/lores of the items to have the correct color code?
If not, you have to find the correct color code for everything, the Minigun's name is written in aqua, so you'd have to find the color code for aqua and make a new item with that colored name, could you send me what you entered in the essential kits?
-
View User Profile
-
Send Message
Posted Nov 10, 2013The /addlore and /setlore stopped working for me just today. Please help I think its a bug....
-
View User Profile
-
Send Message
Posted Nov 10, 2013swimsuit enchantment doesn't work for enchgive and is not in enchantments page please fix!
EDIT: Also it doesn't work when you go in water a second time. Effects work first time in the water but not second time
-
View User Profile
-
Send Message
Posted Nov 8, 2013@Taiterio
When i hit mobs or mobs hit me,like this http://pastebin.com/KPtfyGnt .
-
View User Profile
-
Send Message
Posted Nov 8, 2013The way you describe me doing it doesn't work, even in essentials kits it doesn't work. I might have done something wrong, but i dont believe so. Can you help me out? This is a continuation of my comments below
-
View User Profile
-
Send Message
Posted Nov 8, 2013@deekondvg
Sounds nice :)
@yabali
Hmm, when exactly is it occuring?
@deekondvg
I'll see about that :D
-
View User Profile
-
Send Message
Posted Nov 8, 2013Another few suggestions i have:
Perhaps add in a configurable probability of the enchants to work, For example Every hit having poison seems a little op, instead maybe add a configuration setting that would allow the admins/owner to choose how often the enchant would work.
-
View User Profile
-
Send Message
Posted Nov 8, 2013@Taiterio
This bug fixed? I use the 1.0.9c still occur this error,unless i install the WorldGuard. It's a good plugin! and sorry for my bad english.XP
-
View User Profile
-
Send Message
Posted Nov 8, 2013You know what Id love to see as a awesome addition? Custom Tool Enchants.
Here's some ideas I had on these ^_^
Forger/Smelter. When used will give custom block drops of the following:
Cobble > Stone
Iron Ore > Iron Ingot
Gold Ore > Gold Ingot
Netherrack > Nether Brick(Singles)
Logs > Charcoal (Axes Only)
Sand > Glass (Shovels Only)
Bedrock Buster:
Allows Mining Of Bedrock
Green Thumb:
Gives Double Drops Of Crops ( Hoes Only )
-
View User Profile
-
Send Message
Posted Nov 6, 2013@Taiterio
Sweet thank you!
-
View User Profile
-
Send Message
Posted Nov 6, 2013@Enjoicraft
Added this in 1.0.9c :)
@mond999
Fixed this bug :D
@CaniCraft
If you have any way to add a colored name or lore for an item, then it works :)
@kevinator0122
You need to have the correct color for my enchantments to work, so instead of DARK_PURPLE as a color, you would need to be able to set it to any color, you can go into the custom enchantments config, set "italic" to off and the lore color to "DARK_PURPLE"
@CrispyLipz
What are you using it for?
-
View User Profile
-
Send Message
Posted Nov 6, 2013Hey I rewrote this code a little to add one color only for the lore as it was adding weird numerals all other the place I did Color converter to set lore color and works like a charm! Here it is :)
-
View User Profile
-
Send Message
Posted Nov 5, 2013@Taiterio
The plugin im talking about does support lores but only the Dark_Purple. I have already tried what you said it didn't seem to work. I might have did something wrong can you explain it a little more?
-
View User Profile
-
Send Message
Posted Nov 5, 2013is there a way that you can use essentils signs or kits to sell these enchants i love this plugin you did awsome work with it but im not fond of adding another plugin to sell the enchants to players i already have esseentials and chestshops is there anyway of doing this ;)
-
View User Profile
-
Send Message
Posted Nov 5, 2013When I add lore the color that I want it to be is part of the lore. So if I type /setlore yellow test the lore will be "yellow test" but in yellow. Is this a bug or am I doing something wrong?
-
View User Profile
-
Send Message
Posted Nov 4, 2013@Taiterio
Please make it so I can give people stuff by command!
EDIT: Please make it so I can give people stuff by console thanks
-
View User Profile
-
Send Message
Posted Nov 4, 2013@kevinator0122
Does TokenShop allow you to set colored lores and names of items?
If yes, then you have to find the color corresponding to the enchant and it will work.
If no, then you can also use my Shop that supports this, here: http://dev.bukkit.org/bukkit-plugins/tokenstore (Yeah I know, they both have very similar names xD)
@Gladiator_1
Items are only obtainable via command, enchants are only obtainable by everyone if you enable the "enchantmentTable" part, which allows players to obtain the custom enchantments via enchanting.
Giving someone permission for an enchant only restricts the use as of now, but I may change that in the future.
-
View User Profile
-
Send Message
Posted Nov 2, 2013Question. I want to use this plugin to hand out items/enchants as prizes or at random. Are the items/enchants all obtainable by everyone? Does giving someone permission for it allow them to spawn it, enchant something themselves, or just use it. Just looking for a little clarification as to whether i can use this how I want to. Thanks!!