ArmorHUD
ArmorHUD
Description
ArmorHUD is a plugin that provides on screen information of your armor durability. This plugin has a soft dependency for Vault. If you do not wish to use permissions set the permission-system option in the Config file to none. This allows everyone on your server to use ArmorHUD.
Setup
- Download the .jar
- Copy it to your plugins folder
- Start the server
- Optional: Set up permissions
Permissions
Permission | Description |
---|---|
armorhud.use | Gives the player permission to use ArmorHUD |
armorhud.reload | Gives the player permission to use the /armorhud reload command |
Commands
Command | Description |
---|---|
/armorhud on | Activate the ArmorHUD |
/armorhud off | Deactivate the ArmorHUD |
/armorhud alert | Activate the ArmorHUD in Alert mode, only armor below 10% durability will show up |
/armorhud auto | Activate the ArmorHUD in Automatic mode, the HUD will only show up if you are wearing any armor |
/armorhud reload | Reloads both ArmorHUD config files. Operator status or armorhud.reload permission required for access to this command |
Config
-config.yml
Config option | Parameters | Description |
---|---|---|
compatibility-mode: | true/false | Set this to true to allow this plugin to work alongside with other scoreboard plugins not using the sidebar slot |
permission-system: | none/bukkit/vault | Set this to vault or bukkit to use a permission system. If set to none (default) all players will be allowed to use ArmorHUD |
startup-mode: | 'off'/'on'/alert/auto | You can determin here what mode should be the default ArmorHUD mode for connecting players. Use apostrophes if you use the 'off' or 'on' parameter |
startup-message: | true/false | This allows you to disable messages from ArmorHUD on player joins when you have ArmorHUD configured to start for connecting players (startup-mode). |
percentage: | true/false | Set this to true to display armor durability in percentages |
fixed-position: | true/false | Set this to true to display the hud values in a fixed position (img) |
blocked-worlds: | worldname1, worldname2, etc. | Any worlds listed here will prevent ArmorHUD from working there |
Language Config
-language.yml
Helmet: | <Custom helmet name> |
Chest: | <Custom chest name> |
Legs: | <Custom legs name> |
Boots: | <Custom boots name> |
YouTube
Plugin showcase of ArmorHUD v1.0.
MCStats Metrics
MCStats collects data such as which bukkit or ArmorHUD version you are running. You can find more info here: http://mcstats.org/learn-more/. Do you want to opt-out? Go to the PluginMetrics folder. In the config.yml there set opt-out to true.
Feedback
Any feedback is appreciated. Please make sure to use the Ticket System if you are reporting a bug. Thanks!
If you enjoy this plugin feel free to show your appreciation: :')
@riebie
Submitted two tickets about two different issues.
@Teralkin No to customizable hud name, assuming you mean the gray ArmorHUD text. I want it to be recognizable as ArmorHUD at all times.
Blocking ArmorHUD from working on certain worlds would be doable, so maybe.
Can you make it so you can customize the Hud Name and colors? Also only work on certain worlds perhaps?
@deaddude22 Thanks I'll look into it. Next time please report bugs via a ticket btw.
I found a bug in the plugin where if you were on fire or in lava the scoreboard will blink rapidly and this i believe could cause extra lag, such a memory leak.
@riebie
Ah alright i understand the unbreaking. For the tools could it be the item you are currently holding in your hand and if it doesn't display right away all you gotta do is hit with it once or something.
@TommehRRR Go find your own project to work on xD
I will release the source code if I ever abandon the project.
@deaddude22 Yeah the armor pieces also bounce around. I think that's less of an issue because they're all armor. Would be kinda weird to have a sword or tool randomly floating around in there.
If it's really a wanted feature by more people I'll consider adding it as an option though. Could you explain to me exactly which sword/tool should be displayed? Would it be the item held in the most left slot of the hotbar? Would it auto-detect any sword anywhere in the hotbar?
EDIT: Oh and yes the plugin supports armor with unbreaking. There's no real difference. The armor points of a piece of armor with and without unbreaking are exactly the same. Only the piece with unbreaking has a certain chance of not lowering in durability after taking a hit.
@riebie
True the values are shown on the sword automatically in your inventory but it would still be nice to know the exact # of hits you can take before it goes away. Also wouldn't the armor bounce around too due to value as you said it would with weapon/tool durability?
Does this plugin also support unbreaking armor though because it doesn't appear to do so.
Will you be releasing the source code sometime?
I'd love to add some features, maybe pitch in a little ;)
It's perfect. Thanks again friend.
Released v1.5.1 now awaiting file approval.
No new mechanics, just various bug fixes.
Thanks guy for your support, you're the best .
@deaddude22
As I already said to Finelarme2, what's the point of displaying tool/weapon durability in the ArmorHUD when your tool/weapon already has a bar directly beneath it displaying the durability?
Also keep in mind that if I added it, it wouldn't stay in a fixed position in the HUD. It would auto-sort on the values and mingle in between the armor durability o_O.
@Finelarme2 I tracked down that issue and it will be resolved in the next update.
@riebie
Would it be possible to display the durability of the current tool/weapon you are holding?
Yes it's true. I send you an error ticket for another thing, do you receive it ?
@Finelarme2Hi, thanks for your reply.
Both your (hero's?) health and weapon's durability are displayed prominently on your screen already. I see no reason to clog up the ArmorHUD display with that info?
Hi, thanks for your plugin.
Could we have a weapon health indicator maybe ?
And the health of our hero too ?
@rasnyderiii Thanks!
What kind of data are you thinking of displaying there?
Really cool ideas... consider a "player tab" version?
First of all ArmorHUD does not support plugins using the same scoreboard sidebar slot. Doing /armorhud on again should make the hud reappear. Opening and closing the inventory might trigger the hud to reappear as well.
If you're using compatibility-mode it might cause a client crash though. What it comes down to is that I can't work together with other plugins messing in the same sidebar slot.