Hey folks! Request: A plugin that allows users to hide all or part of their armor Suggested Name: ArmorHider Category: Fun (Maybe?) Command: /ah <boots/chest/leggings/helmet/all> [player] (allows admins to hide other player's armor) Desc: A lot of the people on the server I play on like to be able to show off their skins, while still maintaining armor for the PvE aspect of the game. Would anyone be interested in developing a plugin that would allow the hiding of specific pieces (or all) of armor via command line? Additionally, there seems to be a plugin that never took off similarly here. Thanks! EDIT: For readability
Not possible. You could make it if a player puts on armor and types /ah chest, it would remove the chest plate and add to their health and give them a % chance to take damage.
Using nms, this is possible. Or a library like ProtocolLib. With ProtocolLib, you could listen for packets being sent, and remove the armour from the packet containing armour.
Would this simply visually remove them in game but keep them in your armor slot? Also, anyone know how to do this? (Asking if anyone's interested on working on a plugin like this) The issue with that is that people cannot then use their own texture packs
I guess I should reword it. I would like the armor to still be visible in the slot, but on the 3D in game model I wouldn't want the armor to appear so to others it would appear as if you don't have any.
It has nothing to do with texturepacks? You would see it in the slot, but you would also see it only on yourself. Anyone else would see no armour at all. But you will see your own.
The best way to do this would be packet sniffing. Find the packet that contains equipment data, intercept it, remove the armor, and send it back on its way. It's the same basic principle behind Orebfuscator for instance, or the TagAPI. It's not incredibly complex, but it's not super convenient and thanks to Bukkit's new version safeguarding it will break with every CB upbdate.
Is anyone knowledgeable or kind enough to try and implement a plugin that could do this? I have very close to no experience in java or modding or plugin writing in general. I'm sure if it were made functional it would get quite the hype!
I add my vote for a mod that hide my armor.. i want the protection of my diamond armor and the visibility of my skins to other player on my bukkit server.