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 Apr 5, 2014Dear god, I really hope tait will be ok, if your able to read This, get well soon and stay in there bro!! Your in my Prayers
-
View User Profile
-
Send Message
Posted Apr 5, 2014I really like this plugin but want to know how to make it so that there is a certain percent chance of the effect taking place, e.g. with the lifesteal there is a 5% chance on each hit that the lifesteal will take place.
-
View User Profile
-
Send Message
Posted Mar 30, 2014Firstly, get well soon Taiterio!
There is an issue regarding the auto-repair enchantment, it says repairing on the item after activating it, but it does not actually repair the item in most cases how it used to.
-
View User Profile
-
Send Message
Posted Mar 28, 2014Oooooh D:
I hope Taiterio is OK and will survive (cause what he has looks pretty tough and life-threatening)
-
View User Profile
-
Send Message
Posted Mar 27, 2014how do u spawn in one of the custom items im struggling with that and can you add crafting recipes for the custom items if you can
-
View User Profile
-
Send Message
Posted Mar 26, 2014Taiterio is still in the hospital and will be in the hospital for the next few days. He has a rupture in his lungs that's causing air to escape into his chest cavity. An operation might be required to save his life. Keep him in prayers guys.
-
View User Profile
-
Send Message
Posted Mar 25, 2014Oh, christ. That puts everything in a different picture. And now i feel bad for asking for a speedier update. :< Sorry.
'Everything that goes up will go down, and everything that went down goes eventually up.' I hope he recovers well. :)
Real life > computer games anyday
-
View User Profile
-
Send Message
Posted Mar 25, 2014@EpicATrain
Wow sorry to hear that. Hope he gets better :O!
-
View User Profile
-
Send Message
Posted Mar 24, 2014The author, Taiterio, is currently in the hospital. Please have patience guys. Thanks.
-
View User Profile
-
Send Message
Posted Mar 23, 2014@kittsfu
Yeah! Skulls and enchants :O
-
View User Profile
-
Send Message
Posted Mar 23, 2014Hey, Very nice plugin! I like it very much. Can you maybe add a snowball grenade? So when you trow it at someone it will explode! Btw there is a bug with the bow, when you ench it with blind it doesnt work. Or is this already fixed?
-
View User Profile
-
Send Message
Posted Mar 18, 2014I'm sorry if i sound impatient.
But will there come an update soon that works with player skulls?
This plugin is one of a kind. But so is player skulls. Please fix?
/ Thank you, kitts
-
View User Profile
-
Send Message
Posted Mar 13, 2014How to use the enchgive command? I Typed: /enchgive DavidStyler10 diamondboots springs and it says: Player not fount but i typed my correct name...
-
View User Profile
-
Send Message
Posted Mar 11, 2014Custom enchants in kits arent working for me..
-
View User Profile
-
Send Message
Posted Mar 11, 2014Problem here... when i turn off enchant and reboot the enchant doesnt work
-
View User Profile
-
Send Message
Posted Mar 10, 2014@skrublord Yes.
I'm getting exactly the same error message.
Reason is: When a player puts a "player head"(with the skin of a player) somewhere/anywhere, this error pops up in console. I've tested with multiple 'head' plugins. (Heads v1.3, TrophyHeads and more..)
You can see that in your error you have a mention of 'skulls' and 'placement'.
Please put out a fix, dear plugin dev? :)
Non-crashing 'playerhead skulls' are something that every player wants. Especially on a PvP server.
-
View User Profile
-
Send Message
Posted Mar 9, 2014Does anyone know why I'm getting this error with 1.1e?
[19:48:42] [Server thread/ERROR]: Could not pass event BlockPlaceEvent to Custom_Enchantments v1.1e org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [spigot.jar:git-Spigot-1319] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-1319] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:47) [spigot.jar:git-Spigot-1319] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-1319] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:472) [spigot.jar:git-Spigot-1319] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:118) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.ItemBlock.processBlockPlace(ItemBlock.java:88) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.ItemSkull.interactWith(ItemSkull.java:48) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.ItemStack.placeItem(ItemStack.java:78) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.PlayerInteractManager.interact(PlayerInteractManager.java:391) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:629) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.a(SourceFile:60) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.handle(SourceFile:9) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:700) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [spigot.jar:git-Spigot-1319] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1319] Caused by: java.lang.NullPointerException at com.github.taiter.PlayerListener.onBlockPlaced(PlayerListener.java:4026) [?:?] at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_40] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_40] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [spigot.jar:git-Spigot-1319] ... 19 more
-
View User Profile
-
Send Message
Posted Mar 9, 2014i accidentally renamed my pyroaxe to a different color, is there a way to put it back without admin commands? reply if its not possible or if it is please and thank you
-
View User Profile
-
Send Message
Posted Mar 8, 2014is there a permission to buy enchants. I sign in today and for some reason no one can buy enchants anymore.
-
View User Profile
-
Send Message
Posted Mar 6, 2014Is it possible to make individual wands with this plugin? I tried creating a fireball wand by copy and pasting the config of necromaster staff and changing the name and some other stuff and it did not work :[