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 Dec 17, 2014I did some testing with Spigot 1.8, it works just fine! :D
@powerfulguy21
Right now I only know of Bow enchantments only working against mobs, what others are affected on your side?
@PatrickThagaard
Seems like some cooldown problems occured in a previous update, it'll be fixed in the next update :)
What do you mean with the checks?
@kavorka99
I'll try arround with Vault for a bit, what exactly is happening though? CE-Shops were counterproductive, so I took them out; not sure if I'll ever readd them. CEs will work together again in the next update, that bug is already fixed :D
@ergenta
What's the problem with Smelting? Glowing only lasts for a few seconds due to several problems occuring with having it infinite :/
Suffixes for enchantments and items have to be reworked someday, it got lost in the transition to 2.0
@motikacraft
It is fixed in the next update, for now you can set the "EnchantmentTable" config option to false and it will work :D
@ergenta
Added to my list! :)
-
View User Profile
-
Send Message
Posted Dec 17, 2014Me and my friend have tested out most of the enchantments, they do not work at all. We do not know why it is doing this, we have tried to watch some tutorials to fix this but none of them helped. We are really confused on this. Every single enchantment works on mobs though.
-
View User Profile
-
Send Message
Posted Dec 16, 2014Thor's Axe:
Enabled: 'true'
DisplayName: Thor's
Color: DARK_PURPLE
Description: 'Batteries not included.'
Cooldown: '60'
Cost: '0'
FireDuration: '0'
Cooldown is set to 60, but yet its not working.
This has been happening for some time, and i'm unsure as to what im doing wrong.
Also would be nice with a PVP/Kill entities-check for towny etc.
-
View User Profile
-
Send Message
Posted Dec 15, 2014I can't buy any ce itens in ce menu :( could you please bring back CE-Shops? and can you add an option so ce enchants could work together? for exemple in boots i want gears and springs.. but for now only one work at a time.. and whem i equip a helmet with glowing my boots enchants didn't work anymore.
-
View User Profile
-
Send Message
Posted Dec 15, 2014I can't seem to get "smelting" enchant to work. also, why does "glowing" only lasts for 18seconds when in a much older 1.7.9 version it lasts an infinite amount of time.
I'm comparing a 1.7.9 version from a couple months ago (pre OCT30) to the NOV23 version.
Bandage heavy has never worked.
Thank you for your time. I understand this takes awhile to test and figure out all the flaws. <3 Happy hunting.
-
View User Profile
-
Send Message
Posted Dec 15, 2014Hi taitero.. this is not possible obtain enchant through enc table.. i try everything.. plz help
-
View User Profile
-
Send Message
Posted Dec 15, 2014I have an amazing idea. Armor that adds a health boost. Was thinking like 1 1/2 hearts per piece of something like that.
-
View User Profile
-
Send Message
Posted Dec 14, 2014@TribulationFu
I'll upload the update this week, didn't have too much time to work on CE due to school. It's done though :)
@deekondvg
I noticed major flaws that can occur in the shop that can occur with Vault, a fix will be included in the next update :)
@Lynxpvp
Fixed that problem, it affected all bow enchantments it seems
@WilliamSperlyToftegaard
I'll test it with that permission plugin myself and figure out whats wrong, may take a bit but may also be fixed in the next update :)
@ryanthemagi
Fixed that problem, you have to set the "EnchantmentTable" to false for now, screwed up with checking that variable xD
@tdarren
Flamethrowers and Rocketboots should lose durability over time, I may add an option for other items to deplete though
@powerfulguy21
Don't know if you only mean bow enchantments that are affected by this problem, but on that side they are fixed :D
If you have that problem for every enchantment however, please say so
-
View User Profile
-
Send Message
Posted Dec 12, 2014@Taiterio How is that update looking? Thanks for the fast response as well!
-
View User Profile
-
Send Message
Posted Dec 11, 2014@Taiterio
Cost: 0 shows in the lore of the item, anyway to remove it?
-
View User Profile
-
Send Message
Posted Dec 9, 2014Hey sorry for bother i may new to bukkit.. but for some reason my ench blind and a few others dont work i can seem to enchant them. Also lightning and bombardment only works on mobs confused on why..
-
View User Profile
-
Send Message
Posted Dec 9, 2014I just cant get this to work for players. It works fine for admins but effects dont happen when players use em. I think ive set the right permissions. So i dont know whats going wrong.
These are a few of the perms. Just as an example:
- ce.ench.Lifesteal
- ce.ench.Blind
- ce.ench.Deathbringer
im using permissionsos.
-
View User Profile
-
Send Message
Posted Dec 8, 2014For whatever reason, the custom enchants never appear when I use an enchantment table. I have EnchantmentTable set to ture, EnchantProbability set to 100 and RequirePermissions set to false. I have tried it a few dozen times with OP and level 30 enchants, and I have yet to get a custom enchant.
Running Spigot 1.8 and CE 2.1b.
-
View User Profile
-
Send Message
Posted Dec 8, 2014Is their a way to make it so that items wear out? Like a pickaxe doesn't last forever. I run a Factions server and don't exactly want people to run around with flamethrowers forever destroying everything in sight. Many Thanks.
-
View User Profile
-
Send Message
Posted Dec 7, 2014When I use this plugin's enchantments on mobs, it works. For some reason it doesn't work on players? Any answer
-
View User Profile
-
Send Message
Posted Dec 4, 2014@TribulationFu
I'll see if I can get it out this weekend, my time schedule is annoyingly stuffed atm <.<
@ZorlaxPlaysMC
Add your suggestions under the "Planned features", when I decide to add more enchantments or items I'll look into those :)
@NewtPvP
It should already be compatible with 1.8, as the plugin is pretty version-independent o.O
I'll do some tests on the matter though and check if some versions dont have good downward-compatibility
-
View User Profile
-
Send Message
Posted Dec 3, 2014@Taiterio That would be awesome if you could add that ASAP as my server is going to heavily rely on it. Thanks so much!
-
View User Profile
-
Send Message
Posted Dec 2, 2014Is there anyway we can add our own Enchants I have some good ideas or maybe you could add them if you want talk to me on Instagram @nickjohhnson Thanks :)
-
View User Profile
-
Send Message
Posted Dec 1, 2014When are you updating to 1.8? 1.8 has been released.
-
View User Profile
-
Send Message
Posted Nov 28, 2014@Kival_Evan
I'll check out what is wrong with the prioritizing :)
@TribulationFu
I can add that as an option for each enchantment :D
@VillageRealms
It shouldn't be anything with the config, it seems fine to me o.O
I have tested some stuff and I may have to change some stuff for logging more thoroughly. Haven't seen what could cause those problems yet though :/
And yeah the occurencechance means what you described :)
Finally, the minigun was not initially supposed to be compatible with the vanilla enchantments, I may add that later on if wanted :)