3

I am trying to remove all worn equipment (in addition to inventory) of a player when they enter a certain area. /clear removes inventory items correctly, but not worn equipment. I am wondering if it is a plugin issue with Essentials? Is there a way to clear worn equipment with command blocks?

1 Answer 1

10

/clear works fine for me. Try using the vanilla command rather than the one from Essentials, if possible, you do this by using /minecraft:clear.

Alternatively, you could try using /replaceitem with air, like this:

/replaceitem entity @p slot.armor.feet air
/replaceitem entity @p slot.armor.legs air
/replaceitem entity @p slot.armor.head air
/replaceitem entity @p slot.armor.chest air

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .