Custom Enchants
Project is being worked on once again.
Description
This plugin adds some cool new enchantments to add to your craftbukkit server. This is my first java project, so keep in mind to report stuff to me! Also, these enchantments cannot be added threw the enchantment table in vanilla minecraft!
I have always wanted to find a plugin that made custom enchantments to minecraft. I since then decided since I could not find solutions that were up to my liking, I created this plugin with the hopes that it is easy to use.
- Note : For versions 1.3 and down, enchants only work on specific items.
- Note : Works with spigot and craftbukkit
- Note: This plugin works with Java 8 EA(Tested with 8_05) ,Java 7(Tested with 7_80) For some reason Oracle took down u80, and Java 6(Tested with 6_45)
- We also have a planetminecraft page: Planetminecraft link
Metrics:
I use metrics for this plugin, which it tracks data on your server(for example your Java version, and what server software you are using) and sends it to a page where people can view it. (It only shows data, it does not know server IPs/where to find the servers). I use this in CustomEnchants because it shows me what to support, and what not to. I know to support Bukkit 1.7.9 because that's what most people are using. But, there is a option to disable this, for whatever reason you want to. You disable it by finding PluginMetrics config, the path to it is: craftbukkit_root\plugins\PluginMetrics\config.yml. Goto the second line, which is 'opt-out'. Change false to true if you want disable plugin metrics.` http://mcstats.org/plugin/CustomEnchants < That is our metrics page. I cannot explain what all it tracks, on that page you will find what it tracks.
Usage:
Commands:
/customenchants
- This command has an alias, /ce which is easier to type @ remember.
Parameters
- /ce or /customenchants You enchant items, like this: /ce enchant <enchantname> <tier> Enchant names are here: Enchantment names
Enchantment effects can be found here: Enchantment information
Permissions
- Here are the permission nodes:
- /ce and /customenchantsgive: customenchants.customenchants
- Better more customizable permissions will be added soon.
Configuration
- Configuration Tutorial (Can also be found at the bottom of the page)
- A new video will come out for v. 1.5 because the configuration is very different and harder to understand.
Reporting a bug
You can report a bug by commenting in the comment section for this page. Here is how you report:
- Plugin Version:
- Java Version:
- Error Log:
- What causes the error: and post the comment. I will look into the error. Or you can use the ticket section.
To-do list
- The updates have now been given names!
- Please leave any ideas you have down in the comments below. If it is good we will put it in an upcoming update.
Planned for Version 1.6 (Armour update)
- Weakness sword
- Invisibility Helmet
- Jumping boots
- Knockback Armour
- Double Jump boots(Possibly, since it can be very glitchy)
- Life-steal sword (What ever damage you did to them heart wise it will return to you. You can config to so it only gives a percent of it though)
- Configurable Display Lore(So custom lore that shows up when player hovers over it)
- Configurable identifier for sign shops (The thing that you put on the first line of the sign, Default: [CEnchant])
- May or may not re-add original config back so people can have either unlimited tiers or 5 tiers but each tier is separately specified
- Inventory GUI to select enchantments after selecting a tier(certain command, this command will be /customenchantstier with a alias of /cetier)
- Recode, now the plugin will have an API (Dev's can register their own enchantments..)
- Enchanting table now dishes out enchantments.
Planned for Version 1.7 (Projectile update)
- Bow enchants:
- Homing bows(2 types of homing: IR homing which will lock on 100% of the time but not if you have Anti-IR armour, and Motion homing which will lock on to the player if they are moving.)
- Explosive bows
- Armour penetrating bows
- Potion Effect bows
- Different projectiles (e.g. Fireballs, eggs, enderperals, etc.)
- More coming soon!
Planned for Version 1.8 (Stealth Update)
- Stealthy weapons and armor
- Back-stab sword (Chance of 1 hitting a player if they have their back to them and giving the attacker invisibility for a duration of time)
- Proximity stealth (When more a group of players, or one player (Configurable) are in proximity of you, you gain invisibility every time you move)
- Blinding stealth (On kill of a player(back-stab counts or even back-stab only), all players around you are given blindness with a configurable option to make it total blindness)
- Blinding bow (Makes all the players in the near by radius receive blindness and/or slowness(Configurable))
Planned for Version 1.9 (Book update)
- Enchanting books
- Crafting recipes for making enchanting books
- Maybe our own enchanting table
Planned for Version 2.0 (Housekeeping update)
- A command which edits the config ingame.
- Making code neater to work with.
- Making it run smoother on servers
- Potentially the final update :(
Videos
VERSION 1.4 ONLY
Current Version Notes
- None
Could you make an enchantment for tools like shovel and fishing rod that has a chance to run a customizable series of commands such as:
-/msg {player} you just got lucky -/economy give {player} 1000
Making a API based off this plugin, since technically this does support other enchantments by other people.....
CustomEnchants v 1.5 pre1 RC2 pushed.
1 Custom bow enchantment pushed to this update.
I will be releasing a alpha build of 1.5 soon. It will only have the RegenWeapon enchantment, so I would only use it if you want to help me out by testing!!
This update is taking a while, I know, but I am making it easier to add new enchantments via updates. The code will be easier for me to deal with, for example, enchanting items: I simply add 20 or more lines(except from the listener) and the lore will add with the correct tier. You can have a configured max tier level, so people don't enchant RegenWeapon(Formly regen) with level 1000.
@NinjaKingRo
Oh I see what happened. The enchant is only applied when you attack a player. Thanks for the notice! :D This will be fixed in v 1.5
@Searchndstroy
How does the regen get triggered? I tried just holding it, right clicking, left clicking, and killing a villager. The enchantment seems to show up on my sword now, but effect it still not being applied.
@NinjaKingRo
config.yml should not even be generated, ignore it. EnchantConfig.yml is what I am looking for. Set the seconds to 100 and try again, with /rce or a reload.
@Searchndstroy
It's not empty, the config is though.
I cannot stand how messy this plugin is coded. Recoding now....
Github client is fixed! :D
@NinjaKingRo
I'll look into it.
EDIT: Is the EnchantConfig.yml empty? Also by default the duration of regen is 2 seconds,
I can't seem to get the regen sword to work? It has a tier 2
There's no error message, but the enchanting does not work.
EDIT: Nevermind, but you should really add an error message for when the someone tries to use a non existent enchant.
@NinjaKingRo
Yes the positive enchant effects usually effect the attacker.
For future reference, http://dev.bukkit.org/bukkit-plugins/vampsword/pages/enchantment-information/ is detailed on which player the effect(s) are applied to. And what they do.
EDIT: I also noticed there was no link to that page. Adding it to the main page.
Do the positive ones effect the enemy or the user?
@AcePlugins
Thank you very much fine sir!
v1.5 will contain plugin metrics, this is for me to see how many people use it, and what types of servers are running it. (spigot/bukkit/mcpc/mcpc+)
@AcePlugins
Thanks! :D