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 14, 2013Below is in console as of today. I'm running latest dev build of Bukkit and latest version of all plugins.
Plugins (52): SimpleWands, PlugMan, TARDISHorseSpeed, Vault, Multiverse-Core, TeslaCoil, TreeAssist, AlchemicalCauldron, HeroicDeath, CraftBay, TARDISChunkGenerator, HorseCraft, WhatIsIt, Votifier, mcMMO, FoundDiamonds, Jobs, EnderCrystalSpawner, HorseKeep, SimpleVoteListener, WorldEdit, Towny, TagAPI, Smelter, Custom Enchantments, PermissionsEx, Stargate, Questioner, WorldGuard, Lottery, iConomy, BookWorm, MuddersMilk, mwStop, CityLanterns, Links, ScheduledAnnouncer2, NoFlyPvp, Essentials, MagicCarpet, TARDIS, Enjin Minecraft Plugin, MagicSpells, Register, HawkEye, CraftBook, TownyChat, EssentialsSpawn, VanishNoPacket, LWC, DeathChest, ChestShop
-
View User Profile
-
Send Message
Posted Dec 14, 2013[18:23:46] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to Custom Enchantments v1.0.9c org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:94) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:382) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:410) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:656) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.EntityHuman.damageEntity(EntityHuman.java:746) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.EntityPlayer.damageEntity(EntityPlayer.java:446) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.EntityFishingHook.h(EntityFishingHook.java:189) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1338) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1319) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1207) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:480) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:637) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R1.entity.CraftFish cannot be cast to org.bukkit.entity.LivingEntity at com.github.taiter.PlayerListener.onHit(PlayerListener.java:2289) [?:?] at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) [craftbukkit-dev.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] ... 19 more
-
View User Profile
-
Send Message
Posted Dec 14, 2013Is anyone using a plugin to sell these enchants if so which one. I need to cancel charging money if the wrong item is in the hand. Thanks
-
View User Profile
-
Send Message
Posted Dec 14, 2013@Theman675
You have to strike burning enemies to get the effects of the Pyroaxe
@ShAnEO1234567
If you disable right-click Gooey, then you can just punch mobs to get the effect
@AsukaDyna
You have to find this part of the config:
enchantments: lore: disableItalic: false color: DARK_RED requirePermissions: false
And then you just set the requirePermissions to true
-
View User Profile
-
Send Message
Posted Dec 13, 2013@Taiterio
Where could I turn enchantments.requirePermissions to false? It's not in the config.
-
View User Profile
-
Send Message
Posted Dec 12, 2013Please make this plugin to be compatible with plugins Kit
-
View User Profile
-
Send Message
Posted Dec 12, 2013Hi.i set gooey to a sword and enabled right click for gooey.I was wondering if there is any way of using goeey without having to shift right click?
-
View User Profile
-
Send Message
Posted Dec 11, 2013Hello. When I do /ench pyroaxe with a diamond axe everything works but, I set my lore to I come from the Iron Hills and I still get no PyroAxe Sound? It has no sound to it. I've edited the config still no sound. Please help me get the sound. Every thing else works just fine, just no sound to it I add Sharpness 5 Fire 2 Infinity 478 and still no sound. Please help
-
View User Profile
-
Send Message
Posted Dec 11, 2013@BOBBOBL
I'll fix the autorepair asap :D
@AsukaDyna
You can turn it off already, by setting the enchantments.requirePermissions to false
@ryanthemagi
This seems really weird, apparently the Enderpearl manages to count as a Player for a moment, but then causes an error as it is not a living entity, I'll try to fix that asap
@XBlackLeopardX
Yeah I'll probably do that and the landmine will be similar to the bombardment bow in the point of blowing up :D
@Sunil_b
I believe that it is compatible, however there will be no special interaction between the plugins (My enchantments wont work for it)
@Mr_x_socks
I'll update it as soon as most of the bugs are fixed :D
-
View User Profile
-
Send Message
Posted Dec 11, 2013@ryanthemagi
Same issue following server updates.
-
View User Profile
-
Send Message
Posted Dec 9, 2013when the update that let u config the strength of the autorepair (e.g: damaging 1 time and fixing 50 durability) will be out? i really want that for my servers, im giving away items because some armors got broken by super swords or strength potions
-
View User Profile
-
Send Message
Posted Dec 9, 2013Is it compatible with EnchantmentAPI? ->http://dev.bukkit.org/bukkit-plugins/enchantmentapi/ (this plugin)
-
View User Profile
-
Send Message
Posted Dec 8, 2013@Taiterio
it was with and without but it seems to be fine now ill let you know if anything else pops up btw great plugin loving it :D
I do have one request that would be nice the bombardment enchantment blows up a lot of stuff do you think it would be possible to add a line in the config where you can disable the tnt blowing blocks up? Also one to disable the land mines blowing up i do know that essentials can disable tnt and it stops the bombardment from blowing up blocks but it doesnt stop the landmine from blowing blocks up
-
View User Profile
-
Send Message
Posted Dec 8, 2013Receiving this error (bukkit 1.7.2 dev): http://pastebin.com/vD9WbgBE
-
View User Profile
-
Send Message
Posted Dec 7, 2013Would it be possible to add a feature in the config where you don't need permissions to use all the enchantments and items? I run a private server with 10 ish people and I want them to use these enchantments but I don't like permission plugins. I also don't trust certain people with op :P. Thanks.
-
View User Profile
-
Send Message
Posted Dec 7, 2013Join My Server Exclusive Craft Ip: 112.210.5.35 2ndIp: exclusvie-craft.zapto.org
With Costum Enchantments
-
View User Profile
-
Send Message
Posted Dec 6, 2013@Taiterio
What I was saying is that for my kits server, I add auto repair to the armor and it still breaks
-
View User Profile
-
Send Message
Posted Dec 6, 2013@deekondvg
Hmm... Normally you can't pickup entities that are riding or are being ridden atm, I'll try to figure that one out o.O
@MoejoeAw44
Are you making the changes while the server is offline? Are you using the newest version of the Plugin?
@BOBBOBL
AutoRepair is set to repair the tool when durability would be lost, atm it doesn't repair over time
@XBlackLeopardX
That seems weird o.O
When you just use the lightning enchantment, is it still lagging you out? Or is it only happening in combination with bombardment?
-
View User Profile
-
Send Message
Posted Dec 6, 2013On my server if i use the lightning and bombardment enchantments on the bow i either crash or lag out the server but the firework enchantment works fine
-
View User Profile
-
Send Message
Posted Dec 3, 2013Extremely awesome plugin, I use it for my kit server One problem tho, the enchantment Autorepair doesn't seem to work. Any help on that?