Blacksmith
This blacksmith only uses materials in Minecraft, not use an economy to repair your tools. It is made specifically to repair your items in a more realistic way than the economy based blacksmiths, and cheaper than making a new one. Each item (except bows) takes one of whatever material it is made of to repair it to 100%. Bows take one string and one stick to be repaired. This will decrease the need for new items but increase the need for the base elements. This plugin takes the item in your hand and, if you have the required material for the repair, it resets the durability.
To use this plugin all you have to do is place an anvil (iron block) and activate it (hit or right click) with the item you want to repair.
To install: Download the desired Blacksmith.jar in the files page. Place the .jar into the plugins folder in your CraftBukkit folder.
List of Required Material: Tool:Cost
- Wood: 1 Wood Plank
- Stone: 1 Cobblestone
- Iron: 1 Iron Ingot
- Gold: 1 Gold Ingot
- Diamond: 1 Diamond
- Bow: 1 Stick + 1 String
- Enchantments: + 1 Blaze Powder
I am planning to add support for permissions, but if you have any suggestions please tell me. Also if you find any bugs, tell me so I can fix them ASAP. This is my first plugin, so I don't know how to do EVERYTHING with bukkit yet but I have learned a lot about making plugins using bukkit from this experience.
Feel free to view the source code HERE (There is a lot of temporary code for testing in there). I do not mind if you take pieces of my code and use them for your own projects, but please ask me before taking large chunks.
Please send a ticket with any ideas/suggestions/problems. They are easier to track than a comment. Thanks!
Video: WoopaGaming
There is a similar but updated mod made by Holyviruss and Thidox HERE
-
View User Profile
-
Send Message
Posted Jan 11, 2012Permissions would make this plugin a thing of beauty. Great concept, I like this idea way better than the economy based blacksmiths. Any ETA on permissions?
-
View User Profile
-
Send Message
Posted Jan 11, 2012Is this customizable? For example can I change the iron block to something else? Also, what does it mean by enchantments costing one blaze powder? Does that mean if I had a enchanted diamond sword i would pay 1 diamond and 1 blaze powder?
-
View User Profile
-
Send Message
Posted Dec 29, 2011Would it be possible to make a Blacksmith NPC instead of using iron blocks?
-
View User Profile
-
Send Message
Posted Dec 27, 2011Console keeps spamming me with:
[SEVERE] Could not pass event PLAYER_INTERACT to Blacksmith
-
View User Profile
-
Send Message
Posted Dec 27, 2011I think armor support is really needed. :)
Also i think only op's or groups with permission, should be able to make anvils. So that you could set iron blocks, and then use a command to make it an anvil. I don't want my iron structures to work as an anvil ;D
-
View User Profile
-
Send Message
Posted Dec 23, 2011@xXGameReaperXx
Armor support is a great idea, and I think you are right on with the costs. We play a legit SMP server with some pretty tough custom dungeons and they rip our armor up. Being able to repair would save us a ton of excess farming time.
-
View User Profile
-
Send Message
Posted Dec 18, 2011@xXGameReaperXx
I don't actually use this plugin (will be adding it in the morning (4:00 am here)) but i think it will be great if maybe a message pops up when you place a "anvil" to show it works? Also i hope you get the leather armor situation sorted out. I Also dislike the economy idea. Maybe add more requirements for repairing items eg. 1 stick as well as 1 cobble to repair a stone pickaxe. Just a thought. Keep up with this brilliant plugin there are not many around like yours and i love the enchantment support well done! Ps. with the armor maybe make it repair 30%
-
View User Profile
-
Send Message
Posted Dec 13, 2011I do not want this to be an economy based plugin. It does not make since to throw money at tools/weps/armor and for them to be repaired. This will still increase the need for the base items that the tools/weps/armor are made of.
As for the repair, this does do full durability for tools/weps, but will not repair armor 100% in one go. Right now I have the armor working, accept for with leather. I have checked my code several times and it does not look like it should be causing a problem, but im still working on fixing this at the moment.
-
View User Profile
-
Send Message
Posted Dec 12, 2011Use Enchanter or add exp with /xp <name> 5000 5000 is max exp a player can have to test this. I am looking for a Blacksmith type of Plugin that works with Enchantments and BOSEconomy,Vault you might want to try adding in support for those plugins. And something that does full durability repair.
-
View User Profile
-
Send Message
Posted Dec 8, 2011Armor Support
I'm adding support for armor repairs. Each repair will do 50% of the max durability. The number of required materials for each repair will be as follows:
Please tell me what you think of this.
-
View User Profile
-
Send Message
Posted Dec 7, 2011@xXGameReaperXx
Use eXPra to get your level up.
-
View User Profile
-
Send Message
Posted Dec 6, 2011I have just added a 1.0.0 version for the inclusion of enchanted items. I have not yet tested it because enchanted items can not be added to the inventory, and their is no command for adding experience included with bukkit. If you test this new file, please send me your results on whether or not it works.
-
View User Profile
-
Send Message
Posted Dec 6, 2011Yes I could do something like that but I may do more than 20% per item. If you or anyone else has any comments or ideas about this please tell me.
-
View User Profile
-
Send Message
Posted Dec 6, 2011Would you be able to possibly add compatibility for armour and say make one iron ingot repair 20% of the max health of the armour so if the armour is at 10% health and you use 1 iron ingot then the health of the armour equals 30% and you keep on using iron ingots untill the health is full. This is exactly what i have been looking for because the only one similar to this is McMMo and i dont really like using it.