ArmorHider [Inactive]
Do you like the protection of armor, but hate the way it looks? Then this is the plugin for you!
Thanks to VariationVault for the video!
Features:
- Use commands to hide any piece of armor or the enchantments on armor
- Use commands to hide another players armor
- Upon taking damage that would be reduced by armor or enchantments, the player's hidden armor will be revealed instantly
- Armor can be automatically re-hidden if the player is granted the appropriate permissions
Falling with hidden Feather Fall enchantment on boots will reveal the enchantment- Removed
Commands:
List of commands:
- /hidearmor <args>
- /showarmor <args>
- /hideenchant <args>
- /showenchant <args>
Aliases:
- /ha for /hidearmor
- /sa for /showarmor
- /he for /hideenchant
- /se for /showenchant
How to:
- /<command> <armor piece> - Runs the specified command on your own armor (i.e. /ha all).
- /<command> all -<armor piece> - Runs the specified command for all armor except the subtracted piece.
- /<command> <player> <armor piece> - Runs the specified command on the provided players armor (i.e. /showarmor Snnappie all).
There are a few different arguments available for each piece of armor. For instance, /ha hat and /hat helmet both do the same thing.
Permissions:
- armorhider.hidehat
- armorhider.hidechest
- armorhider.hidelegs
- armorhider.hideboots
- armorhider.hideall - Allows for the player to use all of the above and /hidearmor all.
- armorhider.hideother - Allows for the player to hide and show other players armor.
- armorhider.hideenchant - Used in combination with the others to allow players to hide enchantments on their armor.
- armorhider.autohide - Allows the players armor to be automatically re-hidden instantly
Source Code:
Want to laugh at my poor programming skills? Or perhaps you'd like to offer advice for me to improve? Whatever your reason - click here!
Planned Features:
Hiding enchantments on armor
Configurable timer to automatically re-hide armor after a player takes damage
- Support for economy mods and a configurable timer to reveal armor
@Lorev The problem dissapeard from my local testserver and I can't remember if I did changes after seeing the problem.
If anyone had the same problem please post a comment with details about the craftbukkit version, plugins and config used (permission plugins, etc). Thanks.
@Lorev
That isn't supposed to happen. It should force you not to put on the second helmet. I'll take a look - thanks.
-Snnappie
i think this issue could be also fixed if snappie make the armor shown while player has inventory open .. and you could see and remember you actually have an armor equipped with its durability
another (better) solution i think could be bukkit will omit model armor sent to be rendered in 3d view .. i heard this could be achieved with protocol lib
I noticed that; if you equip a armor piece (let's say a helmet for example) while you have already a piece of the same slot hidden, and then you make visible the armor again. You lose the second armor piece.
Is this known? And if it's so. Can this be fixed?
Anyway. Thanks for this plugin.
@Snnappie
I will test it again soon. An nothing special just essential's.
Hey the plugin doesn't support unsafe enchantments
@Snnappie
thanks .. worked perfectly!
however, is there any way to view armor bar? .. or at least armor equipped in your inventory? (with durability)
.. maybe wear your armor while are viewing your inventory? ... please
@zachrywilsn
I uploaded a fix for that error, will keep my eyes open as to what causes it to be thrown.
It's waiting for approval - look for v1.2.1.
@zachrywilsn
Someone else sent me this same error - it is quite strange. It implies you were wearing armor that wasn't considered standard.
I will release a patch right now that prevents that error from being thrown - but that still doesn't solve the root cause of why it's happening. Do you have plugins that allow you to place weird items on your body as armor? Like putting various blocks on your head?
I'd like to know what's causing that problem, but I haven't been able to re-produce it, unfortunately.
Please fix it takes my armor when this happens aswell! http://pastebin.com/ymfWPgJ0
@Snnappie
hi.. i really like you updated your plugin to 172, is a big hop!
looking the source (i am not a java expert) i notice you actually "unwear" your armor somewhere, hanging to "getDamage()" method to "rewear" your armor just before actually taking damage
i think this is not true "invisible" armor, actually i feel naked until somebody hits me, loosing the effect .. also is a little annoying not seeing your armor bar and have to write a command every time i get damage to re-hide my armor
i am talking about "not draw" (as in draw with lines) your armor in 3d world view, that way your armor are always worn and enabled but just undrawn
i heard you could achieve this by using "protocollib" to handle packets sent to client used to draw his 3d world view
@KoottaHigure
armorhider.autohide. It re-hides it immediately - you shouldn't see any delay in it happening.
Is there anyway to make the armor stay hidden permanently? Meaning it won't reveal when damaged by mobs or player?
@BoyDerAmBlockChillt
Did it stop working before you re-built it on 1.6.2? I've kinda lost interest in Minecraft recently so I've not been working on any mods.
Still works for me. I have recompiled it for 1.6.2.
@MisterMystery
Thanks. Timer option is yet to be implemented, been busy with school and other code recently. Finals are soon - then it's back to plugin development.
@AT_HE
I had thought about that, and initially hoped to have that in place when I began development. I didn't look into whether it was possible, given that this mod hides your armor on the server side.
However, you shouldn't have problems with your armor being destroyed while hidden, as the armor is revealed upon taking damage that would be protected by armor.
For instance, being hit by a mob or touching a cactus will reveal your armor, however, fall damage, starvation, drowning, etc will not reveal your armor. This way, you'll know if your armor is close to being destroyed, as it is revealed upon taking damage.
Additionally, armor is revealed upon any form of death, so that it is properly dropped upon death.
As for 1.5.2, I didn't officially update this plugin to the 1.5.2 library, and it should technically have problems with the new dispenser system of placing armor onto a player.
If you avoid using that, it -shouldn't- have any other problems, but you never know - Bug reports are appreciated.
If that wasn't the answer you were after, let me know and I'll try and help.
-Snnappie
hi.. exactly i was looking for since i use skins on my server :) .. seems to work in cb1.5.2 (certificated?)
but i have a question .. although i hide my armor, can i anyway see the armor bar? (the litle gray chests)
this could be the proof i have my armor -hidden- but -enabled-, and i worry since i cant see me wearing armor, i could forget to check my armor status and get the surprise my armor is totally destroyed
thanks
This is awesome. Works great on 1.5.2!
I love the timer option, too. Can't wait for updates! Keep up the great work.
Amazing!! thanks Snappie for the updates about this plugin!
@Invizibiz
I haven't done much testing - but it seems to be working fine with CB 1.5.1 beta.