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?

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.