RepairPad
Repairpad
[ version 1.32/1.3.2-R0.1 ]
Usage
Spend your gold to Repair your items using RepairPad! Put gold ingots into furnace and reset the durability of your items without losing enchantments.
Features
- Left click on the button: Repairs item which is in the player's hand. It costs one golden ingot.
- Right click on the button: Repairs all of player's items. It costs many golden ingots. (depends on how many damaged item does the player have)
- Protection against accidental destroying button and bookshelf
- Burning effect after useage
- Customization and translation by YAML configration
- Chance to fail and chance to break
- Protection against griefers
- Hardcore mode
Permission nodes
- repairpad.use
- repairpad.build
- repairpad.destroy
- repairpad.free
How does it work?
RepairPad is a structure. The core of the struct is a bookshelf with button, a furnace above the bookshelf and a gold ore under bookshelf. I does not need database, simplicity is the key. The gold needs to be in the furnace's fuel slot.
Changelog
Version 1.32
- Bugfix
Version 1.31
- Added hardcore mode
Version 1.3
- Added permission nodes
- Added protection against griefers
- Added chance to fail and chance to destroy (adjustable)
Version 1.2:
- Added burning effect on repair event
- Undestroyable button and bookshelf (protection against efficiency ench.)
Version 1.1:
- Added YAML configration
- Translateable/Customizable texts
- Required goods are customizable now (amount/itemid)
Version 1.0
- Plugin release
Screenshots
Note
Hardcore mode: Players have to put their items into the furnace after each other. It can be turned on/off by the config file.
Source
Available here. (ver. 1.3)
Available here. (ver. 1.2)
Available here. (ver. 1.1)
Available here. (ver. 1.0)
@Reactorx7
But it would be much more epic. ;-) But you are right, perhaps as an alternative Version, so that it does not matter if the player only hits the button or place tools in furnance.
Any chance to, at lest as a option, have repair more...I dunno, logical?
Say, I have a Diamond Pick. I put one diamond in the furnace, it repairs the pick by 1/3 its durability (because a Diamond Pick is made of 3 diamonds)
If I had a Iron Shovel, 1 iron would repair it to full, etc.
@RasCas
It is possible, but it takes much more time than a button push.
I make an update tomorrow if you want ;)
Would it be possible instead of hitting the button to place the tools/armor in the furnance?
@titen96
It's my pleasure! :)
@lovemeseriously
Sorry, I don't understand the queston.
@kittsfu
Kittsfu, I have another project to work on, but i'm planning to use economy system in this plugin. Just I need some time. :)
@Reactorx7
i forgot to check to see if you replied, thanks for adding the nodes! kitssfu described it in a much better way then i would have
how about making it so one gold ingot will return only a certain amount of uses?
@kittsfu
You gave me great ideas to improve the plugin, thanks. :) I will make an update next week.
Perhaps add so that it works with economy plugins, using currency as payment. BOSEconomy is the one i most want you to link to this, since that's what i use. :D
.. And to answer your post below, here is my answer to the question you asked of him.
The permissions could be: Nodes - what they do:
Why these permissions? Then you could make it so:
And perhaps, if you add an 10% chance of failure on repair. That'd make it a bit more fun. The procent chance to fail would be configurable in the config file.
@titen96
I didn't think it necessary, what permission do you want to allow/deny to users?
Are there permission nodes to use it?
@damnnicholas
I like it! Thank you :)
@xH3LLRAIZ3Rx
The plugin is fully configurable, you can change the required item's typeid in the yml file.
Will you add emeralds as a alternative currency instead of gold?
Hey, i made a little showcase video on your plugin :) Hope you'll like it!
Link to video: http://www.youtube.com/watch?v=k1G_nTCydqI&feature=youtu.be
@Reactorx7
Awesome thank you very much, if I think of another good idea I tell you :D
@Enrux
Thank you Enrux!
I'm planning to improve the plugin ~ just like you said. :) It will use YAML configuration and you will be able to change needed funds (incl. amount), also translate (or simply change) messages.
Update is coming soon. (in 3 days).
Great plugin :D ! Awesome that it is so simply
I tell you some of my ideas, you see whether you like them: 1. Ability to set the custom gold ingots needed for each repair 2. Ability to customize the messages when you repaired an item or if you don't have suficient funds. (if there are messages) 3. Ability to customize many items to have for each repair.