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
Can i dye the armor with this?
There is no ingame shop plugin that works with this plugin, they give unenchanted or regular potions that's all. Tested with signshop, chest shop, and various others.
Please make a signshop for this wonderful plugin!
@killaz916
This plugin wasn't really designed for in game purchases in mind but external, real cash purchases with BuyCraft and Enjin. Are there really no in game shop plugins that allow you to do this?
The potion give command is to tell the plugin to apply potion effects instead of enchantments to an item, not really give you a potion (that's why you still have to specify an ID and data value). Since there are a wide variety of potion colors and such I figured leaving it where you have to type in the data values would be okay.
The expansion into Enchantment Books seems like a natural progression for the plugin and I will definitely explore the possibility.
is there a recommended sign shop for this plugin? also might you be able to make a splashpotiongive command to instead of having to use data values like 12469 For Splash.
Could you also expand into Enchantment Books?
thanks very much for the plugin!
@Tux2
Thank you, my bad I didn't read the "How to install".
@edyzio
This project now requres the use of the TuxTwoLib plugin. Bukkit changed stuff around to where if I wanted the plugin compatible across multiple Minecraft versions I'd have to make a library which encapsulated the code that they changed every MC version.
Getting this error as soon as server is trying to enable the plugin: http://pastebin.com/MJsyz13r
I am using Spigot 357 build
@morlanius
Pm me the config you created. You can paste it on http://paste.yu8.me
Thank you VERY much!
The config file has changed and the auto does fully populate full examples, lore and potions, whats the exact format for enchantment packages? i keep triggering a reset and the config file regenerates.
@G_CODE649B
Do you have the right version of the TuxTwoLib?
Doesn't work with 1.4.6... :(
@Tux2
Going to try it with 1.4.(6).
I wrote this when before they listed the DEV.
@TanveerGT5
@typhoonwes
I've been hard at work adding quite a few new features for this version, so, here it is, a new version that works with 1.4.5-R1.0! http://dev.bukkit.org/server-mods/enchantanything/files/3-v1-1/
NOTE: The new version requires TuxTwoLib as a required dependency to function now.
Please update for Recommended Build 1.4.5-R1.0 (Build #02543)
Im running 1.4.5 and the enchating is now work. Anyone have any ideas?
can you update to 1.4.5
Thanks for this plugin!
@Tux2
That would be superb!
can u update?
support enchant blaze rod?