Invisible Armor
Invisible Armor
Show your skin without losing armor
Is a shame that while there are tons of cool skins everywhere you can't show it because mostly must be covered by the armor... all look the same, you cant express your individuality and style... now with this plugin you can proudly show your cool skin to everyone without lose armor benefits
General usage
- type "/ss" command (stands for "show skin" or "save suit")
- your currently equipped armor suit will store in a safe place
- when you recieve some mitigable damage, your armor will be re-equipped just to absorb it
- you will recieve chat messages on armor durability changes
- type "/ss" command to show your armor again and let it accesible
Features
- install plugin as usual, by copying .jar file to plugins folder and reload server, compatible with all server versions
- DAMAGE RECALCULATION on damage event before wear saved armor
- armor STATUS MESSAGES, to prevent unnoticed breaks and going unprotected
- some ENCHANTMENTS COMPATIBILITY, see note below
- plugin action customization (auto hide armor timeout, display messages, etc)
- armor saved in hidden chests, so are saved together with the worlds
- security against over equipping to avoid item loss or duplication
- localization support
How plugin works
- captures armor mitigable damages before they occurs
- check if player has a saved armor suit
- recalculates armor protection values
- look if there is some applicable enchantment and recalculate values too (see notes below)
- visibly equip armor for specified timeout
- on more damage coming timeout will update, until explicit equip or unequip
Armor and enchantments
all armor pieces, pumpkins and mob heads are compatible... but the only compatible armor enchantments are the "protection" ones (those that directly absorb some health loss when damage occurs, including fall protection)... falling anvils are also compatible
for "underwater" and other skill enchantments you must equip your armor explicitly according situation... durability and "thorns" enchantment are processed after damage and has nothing to do with this plugin, so things like item breaking, unbreaking and damage bounce work out of the box
Source code
can view source at GitHub... feel free to browse the code and see how plugin works, and do some contribution
Please report bugs
i worked hard making this plugin bug free, but in case you found some one i will appreciate if you report here to fix it, in that case please also include steps to reproduce the problem
More info
Formerly "ShowSkin", this is not really an "invisible armor" plugin, but a "hide armor while no damage" one
I decided to make it because i used to use "armorhider" plugin a lo,t but sometimes i got my armor broken without notice until my death (i suggested put warnings without beign heard)... moreover i noted is useless by now because damage reductions (armor, enchantments, etc.) are calculated BEFORE damage event occurs, so even though your armor were timely equipped it wont help and you will get full damage
i also saw some plugins that reach similar goals trough ProtocolLib, but the downside is as it works over the network you always see your armor equipped, you dont see your own skin regardless you are hiding for others or not
orgullosamente hecho en chile
Trying this out on my server and it works great. I do see one glitch, and that's loss of items equipped while armor is hidden. Say I hide my armor and then put on Elytra or a Pumpkin. If I then take damage, the armor reappears briefly to protect me, but the other item is gone. No big deal for the pumpkin, but losing Elytra would pretty much be a rage quit for most folks. I think it should either "swap" the over equipped item to the hidden chest, putting it back when the armor is rehidden, or just stop me from equipping the extra item. The latter might be easier to understand, and make more sense from a semi-vanilla POV.
@dimdel
thanks for your support
there are no permissions support, this plugin is intended to be used by everyone ... but you could browse the source code and propose some patch if you want
if you like this plugin tell your friends, and get updated by subscribing in the tab above
thank you for the great plugin! and a question. are there any permissions to allow only specific players to use /ss?
@Kaezoncito
thanks compadre
just uploaded v3.... now saved armor are properly dropped when player dies, this time works guaranteed... i had to wrote a dedicated method, sorry for the inconveniences
about printing some characters in config.yml locale section... had you tried by enclosing strings with quotes or escaping chars with a bacskash? .. (mira ESTA pagina)
about "underwater" enchantments (currently only 3) im afraid you have to wait some time... nowadays i am busy doing a simplified fork of MyPortals plugin and with my life ... i think underwater enchantments are utility ones that enhances some skill and dont directly protects you from damage...
... for now i dont see big troubles in notice you are underwater and manually equip the appropiate armor for your needs.. some players even keep specific armor suits just for special cases like this
sigue asi, nos vemos
Ok, my english is not perfect but I will do my best ;)
There is still a bug in the drowning drop, because the equipment dissapear after death (I mean, not dropping, just "destroying" it or something similar). You can do some tests, digging a little hole and using a water bucket, just do it and you will see what I mean.
Another thing is that the plugin give me many errors when I tried to change the some messages in config.yml, specifically this line (saveArmor: armor hidden) to this (saveArmor: [InvisibleArmor] Armor hidden). I believe that the error is produced by "[ ]" chars... do you know if there is a way to put that message without errors?
About the underwater enchantments, hope you can find a way to do that (searching some event that says if you're underwater or similar), It will be nice not losing that enchantments if you forgot to put /ss before go underwater.
see ya and thanks for your work ;)
EDIT: just uploaded version 2 that fixes not dropping armor on some death types, now should drops on every deaths
@Kaezoncito
wena socio .... por favor responde en ingles para que todos puedan saber de que se trata, no sea una conversacion cerrada, y el plugin tenga mejor desarrollo
--
thanks for your report... youre right, soon i will add a code that drops your saved armor immediately in case of whatever death
about "underwater" enchantments, never thought about that, this plugin is intended mainly to show skin without beign "naked", and underwater enchantments does not actually reduce damage .. i think could be complicated, i dont know any event that fires when player touch water, i will search about it sometime
about transparent armor textures, i believe is rendered client side, so you could mod your client but will be the only person that sees your armor transparent
see you
Otra cosa que noté es que hay ciertas situaciones que la armadura no se te cae al morir, por ejemplo, cuando mueres ahogado. En las situaciones de daño físico/explosiones, sí se cae.
El tema de algunos enchantments que son útiles como Respiration, Aqua Affinity, Depth Strider, entre otros... hay alguna forma de que se activen? Leí que pusiste que debes ponértelos explícitamente, pero se me ocurre que por ejemplo cuando toques el agua, se te equipen automáticamente las armaduras con esos enchantments en específico (no sé cuán posible es algo así)
Por último, se pueden crear armaduras con texturas transparentes? igual sería gran solución al tema de los enchantments (onda copy pastear el diamond_chestplate pero cambiar las textura a una cosa completamente transparente)
Saludos! :)
@Kaezoncito hola compadre gracias por tus sugerencias
thanks i appreciate your comments, however this plugin is intended to show your (full) skin to your neighborhood, so for example if you want to show your head for a little cost you could wear full set armor without helmet, or use an armor looking skin
other aspect to note is that plugin is compatible only with temoral damage "protection" enchantments (including "fall protection"), read updated description
in addition it would bring more complications to code development and plugin mechanics, so as i am busy with other stuff it will stay as is for now
(tiene que ser un producto de exportacion internacional la wea ;))
Parece que el asunto con la armadura y caballos, era impresión mía, funciona bien :)
Weeeena compadre, se agradece el plugin un montón! Funciona perfecto para un servidor Spigot 1.8.7 con Java 8 (última update)
Voy a estar revisando para cuando saques nuevas actualizaciones :)
Como idea para nuevas versiones, podrías poner la funcionalidad de esconder parte de tu equipamiento de forma selectiva (algo como lo que hacía "armorhider"), además de implementar el "help" del plugin (en este momento si tiras help, no sale nada)
Saludos y gracias nuevamente!