DurabilityNotify
Function
Notifies players when their tools or armor have low durability.
Armor Notifications (Pictured with mcMMO and CreeperNotify)
Check Armor Command /armor
Tool Notifications (Pictured with mcMMO)
Live Notifications /dura
So what will I get notifications for?
Well, pickaxes, shovels, hoes, bows, fishing rods, swords, axes, shears, flint and steel, and armor.
The plugin also features interval reminders and can remind players that their armor is at low durability every X amount of minutes, although it defaults to 30 minutes.
Permissions
- dura.tools To get tool notifications
- dura.armor To get armor notifications
Commands
- /dura Toggles Live durability notifications
- /armor Checks current armor durability
Default Configuration File
See it here
Bugs
It's very possible. Please fill out a support ticket and/or comment below and I'll take a look at it. Be sure to include as much information as possible.
I'm Fixed this plugins for 1.8.1 (bukkit and spigot)
DL Link : CLICK LINK
Can you add the reload function to this plugin. Also can you let me set the notify message on my own.
Thank you :D
Okay, thanks guys. Updated.
@thexxstick
Thanks, looking into this now.
@MajikalBlood
It actually has a new configuration file, I just need to update the post here.
It throw errors if you punch someone with something wich have no durability like blocks, sticks, seeds,...
Could you add better configuration? 50% and 25% notification, message customization such as:
Customizing the warning formats with coloring each tool type/armor type Wood: &aWooden <Tool> Leather: &9Leather <Armor> Chainmail: &7Chainmail <Armor> Stone:&8Stone <Tool> Iron: &7Iron <Tool/Armor> Gold: &6Golden <Tool/Armor> Diamond: &3Diamond <Tool/Armor>
Testing this now...what exactly is broken? It seems to be working fine to me with craftbukkit 1.6.4 recommended build.
Outdated??? :( Gah! I will try to find time to update!
A shame this is outdated.
I switched to this from tool notifier since it hasn't been updated in awhile and has been having problems.
This plugin seems to fit my needs however I do have one request. Jumping from 10 hits left to 1 hit left for a tool seems a bit drastic. How bout you make the notification points 10,5,3,2,1 by default. It would be extra nice if you could place the setting in the config file too.
Thanks for the plugin!
- - AlexCory
I (FINALLY) got around to testing the simplenotice support, and can confirm that unfortunately, it doesn't work yet.
Everything else works great though :3
This seems like a amazing plugin when I get my server running I will send a donation your way.
@SeeD419
It IS a client mod :D
The point is, it makes another chatbox for notifications top left of the screen, to clean up the normal chatbox in places where too many people are talking at once.
Thanks a tons! :D
@UltrafaceGuy
Done my friend. There is now a reminder thread that can fire every X amount of minutes.
Compatibility with SimpleNotice *may* work but it's untested. Looks like some kind of client mod.
I love this plugin! That being said...
BIG request time!
Part 1: Could you make a notification for armor that runs every X minutes (configurable) that notifies players that their armor needs repair 'Your armor is low on durability!', for under a configurable value? The [Warning] tag probably wouldn't be needed for this one, as one wouldn't want to add that to the auto message. (lolspam)
Part 2: Could you add support for http://dev.bukkit.org/client-mods/simplenotice/. That's the tougher one. As 'Part 1' could get a little spammy for people without SimpleNotice, a separate command for timed notifications would be much appreciated!
Combining parts 1 and 2 would make for a very very smooth experience for my server, and I hope, for others as well. I know this is a lot to ask, and quite frankly I don't expect it to become a reality.
But hey, it can't hurt to try, right?
@adam_daniels
Thanks for the heads up about that. It's easy enough for me to change that, and I'd rather be safe than sorry.
I have a suggestion for optimizing your code, from looking at the source. It may not make too much of a difference, but this is a good practice to get into.
For the reason shown below, this is not recommended. I would suggest using a <String, Boolean> layout, and player.getName() when the notification is enabled.
Taken from ferrybig's profile signature.
Memory leaks: - Player loggs off: Javas GC can't remove it cause your list/set/other still contains it. So you still have the whole instance of the player (with the IP, the real name, the display name, the list name, the health, the potion effects, ...) even if minecraft tries to save it to disc and unloads it from ram. - Multiworld (or some other multi world plugin) unloads the world the (maybe since two or more days... but still in your list...) logged off player was in. The GC can't remove it cause there's still that player instance in your map, which is holding the world loaded, which prevents the GC from releasing RAM...
@ViscousSummer88
Will do, just working out some other bugs first.
Really, really like this plugin!
Suggestions:
> Please add Axe notifications
> Possibly add a separate node for armor