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 Nov 16, 2014Im unsure why "Cost" in the config isnt hooking to Vault.
No errors, no return - just showing cost: 0, even with the config being set to a higher value.
Running Spigot version 1.7.10-R0.1
EDIT:
Setting the value as numeric (without '') fixes the issues of displaying the price, however - the vault is still lacking, and the cost isnt taken about of the players /balance
-
View User Profile
-
Send Message
Posted Nov 11, 2014I might be wrong, but as far as I know you can't really use the /ce commands to enchant while on the console since you need an item in your hand, and the console is not a player. If you want to do it from console or a command block I recommend checking out my post below. (can be found at this link)
(lol yay! Achievement Get: Comment #1000)
-
View User Profile
-
Send Message
Posted Nov 7, 2014IT WORKS YESSSSSSSSSSSSSSSSSSSSSSSSSSSS😀😁😀😁😀
-
View User Profile
-
Send Message
Posted Nov 6, 2014IS the cost lore removable at all?
-
View User Profile
-
Send Message
Posted Nov 6, 2014@AgawamIdol
Hello, i was wondering why i could not add custom enchantments myself... apparently it will not let me add them. I have been in and out of my console, and have added the one i wanted EXACTLY the way it is supposed to be and did /ce reload and it still has not worked. Any solutions?
-
View User Profile
-
Send Message
Posted Nov 6, 2014@Taiterio
Thank You. Also.. I wonder if the problems a occurring on my end because I am using the latest spigot hacked protocol. Plus I am using a plugin that adds 1.8 items into the game?
-
View User Profile
-
Send Message
Posted Nov 5, 2014Thank you very much!
-
View User Profile
-
Send Message
Posted Nov 4, 2014@Taiterio
Ok thanks how soon is the next update?
-
View User Profile
-
Send Message
Posted Nov 4, 2014Guys i need help. I cant find the servers plugin folder. Is it because i dont have a server or is it because the account i'm using is given from a gift code? If it's because i dont have a server, how do i make one. Help me pls!!!!!!!!
-
View User Profile
-
Send Message
Posted Nov 3, 2014@swampshark19
Sent you a pm :D
@VillageRealms
The anvil functionality is something I want to add soon :)
It is weird that I excluded some enchantments from the update in general, they will be readded eventually :D
The enchantment effects not occuring everytime is something very nice to have indeed, I'll definitely add that! :)
Thanks for the suggestions!
@AgawamIdol
1. How exactly is it interferring with the plugin? 2.I have changed the system of all duration-based effects to be shorter and stop when moving, as it is much less ressource intensive. I'll add an option for that though. 3. Haven't seen that occuring on my side yet, I'll look into it. 4. I'll add an option to toggle that 5. Same as point 3
@XxGAM3RxFREAKxX
I'll add something that prevents those duplicate messages :)
@hazerogue17
You can for example use /ce change name set Item, this would set an Item's name to "Item", to add a line in the lore you would do /ce change lore add Fantastic Line, which would add a new line saying "Fantastic Line" to an item.
You can check /ce menu for an overview of all items and enchantments
@thu2468
Yeah, I'll add that as an option :)
-
View User Profile
-
Send Message
Posted Nov 2, 2014I can only tell you how I've been doing it and having luck...
If you want to skip the plugin commands and have an item still be enchanted with those effects there are two methods, the general way and the Essentials way:
/give <player> <item> <amount> lore:<color and format code><enchant_name>[_power level]
example: /give Formula350 diamond_sword 1 lore:&4&oThunderingblow_III
example: /give Formula350 iron_sword 1 lore:&4&oCrippling_Strike
/i <item> <amount> lore:<color and format code><enchant_name>[_power level]
example: /i diamond_sword 1 lore:&4&oThunderingblow_III
example: /i iron_sword 1 lore:&4&oCrippling_Strike
NOTE - Both methods require that spaces be replaced with underscores or else they will be consider the start of a new meta tag. For instance if you do not underscore between the powers Roman Number it'll think it's an enchant instead.
In either of the above, if you want multiple enchants applied you'll need to insert the "Line Break" after each one (or after each power level), which is done by inserting the character called "Broken Bar" and is just done by pressing SHIFT+ \ (Shift+Backslash) but in this font looks like an extra tall captialized i; observe-> |
examples:
That will result in lore that looks like:
Iron Sword
Crippling Strike
Thunderingblow III
Using CE's command is a bit easier, but won't let you give items with enchants through a command block or a kit. You can view the names via:
/ce list <E or I>
(E for Enchants, or I for Items)
To apply them to an item:
/ce enchant <enchant name> [power level]
example: /ce enchant Thunderblow 3
example: /ce enchant Crippling Strike
NOTE - Unlike the internal /give and /i commands, the underscore is not needed AND the power levels are standard numbers (not Roman Numerals)
-
View User Profile
-
Send Message
Posted Nov 1, 2014Source?
-
View User Profile
-
Send Message
Posted Nov 1, 2014Huge thanks for all the updates and bugfixes, especially the new enchantments!
Heres one thing i've always wanted: Ability to make a custom enchantment enchanted book to be combined through an anvil. I'd like it to be possible to customize the 'enchanted book' item, and the amount of XP it would cost to add it to another weapon through an anvil. Example: Enchanted_Book_Item: NETHER_STAR XP_COST (in levels): 50
I know you're very busy, but if you could consider this request it would be great because i've always wanted to give players a way to have a way to bind these to whatever item they wanted through an anvil with an XP cost.
Also, will ObsidianShield ever be back? It was an amazing enchantment! Also, i've gotten complaints that DeathBringer completely ruins PVP since its a 100% chance, so a configuration option to make the probability in a percentage or ratio like 1:3 hits would be nice. Same goes for lifesteal, that'd be great too.
Few more suggestions for enchantments: Multishot (bow): Fires double the arrows per shot Flutter (boots): Makes you invincible to fall damage
Thanks!
-
View User Profile
-
Send Message
Posted Nov 1, 2014Okay, I did some testing and found a few things.
1. This plugin now interferes with MoreEnchantsPlus. 2. The duration for everything needs to be perm again. Not only when you are running. 3. If you have more than one item on that is enchanted, only one seems to work at a time. 4. Auto Repair should be undamageable, instead of repair over time. It is too easy to take a pair of leather boots and break them before they have a chance to repair themselves. 5. Having issues with multiple enchants on the same item. When having Gears, Springs, and AutoRepair together, Only Gears and AutoRepair are working.
-
View User Profile
-
Send Message
Posted Oct 31, 2014Hey! Love the plugin! I was wondering if you could add a way to customize the GUI? I tried making my own with Chest Commands GUI but it did not work because I can only give people items threw a op in the command placement. When I do that it tells the player that he gave him self the item and then the item was given to him (Duplicated msg). Witch does not look that great. If that's to much work, is there a way to disable the msg that a player gets when the /ce give command is given to a player?
-
View User Profile
-
Send Message
Posted Oct 31, 2014@Taiterio I still dont know how to use the commmand to change the lore/name. please help me and give me an example of how to use it. one more question: are there still hermes boots and stuff like that?
-
View User Profile
-
Send Message
Posted Oct 31, 2014also when you are standing still and not moving gear and glowing does not activate until you move. Can you make it constant so it always activate when you have it on
-
View User Profile
-
Send Message
Posted Oct 31, 2014@Taiterio
There are no errors in the logs whatsoever. The plugin started up fine and said that everything was loaded in. I was enchanting leather boots, Chain armor, iron sword, and a diamond pickaxe.
-
View User Profile
-
Send Message
Posted Oct 31, 2014@hazerogue17
I uploaded an update that should fix major problems that kept occuring in the code of the commands, it should also fix the problem you are having.
@AgawamIdol
It seems like all Armor-side enchantments are not working for you, do you get any errors in the console? What Materials are you trying the enchantments out with?
@thu2468
I fixed the glowing enchantment, it was the ugly effect that minecraft implemented to signal that the potion is ending :/
For the firework enchant, it seems to be working fine for me, it may be due to lag on the server, you could try fiddling arround with the config options. I havent tested teleporting yet, but as far as I know, it can break the action of shooting the bow (atleast bukkit-code-wise), which I have no control over.
Happy Halloween everybody :D
-
View User Profile
-
Send Message
Posted Oct 31, 2014Hi, I have been trying to add a lore for about an hour on my server. Can you give me a real example of how to actually use the command? I really want to get this done ASAP for my smp server that will be holding at least 20 people. I need help ASAP, thanks!