Custom Enchantments

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:

  1. "[CustomEnchant]" (Without the "s) as the first line.
  2. The Enchantment you want to sell as the second line.
  3. 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:

  1. Check out if your kit plugin supports colored names and/or lores.
  2. Find example kits that add colored names and/or lores in your kit plugin
  3. 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:

  1. What version are you using? (See the Point Further Information to find out if a newer Version is avaivable)
  2. Does your console give you any errors? If yes, please send me a copy of them, this might make the further steps obsolete.
  3. What situation did the error occur in?
  4. 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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Alfatossa Alfatossa Aug 23, 2016 at 03:12 UTC - 0 likes

    Is there a way to set the value of the enchantments like for example Auto-Repair tu make it repair the items slower(i think its to fast at level 1)

  • Avatar of Darkman_Bree Darkman_Bree Aug 21, 2016 at 16:19 UTC - 0 likes

    I'm bored, Lemme type idea's!

    *Armor:*

    Vacuum: Increases item pickup range. 1 block per lvl.

    Ender Plates: Any item picked up while your inventory is full, gets put straight in your ender chest.

    Rainbowized: Leather Armor changes color constantly, Rainbow color order.

    Lucky: Receive Luck I when worn, +1 Luck per level.

    *Tools*

    Backpack Miner: Any block mined goes straight into the inventory.

    Aura: Sounds a "pling" when you mine a block and an ore is nearby (3x3 radius), +1 radius per level.

    Miners Wrath: Receive Strength after you mined a block, useful when you get suddently attacked while mining.

    Haste: Receive Haste I when worn.

    *Weapons*

    Glowstone Point: Inflicts Glowing for 10 seconds on hit.

    Shulker Blood: Inflicts Levitation for 5 seconds on hit.

    Broken Mirror: Inflicts Bad Luck for 30 seconds on hit.

    Hungry Hippo: Inflicts Hunger for 15 seconds on hit.

    Armbreaker: Inflicts Mining Fatigue for 10 seconds on hit.

    Professional CrackShot weapon & item coder!

    Server IP: purpurmc.mygs.co

    YouTube: MR Darkman

    _______________

    Do not contact me for other server items like GTAMC, I don't play those.

  • Avatar of CarlsbergCitrus CarlsbergCitrus Aug 08, 2016 at 02:12 UTC - 0 likes

    [CustomEnchantments] Task #3015773 for CustomEnchantments v2.4c generated an exception & Could not pass event InventoryClickEvent to CustomEnchantments v2.4c

    Full errors - http://pastebin.com/hgNJmF4b

    Running Spigot 1.9.4.

  • Avatar of Darkman_Bree Darkman_Bree Aug 05, 2016 at 08:00 UTC - 0 likes

    @Karshams: Go

    It's not gonna be easy to do that, You need to rewrite the entire item name and lore 100% correct on a different item, You're gonna need a plugin with /rename and /relore for that.

  • Avatar of alanthya alanthya Aug 04, 2016 at 23:49 UTC - 0 likes

    @Taiterio: Go

    Still having an issue with Shockwave breaking forbidden materials. The effect chance is set to 100%, and doesn't always break chests but it definitely still happens. Works on single and double chests. I noticed that ForbiddenMaterials: didn't have DOUBLE_CHEST, so I added that hoping it would fix it, but the issue persists. :(

    Alanthya: Beyond Minecraft 1.8 - Server IP: alanthya.net Website: http://alanthya.com

  • Avatar of Karshams Karshams Aug 02, 2016 at 11:13 UTC - 1 like

    Hey, I have a question. Is it possible to get the flamethrower effect (On the flint and steel from the menu) on a blaze rod or a golden sword? If so, what is the enchantment name? It is a great plugin! :)

  • Avatar of NamesAre4Kids NamesAre4Kids Jul 31, 2016 at 20:44 UTC - 0 likes

    Hey why can't these be combined with regular enchants in an anvil? Is there a permission node/config for this? I couldnt find it

  • Avatar of Darkman_Bree Darkman_Bree Jul 30, 2016 at 09:33 UTC - 1 like

    @Nameless001: Go

    ce.runecrafting

    or

    ce.cmd.runecrafting

  • Avatar of Nameless001 Nameless001 Jul 29, 2016 at 21:06 UTC - 0 likes

    Whats the perm node for the runecrafting?

    Last edited Jul 29, 2016 by Nameless001
  • Avatar of Taiterio Taiterio Jul 29, 2016 at 00:44 UTC - 0 likes

    @thezillerkik: Go

    Are there any errors when you use the command?

    @Pinkpig3777: Go

    You can make these items unbreakable by adding the 'unbreakable' nbt tag to the item.

    For more information on those, see this link.

    @broanater: Go

    I'll see if I can add that feature into one of the next updates :)

    @Minty24: Go

    The anvil is not meant to be used with custom enchanted items, use '/ce runecrafting' instead.

    I'll add an option to disable the custom glow :)