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 Dec 27, 2014Compilation of all the bug I found in a single message. you did a great job and is a plugin that gives minecraf a new dimencion. I wait you gradually can fix the few bugs that have :)
Bug:
Thor's Axe: work in worldguard no pvp zones. You can kill people in no pvp zones with fire. EDIT: With flag invincible the problen is solve
Lightning and Thunderingblow: Work very good but both give error in console with plugin CombatTag. Error:
[11:10:40 ERROR]: Could not pass event EntityDamageByEntityEvent to CombatTag v6.1.4
Livefire Boots: work in worldguard no pvp zones too. Again people killing in the Spawn with fire :p. EDIT: With flag invincible the problen is solve
Gooey: the base strength is way too high even 0
Steallife: have the Gooey bug. 1 hit and you reconvery all your life
Beastmaster's Bow: anytime give lag lag lag and shutdown the server. You hear a strange sound and very much lag and the server auto shutdown.
Hookshot Bow: give this error when you change the mode and no work. No work when you use it in Kits, in ce menu work but only 1 mode. The error:
[23:34:49 ERROR]: Could not pass event PlayerInteractEvent to CustomEnchantments v2.1c
Poisoned: no work in armor when anyone hit you. It work when you hit anyone (= than sword poison)
Shockwave: Broke grass, dandelion and poppy block in worldguard protected no breakage. Broke them despite inclusion in ForbiddenMaterials:
ForbiddenMaterials: AIR, BEDROCK, WATER, STATIONARY_WATER, LAVA, STATIONARY_LAVA, CACTUS, CAKE_BLOCK, CROPS, TORCH, ENDER_PORTAL, PISTON_MOVING_PIECE, MELON_STEM, NETHER_WARTS, MOB_SPAWNER, CHEST, SIGN, SIGN_POST, ITEM_FRAME, GRASS, DANDELION, POPPY
Autorepair: In sword work perfect, but if anyone enchant in in Bow it becomes unbreakable.
Gears : only working when you have boots in hand. It should work when you have it equipped.
Springs: only working when you have boots in hand. It should work when you have it equipped.
Rocket Boots: No working when you use it in Kits.
Necromancer's Staff of Destruction: No working when you use it in Kits.
Stomp: Not seem to work.
Flamethrower: Broke grass, dandelion and poppy block in worldguard protected no breakage.
Comand reload no work well. Only if you reboot the server the changes do not take effect.
ce item menu: only work for op. Default user can no get items ( ce.item.* permision used). The enchant menu work perfect for default user. Only no work the item menu.
Enchants Suggestion:
Poison for Bow
Fire for bow and sword: like igneo aspect but you can set the enchant OccurrenceChance.
Flight for swords: you jump and click right button with sword in and and then your character is pushed forward several blocks through the air (like flying)
Wither for sword bow and armors: Poison with wither when you hit with sword and bow and when anyone hit your armor.
Thanks :)
-
View User Profile
-
Send Message
Posted Dec 25, 20144 bug more
Thor's Axe work in worldguard no pvp zones. You can kill people in no pvp zones. 10 minutes ago a user did kill all peoples in the spawn :p
Steallife have the Gooey bug. 1 hit and you reconveri all your life
Beastmaster's Bow anytime give lag lag lag and shutdown the server
Hookshot Bow give this error when you change the mode (and no work..anytime only 1 mode):
[23:34:49 ERROR]: Could not pass event PlayerInteractEvent to CustomEnchantments v2.1c
EDIT: Livefire Boots work in worldguard no pvp zones too. Again people killing in the Spawn with fire :p
-
View User Profile
-
Send Message
Posted Dec 25, 2014And other:
Poisoned no work in armor when anyone hit you. It work when you hit anyone (= than sword poison)
-
View User Profile
-
Send Message
Posted Dec 24, 2014Hello
Other importan bug:
The item menu only work for op. Default user can no get items ( ce.item.* permision used)
The enchant menu work perfect for default user. Only no work the item menu.
-
View User Profile
-
Send Message
Posted Dec 24, 2014@Taiterio
For some reason Gears and Springs are not working. The only time I got them to work was if I was I holding them in my hands. The rest of the enchants seem to be working. I am not understanding why these two I am having an issue with. Also I am running the new version you put up.
-
View User Profile
-
Send Message
Posted Dec 24, 2014Ok thanks. Other bugs : Gears and Springs are not working..only when you have boots in hand, in old version i remember it work with they equiped. and the comand reload no work only if you reboot the server the changes do not take effect.
PD: Should be good if you port the global enchant for bow in the future :)
Thanks
-
View User Profile
-
Send Message
Posted Dec 23, 2014@HGspindy
Seems like I forgot something with Gooey, the base strength is way too high, even with level 0 the enemy is catapulted into the air like that. It has nothing do to with levels, though have you noticed it anywhere else?
Global Enchantments have not been ported to Bows yet, they do however work as intended, you can punch enemies and the effects will still apply.
@Willlynx
Fixed that problem :)
CE is and should be compatible with ANY minecraft version (except they break something huge with an update)
-
View User Profile
-
Send Message
Posted Dec 23, 2014Bug in last version. You enchant a sword to level 1 but really it is enchant to level infinite. For example:
You enchant sword with Gooney level 1 and you send the player to 256 block in air.
-
View User Profile
-
Send Message
Posted Dec 23, 2014nvm it does work now yay! but sometimes the enchantments double on items. How do i fix that?
-
View User Profile
-
Send Message
Posted Dec 23, 2014But will the newest version work for 1.7.10?
-
View User Profile
-
Send Message
Posted Dec 23, 2014Hello.
Global Enchantments do no work in Bow. Poison work in sword but when you add it to Bow the enchant do no work.
I'm doing something wrong? do i need a special permisions for Bows? or global enchantments just do not work with Bows?
Thanks
-
View User Profile
-
Send Message
Posted Dec 22, 2014@Willlynx
This is already fixed in the newest update :)
Published the new update, Merry Christmas everyone!
-
View User Profile
-
Send Message
Posted Dec 22, 2014Hey so i just got this plugin and was testing out its features but when i went to try enchanting an item in an echantment table it didnt work i tried many items over and over. I made sure CEnchantmentTable was set to true, changed the permissions and probability but it still doesnt work. Any help would be much appriciated!
-
View User Profile
-
Send Message
Posted Dec 21, 2014@zigaliro
Pyroaxe is working for me on Spigot 1.8, is it playing sounds for you? Are the enemies you hit burning? Do any other items/enchantments work?
@HammyHavoc
Is PvP enabled in the place where you are trying to trigger it?
@PatrickThagaard
The Armor affecting the wearer bug has been fixed. :D
Implants' cooldown was too high to be noticeable, try setting it lower. Stomp worked for me, however it instakilled everyone due to the falldamage having the value "infinity" (o.o)
I don't see why it wouldn't work, but please try it again in the new update :)
Crippling Strike had its effects increased and the sound has been made louder, again, this works for me and I don't see why it wouldn't work anywhere else (Since there is nothing really server dependent in there :/)
@AgawamIdol
That is fixed in the new update, it was a mistake in the cooldowns that lead to enchantments cancelling each other out
@PatrickThagaard
It's not included in the next update, since I wanted to focus on crushing bugs first, I will look into including it though :)
@powerfulguy21
Not a problem, glad it worked out for you :)
-
View User Profile
-
Send Message
Posted Dec 21, 2014Pyro axe doesnt work for me on spigot :/
-
View User Profile
-
Send Message
Posted Dec 20, 2014Landmines not working on 1.8 Spigot. Block gets enchanted but doesn't trigger when stepped on.
-
View User Profile
-
Send Message
Posted Dec 19, 2014Did "some" testing on all items+enchants with my server crew.
Enchants not working and/or backfiring:
Molten (Applies effect to armor-wearer, not attacker.)
Hardened (Applies effect to armor-wearer, not attacker.)
Poisoned (Applies effect to armor-wearer, not attacker.)
Frozen (Applies effect to armor-wearer, not attacker.)
Implants has no effect.
Stomp has no effect.
Crippling Strike does nothing.
This is with 1.8-R0.1 ofc.
No console errors, all items re renamed to diff. properties and all other items than above is working perfectly.
-
View User Profile
-
Send Message
Posted Dec 18, 2014@Taiterio
I have also had an issue with some enchants not working. The first example I did was: I enchanted a pair of leather boots with gears. That works fine. Then I took the same pair of boots and enchanted them with springs as well. However only the gears worked.
If I however, enchanted the boots with springs first instead of gears. Then enchanted them with gears second on the same pair.. Then only springs worked and not gears. It seems that some enchantments are canceling each other out.
-
View User Profile
-
Send Message
Posted Dec 17, 2014@Taiterio
With checks i mean, Fire boots and thors lightning only enabled in places where towny allows PvP (if player gets hit) or fire only in towns where build-permissions etc.
-
View User Profile
-
Send Message
Posted Dec 17, 2014Ok we figured out what was wrong. The enchantments were not enabled for players :P We fixed it. Thanks for trying to help though.