WarsAnvil
Overview:
What Is This?
- Allows to repair items, all tools and equipment (with exception of lighter and fishing pole) at cost of items, no economy plugin required.
- Ability for server owner to have full control over the cost of items to be repaired and which blocks are anvils.
How To Use:
- For all items you just have to right click on an anvil block and will either give you a /confirm option or just repair it if you have the materials. (/confirm is a config option).
- Bows work identical to everything except use the left click instead. (Due to pull back on right click)
- For further info on using please watch the informational video. (Will be posted within 24hrs)
How Do I Config?
- My personal goal for all config is always nothing but total control for you, the operator. So that's why every single item that can be repaired is configurable.
- The config is set up in this order, Anvil Info, Repairing Options, Bow Repairs, Diamond, Gold, Iron, Stone, Wood, Leather.
Explaining The Repairing Options:
- I think most should be fairly self-explanatory but here it is.
- CanFail is the option to toggle the ability on repair to fail at the cost of no repair and loss of your repair item, and naturally the Chance is merely the percentage of chance to fail, defaulted off and at 25%.
- The Saftey.Confim is a toggle for a player to have to confirm the repair (cancels after 4 seconds). Defaulted to true, to help prevent accidentally losing your valuable items.
- Now this last config option is nothing but for something new, so if you're anything like me I do lots of reloading on my server and sometimes if I'm testing I need forget what defaults are, so this allows the command /ConfigGen to regenerate the default config, you must still reload at after the command is typed. This command also has a permission, obviously. (See Permissions)
Permissions:
- The only permission in the current build is for the /ConfigGen command:
- -WarsAnvil.Docs
To Do:
- Add lighter/fishing pole
- Add more config options/more editing
- Give me some more ideas!
Bugs And/Or Errors:
- None that I'm currently aware of, please post immediately for me to fix!
Enjoy This Plugin?
As always I really appreciate donations! If nothing else let me know what you think of this plugin, I've put lots of time into it for you guys!
could you make a perm that doesn't allow for some users to use the anvil?
simple if statement
Recently found this plugin and it looks great... Is it possible for you to add economy support? Or if not economy support maybe a way to forward some of the items used in the smithing to the creator of the anvil? I am simply looking for a way for players to include this in their personal shop and have people purchase a repair from that players shop. Also a way of distinguishing between anvil blocks and the blocks that would be used as anvils would be much appreciated. Such as placing a sign with a particular message near an anvil so that a building made of iron/gold/diamond/sponge blocks cannot be used as an anvil.
@cVaaaldez
It already does handle enchantments haha, I'm sorry for this misunderstanding when I typed this up, I just got back from vacation so plan on having the video up within a day or two! Thanks!
I am looking for a plugin that can keep enchants, or atleast the option. You got it going so far, but not what I need. Let me know when it handles enchantments!
whats new on this one ? for the video, also when you gonna be on to do it.
@grinch843
These
Block: Lowest: 42 etc.
Are the AnvilBlock IDs so Block.Lowest is an IronBlock.
For the other Enchant.Lowest etc... Are The % chance of keeping the enchantment on the repaired item so the Lowest Block (Default IronBlock) has a 50% chance to keep the enchantment.
Hope that helps!
What are these options for in the config file?
Thanks,