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.
@BrooklynStarr
Could you send me any of the errors you are getting?
@iisma1
The error should be resolved in the updated 2.4c :)
Not working at all. Tried deleting config file with no luck. I'm on 1.9.2. Crashes on startup, only a few enchantments seem to work and there's repeated console spam. Tried going back to older version but it looks like something is permanently broken.
Hello Taiterio,
I use the last version for paperspigot 1.7/1.8
Direct link for test: http://sh.st/st/40260a458161ce19c15c6bc46ebe3bd6/http://tcpr.ca/files/paperspigot/PaperSpigot-1.7.10-R0.1-SNAPSHOT-latest.jar
@MattiaTheCoolGuy
Please redownload 2.4c once it is available, I uploaded 2.4b instead of the new fixed 2.4c
I installed the version from this page, but I get this error:
[15:26:47 INFO]: [CE] Custom Enchantments could not be loaded, [15:26:47 INFO]: [CE] please report this error on the Bukkit page of the plugin [15:26:47 INFO]: [CE] by sending the following to Taiterio via PM: [15:26:47 WARN]: java.lang.ArrayIndexOutOfBoundsException: 4 [15:26:47 WARN]: at com.taiter.ce.Main.makeLists(Main.java:505) [15:26:47 WARN]: at com.taiter.ce.Main.onEnable(Main.java:187) [15:26:47 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
This is the CrafBukkit version: [15:31:19 INFO]: This server is running CraftBukkit version git-Bukkit-8cb1b36 (MC: 1.9.2) (Implementing API version 1.9.2-R0.1-SNAPSHOT)
Any info?
200k downloads! Thanks for your support! :)
@ZeoBeats
Any errors in console when you are trying it? Which version are you using?
@FatherWh0
There is no repairing in the runecrafting menu, is the inventory called "Runecrafting" or not? If it is, any errors in console?
@itzshaun343
sure, adding the option into the next update :)
@iisma1
This is a problem with incompatible server software, will look into it :)
What type of server and which version are you using? (Paper/Spigot/etc)
EDIT: Reuploaded a fixed version of 2.4c
@ServerDev
The latest update includes costs per levels, just alter the values for each level by changing the nth entry in the cost array (n = enchanment level)
@CoyoteKisses
ce.item.[item] for items, ce.ench.[enchantment] for enchantments
@slimpyman
No, there is not as of now
@DeltaHellfire
Sure :)
@calebrpg123
There is /ce runecrafting, what happens when you try to use it?
@firehawk5151
That would require changing the enchantment system, which is not currently planned.
@enviousgames
ce.runecrafting is the permission. ce.cmd.runecrafting is required for /ce runecrafting
@Danny76429
Will be fixed in the next update, this is a current incompatibility with 1.9
EDIT: Reuploaded a fixed version of 2.4c that adresses this
@Timothy_The_King
./ce ench, enchantment books, enchantment table, /ce menu.
Runecrafting has the permission ce.runecrafting
@EnderSandman
The cost per level is now: cost of level n = nth entry in the config option.
@HitanshD
Disable them in the config.
@Darkman_Bree
I already looked into it for a bit, but CEs enchantments are lore based, not actual enchantments. In order for the anvil to work correctly, I'd have to register each into bukkit. Seeing that this caused extreme issues in certain scenarios, I instead decided to use the custom inventory for more control over what is happening.
That enchantment sounds nice :D
I tried adding Explosive ( the one for tools rite? ) with the runecrafting menu and it doesn't apply, nothing shows up in the 3rd Box. It happens to other enchants
I can open a runecrafting anvil by holding the ce item and righ-clicking the table but once open i can't combine, repair, or add enchants. Is there something I'm missing?
can you make a command where we can give all enchants?
if you could then this would be the best enchant plugin i've seen!
Hello,
The "Flamethrower" don't works. I expect an update soon. Error: http://prntscr.com/ao4aex
Regards.
@ghost_rider123
it dosent work. it still sayed "you dont have premission"
I Use this plugin on my server come join sorry im promoting on plugins the websites never really got me noticed come join at mythrillmc.mcph.co
Hello! this plugin is amazing and i really enjoy it! However I've been having some difficulty when it comes to making the price of the enchantment increase, as the level increases, I've looked around the pages and couldn't find any help. So i was wondering if you could offer me and help or steps of how to do this? Thanks, ServerDev
Hi! Great plugin!
I was just wondering. What is the permission node needed for Non-Op/Default players use these items?
Thank you!
is there a way to consume an item or items when you use a custom item?
Absolutely love your plugin! I was really hoping you could add an enchantment that prevent's durability damage from decreasing from what it currently is?
But there is no command for runecrafting? It says there is but it doesn't work and if you give them /ce menu it allows them to cheat in books?
Wondering if its possible to add support for enchantment on Books/combining inside anvils?
@enviousgames
ITs ce.runecrafting
-=-=- JOIN MY SERVER -=-=- Need of players! -Sorry if im promoting this way but I need players XD!
-=- IP: optimispvp.myserver.gs -=-
@Taiterio
Hey, I tried using Runecrafting but.. It says I don't have permission and there's no permission node for Runecrafting... Help?