Minecraft – How to keep players from taking the armor from armor stands

minecraft-java-edition

I'm making a server, and there is a bunch of armor stand statues, but all the players will break them. How do I stop them from taking the armor?

Best Answer

To stop players breaking them, make the ArmorStand invulnerable:

/entitydata @e[type=ArmorStand,r=5] {Invulnerable:1b}

To prevent players from taking the items on the ArmorStand, use the DisabledSlots tag:

/entitydata @e[type=ArmorStand,r=5] {DisabledSlots:2039583}