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:

  • DestinyRaids.us.to
  • Towny.io
  • Mc.Arcanepvp.net

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

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.

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 alot 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 though that the project was not originally intended to be published and was used as some sort of coding-playground multiple times by me, which makes the code really messy to read and overlook.

Further Information:

Current Version: 2.3b (26.05.2015)

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 hetjoshi hetjoshi May 29, 2015 at 00:59 UTC - 0 likes

    @Taiterio: Go

    Blind isn't working please fix!

  • Avatar of phoenixlzx phoenixlzx May 28, 2015 at 08:57 UTC - 0 likes

    @Taiterio: Go

    No further details... otherwise I have already pasted it here. No errors and no debug log. Is there anyway to enable the debug output in console?

  • Avatar of rpgrowland rpgrowland May 28, 2015 at 08:39 UTC - 0 likes

    I was wondering for future update if you can add custom enchantments for axes for to do with attacking. here are some ideas i have:

    Decapitate: Chance to make the players head drop on death. Blessed: Removes debuffs from you in battle. Bleed: Has a chance to make enemy bleed. Berserk: Gives you strength in battle.

  • Avatar of Taiterio Taiterio May 28, 2015 at 00:20 UTC - 0 likes

    @phoenixlzx: Go

    That's extremely weird behavior then, can you send me a pm with some further details of the problems/your server ip for me to test around a bit?

  • Avatar of phoenixlzx phoenixlzx May 27, 2015 at 12:55 UTC - 0 likes

    @Taiterio: Go

    No I set the chance to 100.

    It still not working... I'm using spigot 1.8.5 and 1.8.3.

  • Avatar of Legend8972 Legend8972 May 27, 2015 at 10:41 UTC - 0 likes

    @Taiterio: Go

    Thanks :)

  • Avatar of Taiterio Taiterio May 27, 2015 at 03:30 UTC - 0 likes

    @Legend8972: Go

    Not at the moment :D

    @TheFearlessNet: Go

    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: Go

    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: Go

    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 :)

  • Avatar of Legend8972 Legend8972 May 27, 2015 at 00:45 UTC - 0 likes

    Is it possible to get the enchants on books :?

  • Avatar of rpgrowland rpgrowland May 26, 2015 at 12:54 UTC - 0 likes

    @TheFearlessNet: Go

    i can get the enchantments out of the enchant table so it should work as there is nothing you enable in the config

  • Avatar of TheFearlessNet TheFearlessNet May 26, 2015 at 12:13 UTC - 0 likes

    How come it would not let me get the enchants out of an enchantment table?

    Play.TheFearlessNetwork.com Play.TheFearlessNetwork.com

Facts

Date created
Mar 23, 2013
Categories
Last update
May 27, 2015
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
Custom Enchantments
Downloads
94,934
Recent files

Authors