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 Mar 30, 2015@Taiterio
[19:38:37] [Server thread/ERROR]: Error occurred while enabling CustomEnchantments v2.2 (Is it up to date?) java.lang.NullPointerException at org.maxgamer.maxbans.commands.CmdSkeleton.equals(CmdSkeleton.java:29) [?:?] at org.bukkit.event.HandlerList.unregister(HandlerList.java:163) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.event.HandlerList.unregisterAll(HandlerList.java:82) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at com.taiter.ce.Main.initializeListener(Main.java:425) [?:?] at com.taiter.ce.Main.onEnable(Main.java:206) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:494) [spigot.jar:git-Spigot-d0d1d87-15e81cf] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
Happens during start up
-
View User Profile
-
Send Message
Posted Mar 30, 2015@hetjoshi
Could you send me the errors you are getting? I don't see what MaxBans could be doing to make it incompatible with CE
-
View User Profile
-
Send Message
Posted Mar 30, 2015@Taiterio
I get errors of the plugin because I have max bans and I even asked the dev of maxbans and he said its the plugin which has problem with compatibilty not Max bans
-
View User Profile
-
Send Message
Posted Mar 30, 2015@Platiborg
This is not possible as of now and the plans for allowing server owners to create their own enchantments are far, far in the future :)
@stormtrooper28
Not as of now, may add this soon though :)
@Darkman_Bree
This may be caused by a change I made that corrected WorldGuard behavior. OPs may be able to bypass the build flag, although I'm not sure :D
@Milk_milk
Fixed that bug, sorry for the inconvenience
@blackfatrat
You can allow your players to get enchantments through the Enchantment Table by setting the config option "Global.Enchantments.CEnchantmentTable" to true
@RexzyV2
No problem :)
Btw. you can change the name of enchantments in the config
@Darkman_Bree
Thanks, glad to see you back too :D
@Milk_milk
Will add those things in :)
@killertudse
fireaspect is not an enchantment name, fire_aspect is the one you are looking for; You can find them here
@tbstewa
You can increase the Potioneffect-Repetitiondelay in the config and set it to a high number :)
-
View User Profile
-
Send Message
Posted Mar 25, 2015@Mach12
It wasn't in 2.1g
-
View User Profile
-
Send Message
Posted Mar 24, 2015Hi, im using this plugin on my hardcore server and i was wondering if it was possible to go into the config and make your own enchantments for example this one for a pickaxe:
Haste: Enabled: 'true' DisplayName: Haste EnchantmentProbability: '4' EnchantmentMaxLevel: '3' OccurrenceChance: '100' Cost: '0' HasteDuration: '60'
I tried this just when i start the server up it wont work in the enchant table or through the comands: /ce enchant Haste 3. It also wont show up in the ce menu. Now i did see the in game option in the ce menu that suposidly allows you to make one in game but is disabled/getting worked on. If that is the only way then thats fine just could i know when that would be done? Thanx Platiborg
-
View User Profile
-
Send Message
Posted Mar 23, 2015Does this plugin also interact with the book-enchanting system to allow enchanted books to carry enchants to their target in an anvil, and anvil interactions, such as this?
-
View User Profile
-
Send Message
Posted Mar 22, 2015@Darkman_Bree
Quote : * I got a new bug: OP's can explode region-protected blocks (WorldGuard) when build is deny. *
They are OP. They are meant to be able to ignore the Build flag.
-
View User Profile
-
Send Message
Posted Mar 16, 2015I got a new bug: OP's can explode region-protected blocks (WorldGuard) when build is deny. They can use the Explosive enchantment to still explode blocks inside the build denied region.
This can cause some problems.
-
View User Profile
-
Send Message
Posted Mar 15, 2015@Milk_milk
Fix it temporary by setting up mcmmo to not remove enchants. ^^
-
View User Profile
-
Send Message
Posted Mar 13, 2015There a server crashing bug with McMMO.
Enchant a diamond axe.
Damage the Diamond Axe
Repair the axe with mcmmo (Until regular enchantments are gone but the custom ones are still on.)
Re-Enchant the axe.
The plugin will then stall the server and the server will then crash.
-
View User Profile
-
Send Message
Posted Mar 12, 2015When will bug fix come out? Thank You
-
View User Profile
-
Send Message
Posted Mar 10, 2015can you get the enchantments from a enchatment table or signs/commands only?
-
View User Profile
-
Send Message
Posted Mar 10, 2015nevermind, i needed the update it works now. And i cant wait, my people on my server really want the ones i suggested. Im currently using the plugin on witherpvp.co ! Thanks for the update ! the best enchant plugin ive seen ever! Just 1 thing, i feel like the name Overload would sound better :P
-
View User Profile
-
Send Message
Posted Mar 10, 2015Oh hello there Taiterio!
I see you are firmly back on track, few months after your... well... issue.
Team Gizotopia will be happy to test your latest release, since we are back as well :)
-
View User Profile
-
Send Message
Posted Mar 9, 2015@killertudse
The only way I know to do this is to either do the /ce give with your lores and do /enchant on the items or do /i with your enchants and then do /ce enchant to add lores
-
View User Profile
-
Send Message
Posted Mar 9, 2015The ability to customize sign [Customenchant] and the /ce menu titles item names and lore would be nice. Blocking enchanting of stacked item also should be added. It would also make more sense to add Allowed materials, as most items should not be enchantable.
-
View User Profile
-
Send Message
Posted Mar 8, 2015Hello.
I am trying to use the /ce give command.
I want give myself a sword with ice aspect 2 and fireaspect 2.
What would the command be?
I tried using this - but it does not seem to work
/ce give killertudse98 276 ice aspect:2 fireaspect:2 But i only give the sword with ice aspect.
-
View User Profile
-
Send Message
Posted Mar 8, 2015How do I make the potion effects last indefinitely?
-
View User Profile
-
Send Message
Posted Mar 8, 2015@countryrose12
Why should it be incompatible with essentials?