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 2, 2014Most of the enchantments don't seem to work at all. So far Beastmaster Bow, Lightning Bow, Blind, Poison, Ice Aspect, and Gooey arent working at all. I haven't even finished testing them, but the effects aren't occuring at all. Healing Shovels cant seem to be enchanted as major, and dont heal players. Hookshot bow doesnt work either.
-
View User Profile
-
Send Message
Posted Jan 2, 2014And also rocket boots don't work and thank you
-
View User Profile
-
Send Message
Posted Jan 2, 2014Hey! Thanks so much that was quick! Also I saw that ppl have trouble with players using enchants in spawn. What i did to fix was use zpermissions and give you players the permission customenchantments.* and then negate it in the region. Also you will need to change the requie permission in the config.
-
View User Profile
-
Send Message
Posted Jan 1, 2014Custom Enchantments 1.1 has been released:
Custom Enchantments v1.1
If you can't see it as a download on the right, wait until it has been approved by Bukkit Staff!
HAPPY NEW YEAR EVERYBODY!
-
View User Profile
-
Send Message
Posted Jan 1, 2014@Weave2
Found the bug and fixed it :D
You can have as many enchants on an armor as you want :P
@ThSaWNinja
You can turn the ability of obtaining items via the Enchantment Table off in the config, under enchantmentTable, just set it do disabled instead of enabled.
-
View User Profile
-
Send Message
Posted Jan 1, 2014Can you make it that you can trun the enchantments off in enchantment tabbles this world help becouse I have custom wepons on my server it would not be the same if people can just enchant to get it thank you
-
View User Profile
-
Send Message
Posted Dec 31, 2013http://paste.md-5.net/xotumayige.vbs
Idk it seems to be armor. either poisined or frozen?
is it ok to put multiple enchants on the weapon / armor or is it best to only have 1 enchant on them.
-
View User Profile
-
Send Message
Posted Dec 29, 2013@krinon1
As for the first part, I don't think that would be possible as it would require modifying the minecraft client.
For the other things I'm gonna fix those bugs ofc :)
-
View User Profile
-
Send Message
Posted Dec 28, 2013Not sure if this is within the bounds of bukkit, but I think it would be cool if you could find the items under the "Items" category in dungeon chests. Also, it looks like the poison effect and healing armour are broken. Could just be me though. It'd be cool is autorepair could work on tools as well.
-
View User Profile
-
Send Message
Posted Dec 28, 2013@krinon1
Some of my enchantments do not work on mobs, most of the times due to restrictions, but if you want any enchantments to work against mobs, I think I can do that
For the custom anvil, it sounds like a great idea!
@Octyenoch
The error is actually pointing at the part of a player healing himself with the bandage and the error that I am setting the player's health above 20 does not make any sense, as it is impossible o.O
@laserlag
I am still trying to figure out why WorldGuard does not work with my plugin sometimes, I noticed that it's pretty random if it works on a server or not o.O
@TacoGerbil
I am sorry for that, there was a mistake with checking the length of the command, try making a name that consists of two or more words, then it should work
@ryanthemagi
It's included in the next update
@Theman675
As I said before, I cannot get Worldguard to consistently work with my plugin, you are getting an error because the bukkit plugin manager finds worldguard on your server, but immediately after that, the plugin manager gives an error because it cant find worldguard, resulting in an error.
Pretty oxymoronic, right? :D
-
View User Profile
-
Send Message
Posted Dec 24, 2013Hey, a couple of suggestions:
-
View User Profile
-
Send Message
Posted Dec 23, 2013@Weave2
http://dev.bukkit.org/bukkit-plugins/shopkeepers/
-
View User Profile
-
Send Message
Posted Dec 21, 2013trying out plugin, bandage worked fine on myself, but when I tried to apply to someone else it crashed server and generated the following in the logs:
[22:20:49] [Server thread/WARN]: [Custom Enchantments] Task #247247 for Custom Enchantments v1.0.9c generated an exception java.lang.IllegalArgumentException: Health must be between 0 and 20.0 at org.bukkit.craftbukkit.v1_7_R1.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:75) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks] at com.github.taiter.PlayerListener$22.run(PlayerListener.java:4044) [?:?] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-1-gbafd450-b2975jnks]
-
View User Profile
-
Send Message
Posted Dec 20, 2013Could you add compatibility with WorldGuard? It would be hugely helpful to be able to disable effects from enchants in certain areas. Damage is blocked like normal but for example, a player can blind others in spawn with the Blind enchant.
-
View User Profile
-
Send Message
Posted Dec 19, 2013(using Ver 1.0.9c) Every time I try to setname it tells me the format is /setname <color> <name> ...... Tried using some of the colors in your Configs.. The newest one has a DARK-RED used under "lore"... Nothing seems to work... Is there some document somewhere that lists the color codes you are expecting when using the setname command? (I deleted the config twice and let it regenerate it..) I can't find on single reference to the change other than folks commenting about it.. but no example of what we're supposed to be typing.... some kind of guideline... ANYONE have any info on this?
-
View User Profile
-
Send Message
Posted Dec 18, 2013Is there a command to reload the config from in game? If not, you should totally add it!
-
View User Profile
-
Send Message
Posted Dec 16, 2013@Taiterio
at net.minecraft.server.v1_6_R3.EntityMonster.damageEntity(EntityMonster ) at net.minecraft.server.v1_6_R3.EntityZombie.damageEntity(EntityZombie.j
at net.minecraft.server.v1_6_R3.EntityHuman.attack(EntityHuman.java:884)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java
at net.minecraft.server.v1_6_R3.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:3
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:5
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:2
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:4
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:5
y: java.lang.NoClassDefFoundError: com/sk89q/worldguard/bukkit/WorldGuar
at com.github.taiter.PlayerListener.onHit(PlayerListener.java:1506) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
That is waht its showing when I hit mobs/npcs
-
View User Profile
-
Send Message
Posted Dec 16, 2013@Weave2
GlobalMarket ;)
-
View User Profile
-
Send Message
Posted Dec 16, 2013@Theman675
Could you post the full error from the server logs? I'd just need like 2-4 lines to see what the problem is
@hunted2
Someone used a bow to shoot a fish? o.O
The weird thing about this error is that the fish counts as a player a few lines before that and then it throws an error because its not a living entity O.o
I'll try to use some magic on that
-
View User Profile
-
Send Message
Posted Dec 15, 2013@Taiterio
I am hitting burning my Run,bat is showing missing sound files ' SoundGutair ' And I have fireaspect and they burn, Still no sound.