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 May 26, 2015@Legend8972
Not at the moment :D
@TheFearlessNet
Either you have the option CEnchantmentTable set to false in the config, you do not have permissions to obtain these Enchantments via "ce.ench.[enchantmentname]" or the plugin did not turn on :)
@phoenixlzx
Fixed the Minigun bug. For the enchantments sometimes not working, could it be that you have set their occurencechance to a different value than 100? The value controls how often the effects happen, which might explain what is happening there.
@hetjoshi
I have only now realized that the problem is there because you have renamed the plugin jar <.<
This is fixed in the next version as I did some tinkering to check what people renamed the plugin jar to :D
Reuploading the latest update, please redownload it once v2.3b is out again :)
-
View User Profile
-
Send Message
Posted May 26, 2015Is it possible to get the enchants on books :?
-
View User Profile
-
Send Message
Posted May 26, 2015@TheFearlessNet
i can get the enchantments out of the enchant table so it should work as there is nothing you enable in the config
-
View User Profile
-
Send Message
Posted May 26, 2015How come it would not let me get the enchants out of an enchantment table?
-
View User Profile
-
Send Message
Posted May 26, 2015lol quick fix.
However some of the enchantments does not work from time to time, the problem exists from several versions before but I cant find any way to reproduce it, and console shows no info for most of them.
The poison and wither enchants works at start, from yesterday it failed.
The item Minigun shows the following error:
[CE] An error occurred in Minigun.java on line 60: null
However some of the enchants keep working at this time... wired.
-
View User Profile
-
Send Message
Posted May 25, 2015@Taiterio
25.05 21:47:17 [Server] INFO Disabling CustomEnchantments v2.3b 25.05 21:47:17 [Server] WARN at java.lang.Thread.run(Unknown Source) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:606) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:703) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:372) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:764) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) 25.05 21:47:17 [Server] WARN at java.util.concurrent.FutureTask.run(Unknown Source) 25.05 21:47:17 [Server] WARN at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:975) 25.05 21:47:17 [Server] WARN at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1140) 25.05 21:47:17 [Server] WARN at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:646) 25.05 21:47:17 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) 25.05 21:47:17 [Server] WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 25.05 21:47:17 [Server] WARN at me.jmgr2007.Reloader.ReloaderListener.onCommand(ReloaderListener.java:92) 25.05 21:47:17 [Server] WARN at me.jmgr2007.Reloader.Utils.enable(Utils.java:502) 25.05 21:47:17 [Server] WARN at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) 25.05 21:47:17 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) 25.05 21:47:17 [Server] WARN at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) 25.05 21:47:17 [Server] WARN at com.taiter.ce.Main.onEnable(Main.java:200) 25.05 21:47:17 [Server] WARN at com.taiter.ce.Main.makeLists(Main.java:499) 25.05 21:47:17 [Server] WARN at java.util.jar.JarFile.<init>(Unknown Source) 25.05 21:47:17 [Server] WARN at java.util.jar.JarFile.<init>(Unknown Source) 25.05 21:47:17 [Server] WARN at java.util.zip.ZipFile.<init>(Unknown Source) 25.05 21:47:17 [Server] WARN at java.util.zip.ZipFile.<init>(Unknown Source) 25.05 21:47:17 [Server] WARN at java.util.zip.ZipFile.open(Native Method) 25.05 21:47:17 [Server] WARN java.io.FileNotFoundException: /plugins/CustomEnchantments.jar (No such file or directory) 25.05 21:47:17 [Server] INFO by sending the following to Taiterio via PM: 25.05 21:47:17 [Server] INFO please report this error on the Bukkit page of the plugin 25.05 21:47:17 [Server] INFO Custom Enchantments could not be loaded,
-
View User Profile
-
Send Message
Posted May 25, 2015@LICKETYsplitter
Shielded gives absorption when you are hit while wearing it :)
New update is out! Sorry for the long wait, had to focus on earning some money to pay stuff <.<
-
View User Profile
-
Send Message
Posted May 25, 2015There need to be an enchant that gives absorption also does shielded work?
-
View User Profile
-
Send Message
Posted May 25, 2015@Clanker1111
As long as credit is given, it is :)
@phoenixlzx
No problem :)
Already noticed that it ignored Custom Enchantments, which was an error on my side as I wanted to include that before releasing it; Volley should now support all Custom Enchantments, aswell as the vanilla enchantments Flame and Punch. It also ignored the state in which the original arrow would be a critical, this has been updated aswell :)
@rpgrowland
Added 1 new enchantment for the next update
@Pstrader
There is, but I'll be updating this bug anyway :)
@OMGItsPixeled
Fixed in the next update :)
@Gameplayerx100
As Darkman said, just write GRAY after CEnchantmentColor:
@LICKETYsplitter
How does it mess with the inventory? That would mean that any lore would mess with Inventories in shaders, which would in turn mean that shaders are incompatible with lores o.O
@Darkman_Bree
Will add those enchantments in later on when this bugfix update is out :)
-
View User Profile
-
Send Message
Posted May 25, 2015Is everyone able to edit and use your coding/plugin?
-
View User Profile
-
Send Message
Posted May 25, 2015Hi, thanks for the update.
i found that volley ignored the origin enchantments of the bow, what do you think to add these enchants back? or just the first arrow(that consumes) has the origin enchantments?
Thanks.
-
View User Profile
-
Send Message
Posted May 25, 2015@IAmNotPopular
yeah i know
-
View User Profile
-
Send Message
Posted May 25, 2015@rpgrowland
CosmicPvP Much?
-
View User Profile
-
Send Message
Posted May 25, 2015This is a awesome plugin i love using this plugin but i was wondering if you could take these ideas of enchantments i have into consideration.
Swords
Headless: Has a chance to decapitate the enemy. Trap: Gives a slowness effect to the person/ mob you hit. Double Strike: A chance to strike twice.
Axes
Blesses: Removes de buffs in battle. Ravenous: Regain hunger overtime. Inquisitive: Increases the amount of xp dropped by mobs. Decapitation: Chance of head being dropped on death.
Bows:
Healing: Whoever the arrow hits will be healed. Venom: When you hit a person with a arrow it will have a chance to give the poison effect.
Armour:
Tank: 3 effects Strength, Slowness, Resistance. Guardians: Chance to spawn iron golems to defend you. Nutrition: Hunger bar fills up automaticly over time. Overload: Gives a permanent health boost.
Pickaxe
Bountiful: When mining the rarest ore near you in a 3x3 area will drop for example if there was a emerald next to a block of stone when you mine the stone it will drop the emerald.
Also another cool thing you could add to this plugin is when you enchant the item will be given a random name like for example (Yellow)
->&eMythical Axe Of Destruction.-
View User Profile
-
Send Message
Posted May 24, 2015@Taiterio
Is there a quick fix for having the enchants not load in the config?
-
View User Profile
-
Send Message
Posted May 24, 2015@Gameplayerx100
Change DARK_RED;ITALIC to GRAY That will do it.
-
View User Profile
-
Send Message
Posted May 24, 2015I Keep Getting this Same Error When i start my Server http://pastebin.com/5uCgEzYp I Use 1.8
-
View User Profile
-
Send Message
Posted May 24, 2015How do I change the default color of the enchants so they look like normal enchants? I just need to know what color to type in."CEnchantmentColor: DARK_RED;ITALIC"
-
View User Profile
-
Send Message
Posted May 24, 2015I'd like to report a glitch.
When shaders are installed and you have a custom enchant on armor, it messes with the inv.
-
View User Profile
-
Send Message
Posted May 23, 2015@Gameplayerx100
http://dev.bukkit.org/bukkit-plugins/custom-enchantments/pages/permissions/
All used ecnahnt users: ce.ench.* or per enchant: ce.ench.Lifesteal ce.item.Rocket Boots ce.item.<enchant> ce.ench.<enchant>