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 Jul 7, 2015@Taiterio
The Flame enchantment is strange in my server, in /spawn it doesn't work, and in /warp Prison it works perfectly.
I have some ideas for custom enchantments on hoes :O
Compost Makes the farmland grow the plant on it x2 times faster per level.
Multifarm Turns dirt and grass into farmland 3x3, Coarse Dirt into Dirt.
Soul Wart Right click on soul sand to make the nether wart growing on it x2 times faster per level.
Staff of Regrowth ITEM》Right click the following blocks to change it: Sapling to Tree, Plants to Fully Grown, Sugar Cane/Cactus to fully grown, Pumpkin/Melon stems to grow a pumpkin, Dirt to Grass, Coarse Dirt to Podzol, Grass to have Tall Grass and Flowers, Cobblestone to Moss Stone, Stone Brick to Mossy Stone Brick, Mushrooms to Huge Mushrooms, Tall Flowers will drop a new one, Tall Grass/Ferns become Tall.
Hydro Farmland doesn't need water.
I hope Hoe Enchantments will be added.
Oh and when 1.9 comes out, will you add Shield Enchantments and Quiver Enchantments?
EDIT: Looked up Flame.
-
View User Profile
-
Send Message
Posted Jul 6, 2015@ABugsTheater
I cannot reproduce the glitch with the weird symbol appearing through either way; could you send me a pm with the plugins you are using? The plugin should not set the lore/name anywhere beyond the commands that are supposed to do it, but they are supposed to break when the name/lore does not contain the right "name" of the enchantment or item anymore.
@rpgrowland
Will do :)
@iCodeBans
Thanks a lot! :D
I am currently thinking about publishing plugins that I still have lying around as spigot premium plugins, although I fear that the concept of paying for plugins deters people. Needless to say, Custom Enchantments will be free and will continue to be worked on as long as I have the motivation, time and money for it :)
@xH3LLRAIZ3Rx
That sounds like a great idea, I had the idea of adding in-game descriptions of the enchantments either way as it makes the need for checking the website redundant :D
@oLLyyy
Which part of them isn't working?
@Darkman_Bree
As in, the arrow doesn't burn when you shoot in from time to time? Does it depend on whether or not a Custom Enchantment is on it? This behavior should not typically occur since the only thing the Enchantments do to arrows is add data to the arrows, which is independent of any vanilla enchantments on it.
@KJDoesGaming
Each command has their own permission under the ce.cmd.* node:
@Rulerish
I think I know where the problem lies there, thought this would have been fixed earlier though; will include the fix in the next update, sorry for the inconvenience!
@HunterGPlays
I'll add that in :)
For the bug, this is intentional right now as I have not yet gotten around to implementing my own version of Fortune to it yet as there is no simple way to just apply the effect it would have there :/
@SuperPieDudeZ
This is done by setting up a sign shop as described in the description, there are no config settings for this as of now. The standard behavior goes like this:
Player clicks sign and doesnt have enchantment -> Player gets the first level of the enchantment
Player clicks sign and has enchantment -> Player gets the next level of the enchantment
@Rulerish
Thank you alot for the kind words :D
Imho, this should be the standard for any developer as long as it is an adequate amount of posts that would have to be replied on. Although in my experience the process can sometimes be very time-consuming, tedious and (shortsightedly) unrewarding for one person to handle, it is great to see occasional "thank you"s, people enjoying the plugin and the plugin progressing with each addition suggested and bug fixed :)
@iImpulseYT
The link to the enchantment descriptions can be found in the description :)
Currently, there is no way to add your own potion effects to enchantments, the configurability ends at the config. This may change in the future.
@madserty1717
What do you mean by that?
Well, the day will come when the next update will be out (Should be out in a few days).
-
View User Profile
-
Send Message
Posted Jul 6, 2015I'm having the same issue as Wylsun, a strange symbol (Â) appears in front of my enchanted items but unlike him I get this issue on every world but only after I restart my server. And if they are wearing the item, they get all of its benefits permanently till they die...
-
View User Profile
-
Send Message
Posted Jul 5, 2015I was wondering in the next update if you could make it so through enchanting axes would get global enchantments and boots + helmets will get armour enchantments as they only get the boot and helmet ones.
-
View User Profile
-
Send Message
Posted Jul 4, 2015I would like to say that this is an amazing plugin and congratulations on having such a success on your first java project! Hope to see more plugins from you in the future.
-
View User Profile
-
Send Message
Posted Jul 4, 2015@KJDoesGaming
They are defaulted for operators only.
-
View User Profile
-
Send Message
Posted Jul 4, 2015can you add lore to the ce menu about what the enchantments do?
-
View User Profile
-
Send Message
Posted Jul 4, 2015-
View User Profile
-
Send Message
Posted Jul 4, 2015Sometimes the Flame enchantment on bows don't work. I don't know if this plugin causes it, but I think so.
-
View User Profile
-
Send Message
Posted Jul 3, 2015Ok, So I'm making a server and i'm wondering do you need to be op on the server to do the command as in (/ce enchant,/ce change, and /ce give, because i don't want the people on my white-list to just give themselves stuff with me not knowing, and i don't want them to use /ce change because i want them to use and anvil and use levels) Please reply ASAP!!!!!!!!!!! My schedule is to release the invites for my server July 22, so please reply ASAP!
Please and Thank you -Krys
-
View User Profile
-
Send Message
Posted Jul 2, 2015After some time all items/items with custom enchantments get accented letters (Â) in front of the item name and in the lore, and when that happens, the items stop working. Any idea why?
EDIT: Happens when i die in another world rather than the default world (e.x: You have a custom enchanted item, you die in a alternate world (multiverse) and when you return to that world the item has the accents and does not work correctly)
-
View User Profile
-
Send Message
Posted Jun 30, 2015@Taiterio
Okey, coming with a bug report now.
I have set the Maximum Enchants to 2 Per item from the config. But players manage via MCMMO repair skills, to remove the vanilla enchants, and when enchanting again they recieve more Custom Enchants.. Can you fix this? Or is there a way to prevent this?
-
View User Profile
-
Send Message
Posted Jun 29, 2015@Taiterio
Hey, is there any way you could add a permission node for getting CE items from an enchanting table? e.g. I have 4 classes on my server and I want only one of them to be able to create CE items from an enchanting table.
Thanks :)
I also have a bug report. When you have a pickaxe with Explosive and Fortune, the fortune effect doesn't apply to the dropped items.
-
View User Profile
-
Send Message
Posted Jun 28, 2015It says you can change whether a sign will upgrade a items level of enchantment if that enchantment is already owned but i cannot find the option in config. Please help, thank you!
-
View User Profile
-
Send Message
Posted Jun 28, 2015@Taiterio
A wild thank you comment passes by.
Thanks for the epic plugin! Congratz on graduating! Keep on updating! And thanks for replying to everyone about their problems.. I've never seen any developer do that.
-
View User Profile
-
Send Message
Posted Jun 28, 2015Can You Please Post A Document Of What All The Enchantments Do Please?
Also, Can You Post Another Document On How To Customize Them Yourself. I.E, Add Potion Effects Such As Strengh With Blindness And Health Boost Etc?
Regards, Kian
-
View User Profile
-
Send Message
Posted Jun 27, 2015@madserty1717
Please help me someone!!!!!!!!!!!
-
View User Profile
-
Send Message
Posted Jun 27, 2015Can someone help me import the plugin?
-
View User Profile
-
Send Message
Posted Jun 26, 2015@ShankTankOP
I'll look into getting that fixed :)
@RedGuy54
Will be implemented soon :)
@tritions
What do you mean by that?
@DuckweedVN
Huh, I'll see what that is about, what version of minecraft are you using?
@stonerbros
Response is slow because I have other things to deal with and this is a free project :(
@MixDaPvP
Why are some enchantments not working for 1.7 for you? Nothing should change between versions, much less should it affect any items used in the process. Please send me any errors via PM
@Th3PotatoArmyHD
First of all, which economy plugin are you using?
Also, does it say that the player has bought the item/enchantment successfully? If not, then there is an issue with your economy plugin and you should check the console. If they get the correct message, then your economy plugin depends solely on player banks instead of on player economy accounts, which I would have to fix.
@BaconFalcon
The modifier is actually a multiplier, I might have to check whether or not it gets triggered multiple times due to damage events being sent more than once
@deathman97085thereal
Players require the permission "ce.ench.[Enchantment]" to obtain/buy/use the enchantments
@caneKing
I'll see where the problem comes from. Could you tell me whether players buying enchantments gives you a message or if any console errors appear when they are buying it.
@stonerbros
Stacks being enchantable has been removed from /ce menu; For the enchantments not being charged money for I'd need to know which economy plugin you are using. I'll test with those a bit, seeing as multiple people report this feature as non-functional. My guess is that the economy plugins beyond Vault are causing problems, since the plugin works fine for me when just using the default Vault plugin and all other economy plugins should not cause problems through it.
@Incytech
Rocketboots not activating: Any errors in the console?
What do you mean you cannot change the lore of the item? For that you can use /ce change lore
@hetjoshi
There may be a problem with damage events being sent multiple times, triggering the enchantment multiple times, I'll look into it. What minecraft version are you using and any combat-altering plugins installed beyond CE? For the permissions, the player needs the permission "ce.ench.[enchantment]" if buying an enchantment and "ce.item.[item]" when buying an item.
@MixDaPvP
Will do :)
@futhead_insanegamer
Shielded has already been changed to include a similar change, although having the effect be unlimited is silly since it would become useless once the hearts were gone :P
What should block do?
If you want to add an own enchantment, fork the project on GitHub and add it to the plugin; you can then decide to write a pull request so I can add it onto here
@ergenta
I can :)
@ShankTankOP
Will do, although only OPs should be able to have the config option right now.
@xAcrosonicx
Explosive works on all blocks and not just ores :)
@xXXDESRAY10XXx
Added those suggestions to my list!
Will add such a command :)
Can you tell me what happens when you change the config?
I'll also check out whats happening with player vaults o.O
The enchantments signs only open /ce menu in case of you not having Vault installed, leaving you unable to make use of the signs.
@Darkman_Bree
Added those ideas to my list :D
@Dragon_Pickaxe
I want to add a system that allows admins to control the required flags; right now most CEs work over either the PvP or the build flag.
@InglisMax
Give them the permission "ce.ench.[enchantment]" :)
@SkyTehk
Already working on that :D
@xAcrosonicx
Giving over the console would be done via /ce give; for the Minigun it would be:
/ce give <Player> BOW Minigun
The Landmine checks whether building is allowed in that area or not, this will be changed later on.
@CheesyPirate
Added to my list :)
Graduated! Will resume working on the plugin again in a bit :)
Holy hell, this is a long post xD
-
View User Profile
-
Send Message
Posted Jun 26, 2015With the smelting enchantment it doesn't support the different types of stone. When you mine Diorite or Granite with the smelting enchantment it gives you normal smooth stone.