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 Aug 17, 2013@Taiterio
So when should it be able to download?? :o
-
View User Profile
-
Send Message
Posted Aug 17, 2013Didnt generate folder
-
View User Profile
-
Send Message
Posted Aug 17, 2013@VerdigoJr
Alright, the fix has been pushed out, got the permissions to work again :)
-
View User Profile
-
Send Message
Posted Aug 17, 2013@Taiterio
Okay :)
-
View User Profile
-
Send Message
Posted Aug 17, 2013@VerdigoJr
Thanks for the error report, now I know where to fix the problem, will try to fix asap
Yeah, it has an error while loading and then stops before making a config file
-
View User Profile
-
Send Message
Posted Aug 17, 2013@Taiterio
I have the same thing happening. Im guessing we are both using 1.0.8a. 1.0.8 works fine but the enchantments don't show up in that version. But 1.0.8a doesn't load the plugin folder.
-
View User Profile
-
Send Message
Posted Aug 17, 2013I get a error when I reload the server, it doesn't create a folder for the plugin and says the plugin.yml is invalid 2013-08-17 15:55:45 [SEVERE] Could not load 'plugins\Custom_Enchantments.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:257) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.reload(CraftServer.java:603) at org.bukkit.Bukkit.reload(Bukkit.java:275) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:262) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: while parsing a block mapping in "<reader>", line 6, column 3: customenchantment.*: ^ expected <block end>, but found BlockMappingStart in "<reader>", line 8, column 5: customenchantment.canEnchant: ^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:188) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:252) ... 13 more
-
View User Profile
-
Send Message
Posted Aug 17, 2013@PyrousThePyro
Wait... what? Which version are you using?
-
View User Profile
-
Send Message
Posted Aug 17, 2013When I installed it and reloaded my server there was no folder for the plugin.
-
View User Profile
-
Send Message
Posted Aug 17, 2013@Taiterio
Thanks, you're awesome! :D
-
View User Profile
-
Send Message
Posted Aug 17, 2013@MrLief
No, as they are no normal enchantments
@ryanthemagi
Any errors? It loads up fine for me and has most likely been tested by Bukkit Staff too o.O
You could try deleting/moving the config of the plugin
-
View User Profile
-
Send Message
Posted Aug 17, 2013I installed the new .jar and now the plugin won't load at all.
-
View User Profile
-
Send Message
Posted Aug 17, 2013Do the itme have an id i can spawn them in with?
-
View User Profile
-
Send Message
Posted Aug 17, 2013@PyrousThePyro
Yes, if you have that enabled in the config under "enchantmentTable"
-
View User Profile
-
Send Message
Posted Aug 17, 2013Could I get the enchants without using /ench (using a enchantment table?)
-
View User Profile
-
Send Message
Posted Aug 17, 2013@GusdePutra
Yes, all items and enchantments have colors, wherein you can set the color of the enchantments. So the standard essentials color code for the enchantments would be "&O&4".
The Items of this plugin have mostly unique colors, you can however look them up on this post -> http://www.minecraftforum.net/topic/1485009-bukkit-colour-codes/
@DOGCKyle
Exactly, the enchantment/item names would still show, but would be useless until the plugin is activated again.
The part of the custom enchantment names would be easy to implement with my new system, but the part of simulating the vanilla enchantments would be too hard to do as there is no way of simulating them unless you know the exact effects that those enchantments have.
-
View User Profile
-
Send Message
Posted Aug 17, 2013What happens to the custom enchantments when the plugin is removed? I would assume the names will still show on items but would have no effect. Is this correct?
I also have a suggestion, these custom enchantments should be able to have custom names too (per-item though, not per-server). Would be nice to rename these enchantments to fit an item's theme (or even rename vanilla enchantments by "simulating" their effect under a custom enchantment name)
-
View User Profile
-
Send Message
Posted Aug 17, 2013is it have colours? and if yes, is it use main essential colour like &1, and the other or use %? if no, what can we use?
-
View User Profile
-
Send Message
Posted Aug 16, 2013@Q1ckkk
That is really weird o.O
I'll try to figure that out.
And yes I changed the config with 1.0.8, it has really changed alot
-
View User Profile
-
Send Message
Posted Aug 16, 2013you mean the flint and steel? its still work in non-pvp area with non-op did you edit config ? or something because i'm use original plugins , no edit