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 Jan 6, 2016Hello, can someone help me with the sign shops? I do not get how the money system works. Is it tied in with another plugin? Can it accept items as payment? Like costing 2 diamonds for an enchant.
How would I type that in line 4?
-
View User Profile
-
Send Message
Posted Jan 6, 2016Sorry but I am still new at most of this. Has anyone come across and know the solution to the enchantment effects being permanent? Meaning that a player takes the enchanted armor off but the enchantment effect does not go away unless they are healed or the server is restarted. I've been searching all the posts below and the web and have not anything that explains what is causing it and how to fix it.
I am using version 2.3c on a 1.8 server with spigot 1.8.8 and the latest factions plugin.
-
View User Profile
-
Send Message
Posted Jan 5, 2016@Darkman_Bree
Haha if it did have everything if it was also just a normal axe it could 1 shot anything trust me I have done it on my server. It one shot me in all enchanted diamond prot 1000. Some enchants combined are to OP.
-
View User Profile
-
Send Message
Posted Jan 5, 2016Best idea ever down here :P
Taiterio's Rage (Iron Axe) One hits everything and has all enchantments and custom enchantments level X :P
-
View User Profile
-
Send Message
Posted Jan 5, 2016Its just that I named the enchant health boost on my server. It just feels like it makes more sense that it has hearts instead of absorption hearts. Also thanks :D
Btw the enchant didn't seem to do what you describe. It was more like the absorption hearts were to just take all the damage(Not some) and regen like 10 seconds later.
(Forgive me if something didn't make sense I typed this when I was quite tied)
-
View User Profile
-
Send Message
Posted Jan 4, 2016@Darkman_Bree
1.9 is very exciting and may introduce great features into CE, although I'm not sure that CE will support pre 1.9 versions once it's out since there are several big changes that are hard to keep compatible to older versions :/
But it will probably take a while before we see 1.9 on Spigot happening.
@MINECRAFTELITE91
As I said, can't really name a release date, though I will cut some of the features that I wanted to add in aswell to get it out earlier :)
What healthboost do you mean? The only enchantment that gives absorption hearts right now is Shielded, which is intended to be a shield blocking some damage.
@Azfaloth
Alright, glad to hear :)
Sure, send me a pm containing all the bugs you found and I'll get on it :)
@GrimmVoid
Didn't know that was allowed, thanks for the notice! :)
-
View User Profile
-
Send Message
Posted Jan 4, 2016@Taiterio
I know making it 1.9 when its out is hard, but it has to be done sometime, but of course not now.
Happy new year anyway!
-
View User Profile
-
Send Message
Posted Jan 4, 2016@Taiterio
I just can't wait for the dodge and anvil type of things that's the main thing I want to wait for before starting my new server because I want to make it based around those. Also the day you make the healthboost have no absorb hearts would be great. XD
-
View User Profile
-
Send Message
Posted Jan 4, 2016@Taiterio
Sorry, I figured out the cause of that particular bug where items would lose some lore on joining in. It isn't because of custom enchants. Thank you for your response. :) If you start developing this actively again, I could surely help you by reporting some of the bugs since I've been using your plugin for close to 6 months on 1.8 server.
Thank you for your wonderful plugin. :)
-
View User Profile
-
Send Message
Posted Jan 3, 2016Why don't you just add this to spigot premium also, you can have the same plugin as a premium plugin and a non-premium. Mcmmo does it with their plugin and they still get a good amount of donations even though it's free to download.
You'd get more people paying for premium if you offered it that way I'm sure.
-
View User Profile
-
Send Message
Posted Jan 3, 2016Alright, after a little delay here is the post xD
The last few months have been very stressing for me (University, work, etc.) and the remaining time went into real life and some minor projects. CE is a project that is purely done on my own free time and my interest in seeing the project continued.
As I mentioned before, I was thinking of uploading some premium-only plugins to Spigot to help me have more time to spend on CE, as this project generates close to no income even with the occasional donations (Thanks to everyone that donated though!) and I need some way for me to pay my bills. Once I get to cleaning up the projects I have lying around, I'll upload some that might be useful for a few people.
Everytime I had time to work on CE, it was either not enough to get meaningful work done (I worked on the plugin though) or I simply wanted to relax after having spent countless hours on tasks that kept piling up over the day.
The reason I didn't answer the comments so far is that I want to respond to all comments if possible, which is kinda bad when I do not have time do so.
As for the plugin status:
The two new main features are Runecrafting and the version independent effect library, meaning enchantments will receive a visual upgrade in the future (Enchantments now have a glow effect!). It also has a ton of bugfixes and some new enchantments.
I can't give an exact date for the update, but I think I can push out the update once I get some more testing and polishing done.
Until then, onwards into the comments!
-
View User Profile
-
Send Message
Posted Jan 3, 2016@MINECRAFTELITE91
About 3 hours without the timeouts inbetween. It takes some time to check bugs and stuff to give a good first response.
@sdgnomo1
Unequip them, disable them with leftclick and then leftclick again.
@MINECRAFTELITE91
See my upper post :P
@Tintigel
I have received similar reports and it seems like Multiverse screwed up the chat color formatting in items for them (the weird As occured for them aswell), do you use Multiverse by any chance?
@skyzophrenic
That was initially planned :/
@ThaRam
The flamethrower spawns falling sand with a fire skin, which some systems that track entities may not like. Can you send me a full console log of such an error via PM?
@Pizzapie7738
Does it send you as a player any message?
@danablend
Currently you can remove enchantments by updating the lore of the item ('/ce change lore set <newlore>'). I'll add that command though for ease of use :)
@ApexPredatorPvP
That won't be in the next update yet.
@MaxiRahimi
With?
@DoggyCode
Of course you can, but be aware that most of the plugin is subject to critical changes since I have not implemented an api yet.
@MaxiRahimi
There must have been an error with the config, the error leads to items not having been loaded correctly. Can you check if there is an error when reloading?
@ridathe94
Fixed in the next update
@YellowZaki
Enable it in the config and enchant with level 30.
@eboss34
I'll see if I can get them into the next update, though a minor problem with spawning mobs is that they attack everyone around them unless their AI is changed a bit. This can be a bit tedious to implement :/
@RQBest
Added in the next update :)
@ItsPvPTime
Nice! :)
@Gemesil
Not sure why that would be and I cannot really fix it either, since I have no clue how the plugin tracks people being in combat and what my plugin is doing to interfere. It might be that continous effects could cause this.
@Azfaloth
That seems very weird, but CE should not affect any lores beyond the commands, especially when joining :O
Can you send me a PM with a list of plugins you are using?
@CaptainPcPro
Can you give a more detailed description of your problem?
@skyzophrenic
Don't hold me to such things :<
@vampirictorch
Sounds like a neat idea, will add! :)
@CazooshIzAMeme
CE is a plugin, not a mod :P
@Trolltheking
This is not something I will ever implement I believe, since it requires a hook into factions and it's just a huge hassle.
@TokenSlot
Then that is a bug, it should be fixed in the next update :)
@Saxion
Thanks for the suggestion! The bug is already fixed in the next update! :)
@moldyscience
You should be able to do that already.
@AzenZie
Thanks for the suggestions!
@8972Legend
Fixed in the next update.
@mcgavyn
You may try it, but I think most checks prevent such behavior. This might change in the future.
@Darkman_Bree
I know, but I'll hate making it compatible to 1.9 :(
@Rulerish
I could do that, but when I get spammed with several dozen PMs asking me to add critical features I want to finally add such things :P
@bananoke
I can add that, though it might not be in the next update.
@AzenZie
Go to my github, copy the file of any enchantment, change as you like, compile it and put it into the correct folder. CE uses a system that intelligently tracks new enchantments added to folders :)
@8972Legend
Rarity will not be added in yet, need a natural way of configuring something like that.
@MANOFKRYPTON
ce.ench.[enchantmentname]
@Kashiro1532
Those enchantments are pretty tough to implement as they take ages to get into a bug-free state :/
@BaconFalcon
Seems nice to have for the enchanting table :)
@rpgrowland
Enchanting table :)
@skyzophrenic
Thanks! :)
Finally done!
-
View User Profile
-
Send Message
Posted Jan 3, 2016@GrimmVoid
Something like that is being created for the update already tait gave a sneak peak of it a while ago its called runecrafting.
-
View User Profile
-
Send Message
Posted Jan 3, 2016Can you please the add the ability to add enchants to books. so we can add them to items in anvils?
-
View User Profile
-
Send Message
Posted Jan 2, 2016Nvm.. Scratch that idea its more like 15 hours xD
Also maybe how long did it take to type?
-
View User Profile
-
Send Message
Posted Jan 2, 2016@MINECRAFTELITE91
ikr xD
-
View User Profile
-
Send Message
Posted Jan 2, 2016I bet hes been typing away for the past 5 hours xD.
-
View User Profile
-
Send Message
Posted Jan 2, 2016Rocket Boots say is out of fuel, how do I reload?
-
View User Profile
-
Send Message
Posted Jan 2, 2016Yay good! I have a few.
ETA on plugin.
What should we expect.
Why did you vanish for like 3 months xD.
-
View User Profile
-
Send Message
Posted Jan 1, 2016@Taiterio
OMG Tait, where have you been? O_O We're so glad your back :D
Oh and happy new year 2016.