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 18, 2014@Taiterio
No i did not set it to true. Is that what is wrong? It looks like if I do set it, it will not allow the player to 'use' the lore.
-
View User Profile
-
Send Message
Posted Jan 18, 2014This is such an amazing plugin! Thank you
Question: If I want to deny the players on my server the ability to spawn these enchantments on their own what do I need to do?
-
View User Profile
-
Send Message
Posted Jan 18, 2014@ReeferX7
The custom enchantments work only by syntax, so changing it will result in the item not working anymore
@GUNNGaming
The correct usage for the command is: /enchgive <player> <material> <enchantment>
@chopstick121
You cannot set restrictions as to which item is required for an enchantment
@Wwenova123456
Do you have the config option "enchantments.requirePermissions" set to true?
-
View User Profile
-
Send Message
Posted Jan 18, 2014@Taiterio
I am really DESPERATE to know how to add it to essentials. I tried what you said by adding the name in the lore which did not work. I also set it as an enchantment another time but still no work Please help and i love this plugin! Keep up the good work!
-
View User Profile
-
Send Message
Posted Jan 18, 2014@Taiterio
How do i make it only lifesteal can only be work for diamondsword
-
View User Profile
-
Send Message
Posted Jan 18, 2014Hi, I was wondering how to give myself the items? I tried /enchgive %name% %item% Thanks!
-
View User Profile
-
Send Message
Posted Jan 18, 2014hey, awsome plugin, but i have one problem i try to rename some enchant items like Necromancer's Staff of Destruction and enchant dont work why?
-
View User Profile
-
Send Message
Posted Jan 18, 2014@chopstick121
If your kits plugin supports colored names and or lores, you can just set the lore/name of an item to be an enchant, if you need more help on that pm me.
-
View User Profile
-
Send Message
Posted Jan 18, 2014How do I make it so the effects work in a non-pvp area, I kinda need this for my mob arena:/
-
View User Profile
-
Send Message
Posted Jan 17, 2014if i were to use it as a kit how i do that
-
View User Profile
-
Send Message
Posted Jan 17, 2014@janjanjan11111
Just wait until it is officially released then, it probably won't take that long either way :P
Also, I think I'm checking out Jenkins, it looks pretty neat
-
View User Profile
-
Send Message
Posted Jan 17, 2014I can't download it jet (404 Not found).
Try using Jenkins and having dev builds.
-
View User Profile
-
Send Message
Posted Jan 17, 2014Custom Enchantments 1.1b has been released:
Titled the "Finally it's Weekend let's fix some bugs" Update
Custom Enchantments v1.1b
If you can't see it as a download on the right, wait until it has been approved by Bukkit Staff!
(Seriously though, search for "Finally it's Weekend" on Google xD )
-
View User Profile
-
Send Message
Posted Jan 17, 2014@ThePowerOfMinecraft @Weave2 @LightTrain @janjanjan11111
It seems like I fixed it, it was a pretty weird error with me suddenly having to change something that has worked since the beginning o.O
Posting the Download soon so you can finally use it again
@cheese0wnz
Hmm, could you pm me a paste of your config?
Do you have any errors? When did the "Null" thing occur (i.e when enchanting and stuff)?
@LightTrain
It doesn't have anything to do with the Config missing, plus I think I fixed the problem of people having to use the console command "reload" to generate a config (It is working for me, please test the new Version 1.1b), as it should have automatically generated it when first using the plugin.
@WithGuns
Please note that the assassins blade has a special way of turning you invisible, you yourself won't see the effects, but others will.
@ryanthemagi
Yes, I forgot to change that in one of the Versions, the Swimsuit was originally supposed to be a whole set of armor, but the idea changed over time and having all parts work independendly seemed like a better option
@CI010
My plugin does not add new IDs :)
@StryykerHD
Do the people you are trying to remove the permission from have OP?
-
View User Profile
-
Send Message
Posted Jan 17, 2014Assassins blade doesnt turn you invisible
-
View User Profile
-
Send Message
Posted Jan 17, 2014I have build 1211 of spigot and version 1.1a of custom enchants. Everything works.
I'm going to update spigot to 1245 and ill edit my post if the enchants do or do not work.
-
View User Profile
-
Send Message
Posted Jan 16, 2014Hey there, I've been using this plugin for months but just recently after I uninstalled and reinstalled it all the enchantments have the word "Null" in front of them. I'm not sure what this effects but it has stopped any of them working, please get back to me, thanks.
-
View User Profile
-
Send Message
Posted Jan 16, 2014Does this initialization error we're having have to do with a lack of a config.yml?
java.lang.IllegalStateException: Initial initialization
I know it says in the documentation above "To generate a config file, reload the Server while the plugin is loaded." How do I do this? I run my server with a start_server.command that is in the main folder, and when I want to stop the server I just type "stop" in the terminal window it is running in. I am assuming the plugin is loaded because it seems to be working (have not tested everything yet), so how do I "reload the server" without just typing stop, closing the window, and then double-clicking the start_server.command again?
It hasn't created a config.yml, so I would assume the "reload" needs to happen to generate one, right?
I am new to running a server, but I have been Googling this problem a ton and I am finding other people with this problem but none of them have gotten an answer. I am pretty sure I ran an earlier version of Custom Enchantments and had no issue with a missing folder with the config.yml in it (did that come in the download, or did the initialization process just work right to generate one the way it was supposed to?).
Can you provide a downloadable folder with the config.yml in it to easily solve this issue?
-
View User Profile
-
Send Message
Posted Jan 16, 2014Same error as janjanjan and ThePowerofMinecraft with "Plugin already initialized!" I just added Spigot and did not get this error before I had Spigot. The only other thing I changed was in the startup.command for amount of memory. Is there a way to easily correct this issue from the startup.command, or does it have to be addressed through Spigot, Craftbukkit, or Custom Enchantments? If we can just paste a bit of code somewhere, please post it here. I've got gobs of kids squealing for their custom enchantments!
-
View User Profile
-
Send Message
Posted Jan 16, 2014I think, that this error is a result of the bukkit and spigot systems being changed, because this error didn't happen when I tried the plugin on an older version.