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
License is GPL but I cannot find the source anywhere.
If anyone could provide a link/upload it, I would be more than happy to update it to 1.6.2.
I find that this no longer works with 1.6.2 does anyone have a good alternate??? Or does anyone have this working for 1.6.2.
Could someone please explain what items the enchantment list belon to
•ARROW_DAMAGE -Bow •DAMAGE_ALL - Bow, Sword •DAMAGE_ARTHROPODS - sword
@mal67
If you havent already fixed this. The most common two reasons are as follows:
1. You have placed the .jar file in the wrong place/folder it needs to go in your plugin folder
2. You havent installed Bukkit and therefore it hasnt created the folder
Could you add the possebility of giving enchanted books that can be used to enchant other things?
wha the name of the normal protection you can enchant on armor?
@mal67
Yes it is required, plugin works perfect.
yeah 1.5.2 R0.1 no config file or folder generated on install.
wait... tuxtwo is required now? i thought that was just for offline delivery..... ugh i dont wanna have to use that lib it hates my server.
Ok, so I installed the plugin, But I can't find it's config file. My server has been restarted 5+ times since I got it. I am using the Multicraft Console.
Thanks for creating and sharing this plugin.
EnchantEverything v1.1 is working great on CraftBukkit 1.5.2-R0.1 with Java 1.7.0_15 x64 (on Windows 7 x64) and Java 1.7.0_21 x64 (on Ubuntu Server 12.04.2 LTS)
LHammonds
This plugin works GREAT!!! Build 1.5.1
Is this working for anyone? If so, which build?
Okay get this plugin goes, this guy (Tux) is one of the best/only person i have talked to about plugins! he currently works for Enjin and is the main developer of the plugin for Minecraft right now, he is such a nice guy! he is so easy to get in touch with and seriously a nice guy!
Hello,
I think it would be a good idea to make TuxTwoLib an optional dependency. I just read through the source for this plugin, and the only thing you seem to be using it for is handling offline players. Most people probably don't need this functionality, but right now, they DO need to install your library, which has to be updated each MC-release. This is unnecessary, so a config option to disable the offline-player functionality (eliminating the need to install TuxTwoLib) would be great. Thanks!
Jorisk322
Working with 1.5 ?
Where can I find source code ? Thanks.
@Vikestart
I just uploaded a new build of TuxTwoLib to Bukkit and your server should automatically download it when it's available. Thanks for the report!
@Vikestart
That's a bug with the TuxTwoLib, mind posting a ticket there please?
@ZwPBerserk
No, these are actually the names bukkit uses internally, so I would have to actually re-map them.
@Eco212
That's a minecraft thing.
@cfarm99
It will support any enchantment in your version of minecraft as it gets its list from there.
@Crunkatog
This could be a nifty feature.
@cfarm99
Same here but I was already selling a item with thorns using the buymagic plugin. Sadly you can only put 1 enchant on a item using buymagic.