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 Oct 21, 2013PasteBin This is the error I got for doing /enchgive
The command: /enchgive returnoftheghost bow minigun
Regardless any item or enchant does not work.
-
View User Profile
-
Send Message
Posted Oct 21, 2013@EpicATrain
Already noticed thanks to iNasser, it is fixed :)
Will upload the update real quick, if you want it directly, pm me :)
-
View User Profile
-
Send Message
Posted Oct 20, 2013@thief001
May I suggest Magic Signs? Use that in connection with this plugin to set the prices for each enchantment.
-
View User Profile
-
Send Message
Posted Oct 20, 2013@Taiterio
Hey, I'm noticing with World Guard's PVP set to deny that this plugin pretty much bypasses all PVP prevention in tests. I would love to show you in our server if you like.
-
View User Profile
-
Send Message
Posted Oct 20, 2013@VoxaDub
Could you tell me if the console of the server is giving you an error?
Btw. could you give me the full command you are trying to issue?
@iNasser
You'd have to use /enchgive <Player to give the Item to> <Material from http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html> <enchantment>
@thief001
kk, I'll see when I can get add that :)
@PespiGam3r
Hmm, normally Poison only gets applied when a Player loses HP o.O
I'll check it out
-
View User Profile
-
Send Message
Posted Oct 19, 2013I followed the materials using the /enchgive command and it still tells me there is an internal error. Is there a way I can fix this?
-
View User Profile
-
Send Message
Posted Oct 19, 2013Whats is the command in give ? like /give <player> 279 1 ench:POISON any one can help me ?
-
View User Profile
-
Send Message
Posted Oct 19, 2013@ Taiterio: yep, sounds/looks pretty mutch like what i hoped for ;)
no need for fancy levels, but configurable costs would be gladly taken :)
-
View User Profile
-
Send Message
Posted Oct 19, 2013Hey i have a bug , if player hit a player in no pvp area ( Pvp = deny in worldguard ) he is will poisoned ! please fix it :)
-
View User Profile
-
Send Message
Posted Oct 19, 2013@VoxaDub
All Materials can be found under http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html , Spaces have to be replaced by an underscore _
If you enter everything right it should not give you the error, let me know if it still doesn't work with that
@GriefableHD
If your Kit-Plugin allows you to set the names/lores of items, you can :)
You'd just have to figure out the color codes ( &5 etc ) for the enchantments to make them work.
-
View User Profile
-
Send Message
Posted Oct 19, 2013Is there any way of putting the enchantments into kits? if so can someone please tell me!?!?! I need to know asap. thanks c:
-
View User Profile
-
Send Message
Posted Oct 18, 2013Hello I am trying to implement this into my server and make it where players can purchase these enchantments through buycraft, but when I use the /enchgive command it gives me an internal error. What is the <material> part? Please let me know how I can make this work thanks! Love the plugin btw!
-
View User Profile
-
Send Message
Posted Oct 18, 2013@pyrite123
Hmm, /help and the plugin work fine for me, are you using the newest version of the Plugin? Can't think of anything else causing that Problem o.O
@Tokesho
Same as above, weird that that happens
@xH3LLRAIZ3Rx
Will definetly do
@FostDev
Derp, forgot to check if the item the player is repairing is always the Flamethrower... xD
@Tomica44
What do you mean by that?
@Epicdestructin
Could you describe that bug some more? Is it happening if you teleport while you are repairing it?
@Boredkid232
You could set all the enchantment-probabilites to 0
@liadwolf
That sounds like a great Idea! What do you mean by the "add pants when shifting 1 heart" part though? Should it add 1 Heart more to the Player's HP when holding shift?
@thief001
I could make an Inventory that looks like the one in my shop Plugin -> http://dev.bukkit.org/bukkit-plugins/tokenstore/
With this you could choose what kind of enchantments you want to apply to which item, with a cost for each of those :)
-
View User Profile
-
Send Message
Posted Oct 14, 2013Hi, i like those additional enchants, but keeping all comands for any plugin arround is hardwork, even if one could ask the helpfiles... so i prefer a way to have it easy.. is there just an small chance you could make some kind of an advanced enchant table (enchant table with a sign?) so one is able to select enchants easier?
runing allready the entchantism plugin on my server, so something like this would be sweet.
Configurable cost per enchant (xp/cash -> vault?) would be nice in the same move too :)
hope to get something in the near future from you :D
have a nice time
-
View User Profile
-
Send Message
Posted Oct 13, 2013add armour no knockback and add pants when shifting 1 heart
-
View User Profile
-
Send Message
Posted Oct 10, 2013Is it possible to make these enchantment only appear if given by an Admin-Op with /ench? As in, is it possible to remove the chance of enchanting these custom enchantments?
-
View User Profile
-
Send Message
Posted Oct 9, 2013BUG: With the flamethrower, when teleporting to another world, if the flamethrower is damaged, its durability will not decrease, and will not need to reload.
-
View User Profile
-
Send Message
Posted Oct 6, 2013It would be cool if enchants for hats/helmets could be used on heads
-
View User Profile
-
Send Message
Posted Oct 5, 2013When the flamethrower is reloading, if a player switches to a different item, it'll repair that item, could you fix this
-
View User Profile
-
Send Message
Posted Oct 4, 2013Can you make it to where i can do /enchgive in the console?