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 8, 2015I have a doubt: is it possible to put CE enchantments only book specific? In other words, only 'books' would be able to receive CE using an enchantment table (then you could use them to enchant other items).
I was wondering if this is possible. Thanks
-
View User Profile
-
Send Message
Posted Feb 6, 2015Why is it I am able to (via /ce give) get an item with a vanilla enchantment much higher than the normal maximum (EX: Knockback 20), but on the custom enchants, no matter what I set the EnchantmentMaxLevel in config, it won't let me enchant higher than 10.
Trying to launch someone/something really high in the air with the Gooey enchant, but it won't let me go any higher than Gooey 10.
Using 2.1f by the way, haven't had time to update yet.
Thanks
-
View User Profile
-
Send Message
Posted Feb 6, 2015@Taiterio
hey by the way i'm trying to edit things in the config and sometimes it does not work. like i put an item or enchant to false and it is still enabled, or i try to edit it and it stays the same.
my server is 1.7.9 r0.2
-
View User Profile
-
Send Message
Posted Feb 6, 2015@Taiterio What exact version do they use to get the 'infinite' enchant effect ?
-
View User Profile
-
Send Message
Posted Feb 5, 2015@Kinlamaru
Currently every should work equally fine, this may change in the feature however (to provide some nice and interesting effects for the latest version, but I'm not a huge fan of that <.<)
-
View User Profile
-
Send Message
Posted Feb 4, 2015@Taiterio
does this plugin work equally for 1.7.9 and 1.8.1?
or does 1.8.1 have better features?
-
View User Profile
-
Send Message
Posted Feb 3, 2015@barclay1
That's extremely weird behavior, sent you a pm
@leaps10
You can already do that, just set the config option "Global.Enchantments.CEnchantmentTable" to true, the option "Global.Enchantments.CEnchantingProbability" is the chance of obtaining a custom enchantment.
-
View User Profile
-
Send Message
Posted Feb 3, 2015There are no errors in console and its all the custom items.
-
View User Profile
-
Send Message
Posted Feb 2, 2015@taiterio will you be able to make it so that you can get the enchants naturally in enchantment table in 1.8, but the chances would be really low? I'm not sure if the new enchantment setup will allow it but it would be awesome if you could do it
-
View User Profile
-
Send Message
Posted Feb 1, 2015@Eradragoss
They are using a very old version of Custom Enchantments, I may re-add that someday though :)
@LastTulare
I'm adding an option for enchantments to customize the sounds played when an enchantment's effect is triggered, which will also allow you to stop the effect from playing :)
@Daawesomest224
Will add that option :D
@RyanZLion103
The Deathscythe is for pulling players/mobs towards you or pushing you towards mobs/players. You use it by rightclicking in the direction of a nearby enemy and then leftclick to push yourself to it or rightclick to pull it towards you. The Deathscythe should give you information on whether you hit an enemy and stuff like that.
I don't know why it would keep repeating the cooldown message though o.O
@NecralBreednar
It's already on my list of things to add :)
@barclay1
Are you getting any errors? Which Items are you trying it out with?
@Waylonjenkins
If you mean that traps reset after reloading the plugin/a server restart, this is currently intended. Changing that would require saving all locations of the traps when the server is reloaded or restarted, which was not a main priority for me currently. I'll add it to my todo list though :)
-
View User Profile
-
Send Message
Posted Feb 1, 2015I saw on other servers, that the enchant cool down is infinite but once you take the boots of, Gears goes off too, How can i do that ?
-
View User Profile
-
Send Message
Posted Feb 1, 2015Id like to be able to disable sounds. The Block enchantment makes a high pitch ping when you block, as well as striking. I think that might be a bug tho. but the option to disable sounds on enchants would be nice too.
-
View User Profile
-
Send Message
Posted Jan 31, 2015Would you mind creating a config option for the Firework enchantment to disable explosions when you shoot it at mobs and players?
It would be nice for server owners who just want to have bows that shoot fireworks, and don't blow up anything; for whatever reason, it seems that the explosion feature of the Firework enchantment overrides any sort of explosion protection plugin.
-
View User Profile
-
Send Message
Posted Jan 29, 2015I have this plugin on a server I am currently working on, I use it for KitPvP. I was wondering how do I use the enchant "Death Scythe" When I try to use it tells me the same thing again "Death Scythe is not ready.." How do I use it? I have tried with redstone and other stuff, But still have not seen how to use it. Just out of curiosity, What is it supposed to do? My thought was a mechanic from another server called "Redwarfare" They had a kit named DeathGod when Left clicked on by a Hoe "Scythe" it would drain their food till they had no food, wich caused them to die instantly (Once they had no food they would die rather than taking damage from starving)
-
View User Profile
-
Send Message
Posted Jan 28, 2015Have you considered: Making enchantments possible to get on books, but much more random chance since it includes all enchantments including item enchants? -OR- Just making it so by enchanting books you receive the item enchants (to allow players to get those enchantments)
I would love it if this was added.
-
View User Profile
-
Send Message
Posted Jan 28, 2015Im using 2.1g and the default cooldowns with the default config and all cooldowns dont work =l
-
View User Profile
-
Send Message
Posted Jan 27, 2015Is the traps resetting an issue with my config?
-
View User Profile
-
Send Message
Posted Jan 26, 2015@Drehverschluss
Fixed that bug with Medikit not being taken away, I probably won't include the config option in the next update though :/
Nice name and icon btw :P
@barclay1
Are you using version 2.1g? What items are you testing the cooldowns with? What did you set as cooldown in your config for those items?
The plugin is version independent, so that won't cause any issues :)
@KRoNeCPLaGuE
Can you send me the full error via PM?
@Eradragoss
Set the config option "Global.Enchantments.CEnchantmentTable" to true and people will be able to get the enchantments via enchantment table aswell :)
@yuukikaihou
Will add that to my list :)
@PatrickThagaard
Fixed the WorldGuard problems, it seems like none of the checks were working correctly :/
That was the intention, I have expanded it to allow other natural blocks as activation triggers aswell :)
Fixed Firework :D
Potionlauncher option: Will be added :D
The Fortune/Silk Touch enchantments are really low priority due to it being hard to implement, as Bukkit/Spigot does not acknowledge the item's enchantments when breaking the other blocks <.<
Shockwave may have been problematic with WorldGuard
Block does not need a duration as players are supposed to hold rightclick to keep the effect, it will be added for Deep wounds though :D
Can you describe what exactly players are doing to achieve this? I can't seem to reproduce the problem myself :/
The Ice blocks are supposed to be indestructable, but they should be removed after a few seconds automatically. The only time when they would not be removed is during a server restart as of now, but then they would be destructable again <.<
-
View User Profile
-
Send Message
Posted Jan 26, 2015How can i make that a Custom Itm would be disapear after using it? Like the Medikit. A option to take the item after usage would be cool.
-
View User Profile
-
Send Message
Posted Jan 25, 2015Cooldowns on items seems to not be working =l or it is because im on mc 1.7.10