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 14, 2015Ok so i fixed it... well kinda. Defaults CAN use the enchantments but they can not enchant for them. I tested this by making the enchantprobablitiy to 100 and still nothing. Anyone got any bright ideas?
-
View User Profile
-
Send Message
Posted Aug 14, 2015I've created a server and most of my players want to use axes to fight (I have mcmmo on the server). I was wondering if you could add the custom sword (global) enchants to axes.
-
View User Profile
-
Send Message
Posted Aug 13, 2015@wildcraftpvp
same.
-
View User Profile
-
Send Message
Posted Aug 12, 2015Weird cause it works for me..
-
View User Profile
-
Send Message
Posted Aug 12, 2015@RichHomieWyatt
Im having the same problem!
-
View User Profile
-
Send Message
Posted Aug 12, 2015People aren't able to use the enchantments unless they're opped, and I clearly have it set to not require permissions in the config file. Am I missing something? D:
-
View User Profile
-
Send Message
Posted Aug 12, 2015I understand those permissions. But if I give them to default players that would allow them to spawn in the custom enchants. I want them to have tho enchant for them and use them. And right now they cant. :/
-
View User Profile
-
Send Message
Posted Aug 12, 2015@Ogya
yea i dont really understand the permission thing as my friend sorts out that but these are the permission which are on the page maybe one might help Permission nodes
Main node: ce.* Command node: ce.cmd.* Item node: ce.item.* Enchantment node: ce.ench.* Command permissions
The 'Menu' command: ce.cmd.menu The 'Reload' command: ce.cmd.reload The 'Give' command: ce.cmd.give The 'Change' command: ce.cmd.change The 'Enchant' command: ce.cmd.enchant Item/Enchantment permissions
Permissions of items/enchantments all follow the following format: ce.<ench/item>.<original name of the item/enchantment>.
Examples:
ce.ench.Lifesteal ce.item.Rocket Boots
-
View User Profile
-
Send Message
Posted Aug 11, 2015@VoidGames
You know you can change this in the config. The percentage of getting the enchants. Right?
-
View User Profile
-
Send Message
Posted Aug 11, 2015I have a problem. So I downloaded the plugin, and only the Oped members can use them. Default members can no use the custom enchants is there a perm. i need to give them?
-
View User Profile
-
Send Message
Posted Aug 11, 2015@VoidGames
sooo I found out you have to do a lvl 30 enchant to get the -_-
-
View User Profile
-
Send Message
Posted Aug 11, 2015@rpgrowland Im still not getting any thing. Here is the top part of my configs
Global: CreateExplosions: true Updates: ShowPercentageOnUpdate: true CheckOnStartup: true CheckDelay: 300 Logging: Enabled: false MinimumMsForLog: 1000 LogEvents: true LogItems: true LogEnchantments: true Enchantments: CEnchantmentColor: DARK_RED;ITALIC CEnchantmentTable: true CEnchantingProbability: 100 MaximumCustomEnchantments: 1000 UseCustomEnchantmentProbability: false RequirePermissions: false
-
View User Profile
-
Send Message
Posted Aug 11, 2015@Darkman_Bree
@wildcraftpvp
You guys both know you'r servers got to be very popular and be played by loads of people all the time to get on the list.
-
View User Profile
-
Send Message
Posted Aug 11, 2015can you add my server to the list? FreezeRaid
Freezeraid.subdome.in:26938
-
View User Profile
-
Send Message
Posted Aug 11, 2015@MINECRAFTELITE91
Sorry Server is down if people were wondering..
Might be down for a bit.
-
View User Profile
-
Send Message
Posted Aug 11, 2015@VoidGames
look in the config and change the CEnchantmentTable: to true. if its already true then your either having really bad luck but you can change the probabillity of getting a custom enchantment also in config to see if it is your bad luck or not anyways i hope this helped :D
-
View User Profile
-
Send Message
Posted Aug 10, 2015Hello! For some reason neither I, nor my users are able to get the enchantments in the enchantment table. I dont know if Just set it up wrong or Im just very unlucky. Any help would be appreciated. -Jordan
-
View User Profile
-
Send Message
Posted Aug 9, 2015Add it so there are books where you can modify the chance of getting them and you buy a book with like /ce buybook [amt] and make it so u can modify the xp of getting the book.
-
View User Profile
-
Send Message
Posted Aug 9, 2015@wildcraftpvp
I also dont have a 24 hour hoster(AKA me) because South Africa sucks, Its a bunch more expensive for a static IP so the server needs to open the IP up(Manu) and then you can only join both my Kitpvp and Survival servers have custom enchants just renamed.
-
View User Profile
-
Send Message
Posted Aug 9, 2015@Darkman_Bree
thanks i made a fake enchant with that and it looks nice