FixIt
FixIt is a lightweight plugin with a simple command to fix an item that has durability. This can be useful on a number of occasions, and it has a simple permission that you can give to donators so they can use it! I made this plugin while looking for something like it, but didn't see any, so I made my own.
Installation
Just drag and drop into your plugins folder! Easy as that!
Commands
/fix - Fixes the item in your hand!
/fix {playername} - Fixes all items in that player's inventory!
/fixall - Fixes all fixable items in your inventory!
/fixchest - Fixes all fixable items in the chest you are looking at!
/fixconfig - saves/reloads the config
/fixcd (# of seconds) - sets the cooldown to the number of seconds
Permissions
fixit.fix - allows the use of /fix
fixit.fixall - allows the use of /fixall
fixit.fixchest - allows the use of /fixchest
fixit.config - Allows /fixconfig and /fixcd
Changelog
v1.0 - First release!
v2.0 - /fixall added, allows use of /fix {playername} to fix their inventory
v3.0 - /fixchest added
v4.0 - Added cooldowns and config, check config here: Default Config
v4.1 - Added support for trapped chests.
v4.2 - /fixall now repairs armor.
v4.3 - Added /fixcd and /fixconfig
You can do something to repair really all repairable items? I mean, even the moded/forge items? I know this posible, because the plugin preciousstones can make repair blocks that covers even the forge items on a mcpc server but I want something more...instantaneous hehe I know, it's too much ask but I had to try :'v
Really nice plugin, but some commands don't work for me. Also it would be nice if it would tell you how long until you have your repair. The commands that don't work for me are the /fixconfig and the fixcd commands. Also I am unsure if the cooldown I put on the fix works. Thanks!
There is a problem with the timing if i put 34200 (12 hours) its only like 2 hours orso
And if the server restarts all things reset so you can do /fixall again...
Hope you can fix it :)
@makmn1
I figured out that the problem was not this plug-in itself but was my permissions, I was using PermissionsEX and now when I switched to Group Manager it works perfectly. Great plug-in by the way.
@JellybeanPrince There is a bug where when you do the command it changes your God apples to normal Gold apples and ur Potions to water bottles! please fix!
I just installed it on my server but I needed to add permissions for default user so I typed in my permissions.yml "fixit.fix" (without quotes) under all my other permissions and it still does not work, any ideas?
@shady6758
4.3 has been released! I have added 2 new commands, /fixconfig which saves/reloads the config and /fixcd (#number of seconds) which sets the cooldown to the number of seconds You need to add the permission 'fixit.config' to anyone you want to be able to use these commands.
Everytime i change the cooldown time and i save it, when i test it it doesnt work, it gets changed back to the original settings.
@niftyapple Hey, I've taken an EXTENSIVE break from coding. Fixing this error now, will re-upload as 4.2 :)
@JellybeanPrince
Yep, I sure am the admin of MCM! :)
One other issue I would like to bring up, when using fixall, it does not repair the items you are wearing.
@niftyapple
Alright, under the changelog, I linked to the default config. BTW, are you really an admin of Minecraft Mondays?
one issue, your config is blank. I cant set the cooldown time since there is no configuration line items. I just tried regenerating it and its blank.
@niftyapple
Uploaded + approved.
@niftyapple
I'll work on it.
Support for Trapped Chests?
http://puu.sh/5KpnZ.jpg
@GoldenEagle1995
Posted the file, will take a bit for Bukkit Staff to approve it.
This will generate a config for you, and in it, you can set the seconds for the cooldown, and enable/disable cooldowns themselves.
@GoldenEagle1995 Sure! I'll get on that.
hey can you please update it and make it have some kind of delay because I dont want my donators to abuse it
YEAAHAAA!
15 more!