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.

Note: This plugin should be compatible with any newer Minecraft Version, if you need the plugin ported, just say so.

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 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. 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"

Installation

  1. Download the Custom Enchantments.jar
  2. Place the .jar in your servers plugin folder
  3. If your server is already running, reload or restart it

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.4b

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 WickedFactions WickedFactions Feb 14, 2016 at 01:52 UTC - 0 likes

    For the economy part. If you have a max enchantment level, you can't buy them all for the same price. You can set a price for each individual level, only the whole name. It makes the plugin economy usage useless. Adding economy for each level of the enchantments would be a big up! Thanks!

    Last edited Feb 14, 2016 by WickedFactions
  • Avatar of WickedFactions WickedFactions Feb 14, 2016 at 00:01 UTC - 0 likes

    I don't fully understand the "EnchantmentMaxLevel." It's on mostly everything, but does it like multiply the affect of the enchantment? What does it do?

  • Avatar of ghost_rider123 ghost_rider123 Feb 13, 2016 at 19:13 UTC - 0 likes

    @skyzophrenic: Go

    its not only anvils ! the plugin doesn't allow my players to use runecrafting which I have permissions set for it!!!

  • Avatar of ghost_rider123 ghost_rider123 Feb 13, 2016 at 19:08 UTC - 0 likes

    @skyzophrenic: Go

    I have no other plugin that uses anvils.. :P

  • Avatar of skyzophrenic skyzophrenic Feb 13, 2016 at 18:00 UTC - 0 likes

    @ghost_rider123: Go

    could this be a conflict with another plugin that uses anvils?

  • Avatar of skyzophrenic skyzophrenic Feb 13, 2016 at 17:58 UTC - 0 likes

    @ksiegel22: Go

    add the lore first :D

  • Avatar of ghost_rider123 ghost_rider123 Feb 13, 2016 at 11:24 UTC - 0 likes

    @Taiterio: Go

    just a quick question , How come my players cannot access runecrafting even if I gave them ce.runecrafting as you told me.. They cant even use anvils ! ? Is that a bug or is it my permissions ? I'm not sure... I'm pretty lost with this new update tbh¬ - ce.cmd.menu - ce.ench.* - ce.cmd.* - ce.runecrafting

  • Avatar of ghost_rider123 ghost_rider123 Feb 13, 2016 at 10:12 UTC - 0 likes

    @SneakyScoutYt: Go

    he told me it was ce.runecrafting

  • Avatar of ghost_rider123 ghost_rider123 Feb 13, 2016 at 10:07 UTC - 0 likes

    just a quick question , How come my players cannot access runecrafting even if I gave them ce.runecrafting as you told me.. They cant even use anvils ! ? Is that a bug or is it my permissions ? I'm not sure... I'm pretty lost with this new update tbh¬ - ce.cmd.menu - ce.ench.* - ce.cmd.* - ce.runecrafting

  • Avatar of ksiegel22 ksiegel22 Feb 13, 2016 at 07:11 UTC - 0 likes

    is there any way you could make it so the custom enchantments appear above the lore next to the vanilla enchantments rather than below?

Facts

Date created
Mar 23, 2013
Categories
Last update
Feb 08, 2016
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
Custom Enchantments
Downloads
180,270
Recent files

Authors