EnchantAnything
Have you ever wished for a way to give away enchanted items? Maybe you have BuyCraft or an Enjin shop and want to give enchanted items to players. Whether the player is online or offline at the time this plugin will give them the item regardless! With a config file for defining your own custom enchantment packages that you can apply to any item.
This plugin was commissioned by the owner of WildCraft: "Terribly Pleasant" go check them out!
Features
- NEW! Add in player names, dates, times and custom variables dynamically to lore!
- NEW! Add colors into item names and lores!
- Give away pre-defined enchantment packs on any item
- Give away pre-defined potion effects on any potion!
- Add custom item names, lore, repair values, and colors to leather armor!
- Works with data values!
- Gives the player the item regardless if they are online or not
- Perfect for BuyCraft/Donationcraft integration!
- Reload the config on the fly with /ea reload
- Permissions support
- Apply any enchantment to any item
- Works through the console
- Give away unenchanted items by giving it a bogus package
How to use
- Drop the plugin and TuxTwoLib in the plugin folder
- Start the server
- Edit the config.yml file in the plugins/EnchantAnything folder with the packages and lores you want
- Do /ea reload in game and you are ready to go!
Commands
- /ea give <PlayerName> <Material:damagevalue> <package> - gives the player the item with the enchantment package applied to it
- /ea potiongive <PlayerName> <Material:damagevalue> <package> - gives the player the potion with the effects package applied to it
- /ea reload - Reloads the enchantment packages
- Optional parameters (can be added to the end of the command in any order):
-name [Item Name] - Add a custom name to the item.
-lore [lorepackage] Adds the lorepackage specified.
-color [r255,g255,b255] - Sets the color on leather armor. Separate colors by commas with no spaces. Each color is in decimal from 0-255, and should be prefixed with the color name (r = red, g = green, b = blue)
-repairxp [xpneeded] - Sets the repair cost
-custom [custom variables] - Pass custom variables for the lore
Lore Parameters
List of all the parameters you can put in the lore:
- %player% - The player's name that you are giving the object
- %date% - The curent date in YYYY-MM-DD format
- %datemdy% - The current date in MM-DD-YYYY format
- %time% - The current time in the server's timezone
- %time24% - The current time in 24 hour format
- %timezone% - The current timezone
- %#% - Custom variables passed via the -custom parameter. Each word separated by a space is a variable specified by a number, starting with 1. So in the following string: This is a test string. They would be:
%1% = This
%2% = is
%3% = a
%4% = test
%5% = string.
Permissions
- enchantanything.give - The ability to give an enchanted item to a player
- enchantanything.reload - The ability to reload the config file
- enchantanything.potiongive - The ability to give a custom potion to a player
Enchantment List
- ARROW_DAMAGE
- ARROW_FIRE
- ARROW_INFINITE
- ARROW_KNOCKBACK
- DAMAGE_ALL
- DAMAGE_ARTHROPODS
- DAMAGE_UNDEAD
- DIG_SPEED
- DURABILITY
- FIRE_ASPECT
- KNOCKBACK
- LOOT_BONUS_BLOCKS
- LOOT_BONUS_MOBS
- LUCK
- LURE
- OXYGEN
- PROTECTION_ENVIRONMENTAL
- PROTECTION_EXPLOSIONS
- PROTECTION_FALL
- PROTECTION_FIRE
- PROTECTION_PROJECTILE
- SILK_TOUCH
- THORNS
- WATER_WORKER
Potion Effect List
- ABSORPTION
- BLINDNESS
- CONFUSION
- DAMAGE_RESISTANCE
- FAST_DIGGING
- FIRE_RESISTANCE
- HARM
- HEAL
- HEALTH_BOOST
- HUNGER
- INCREASE_DAMAGE
- INVISIBILITY
- JUMP
- NIGHT_VISION
- POISON
- REGENERATION
- SATURATION
- SLOW
- SLOW_DIGGING
- SPEED
- WATER_BREATHING
- WEAKNESS
- WITHER
@morlanius
Already planned name of item and maybe item lore text as well.
Any idea when you are going to update this to 1.4? The only thing i really think you could do is add a name in there to reflect new item data. Everything with this plugin works great, never had a problem with it, but with the 1.4 i think being able to do the following would be the next logical step. eg: /ea give <PlayerName> <ItemID:damagevalue> <package> <name>
<name> sets the name field of the item.
Thanks
mors
Wow... just a few days ago I had a custom plugin made for this... cost me $25... I feel SO stupid right now... Great plugin! :P
Doesn't seem to be working for me. When I spawn the item it gives me the item with no enchants :/
EDIT: Forgot I put the list of the Enchants in config so it would be easier. Now it works, great plugin!
@Brocodo
I'll take a look. It was working last time I checked but bukkit did update in the mean time.
First of all, realy great plugin. Keep going!
Seconds: Giving items when a player is offline doesn't seem to work :( No error or something, just doesn't workt.
INFO: EA v1.0 Craftbukkit 1.3.1 R2.0
@Gaurav1234
Had the same problem, i fixed my config.
@KingCold999
A battle brick sounds awesome! Can I have it? ;)
Amazing plugin... I may just have to use...
All of you shall fear... MY BATTLE BRICK, Sharp V Kb II FA II Loot III.
Yep! Amazing with buycraft, even with the 1.2.5 R4!
Nice easy plugin, very handy for buycraft!
For some reason, it gives the user the item, however it doesn't give them any enchamtnet on it. I even tried this with the sample packages, but it still doesn't work.
What's the problem, and how can I fix it?
Thanks!
Works great with BuyCraft! Thanks alot!
@Gaurav1234
That's correct!
So if we wanted to give Notch a bow with "arrow damage 2" enchantment, we'd do /ea give Notch 261 <Insert Package Name Here>
Or would I be doing something incorrectly?
I just wanted to tell you how much I enjoy this plugin! I am making a web-based panel to where players can purchase their items online with it :)
It involves the use of another plugin to make it fully work, But It works great none-the-less.
Could you please add a way to disable messages for Giving and Receiving, or by allowing us to customize the message!
@Tux2
Could you add custom messages, Thanks =)
@GrimblyGorn
Grammar natzis on patrol! ;) I'll definitely fix that grammar issue in the next version, thanks for pointing it out. :D Also, I think I'll add in your self-answered questions into a little FAQ up in the post so that it's readily visible for people when they are visiting this page.
Also, I'm really glad that you are enjoying the plugin. :) Just let me know if you have any issues with it.