5

In Minecraft, to remove a tag from a player (or entity), you use the command

/scoreboard players tag <player> remove <tagName> [dataTag]

If I potentially have multiple scoreboard tags on a player, is there any way to remove them all with one command? As far as I can tell, there's no wildcard for the above command: using * for the <tagName> tries to remove a tag called *.

  • 1
    For entities you can set their data to {Tags:[]}, but I don't believe this is currently possible for players. – SirBenet Aug 24 '16 at 10:38
  • @colorfusion yeah, /entitydata doesn't let you change players. – Hutch Moore Aug 25 '16 at 19:50
  • @colorfusion I suppose, since I specifically asked "is there any way", you fully answered the question, so if you post that as an answer I'll accept it. – Hutch Moore Aug 25 '16 at 19:58
0

There is currently no way to do this you have to remove them one at a time.

1

Try using:

/scoreboard players reset @a 

or to remove all scoreboard tags to a specific player, use (X=playername):

/scoreboard players reset X

I hope this was helpful, as I've seen your question on here for quite some time. Have a good day!

  • 3
    That won't work. That resets scores. Tags aren't scores. – Skylinerw Nov 12 '16 at 2:52
  • In that case, you'll have to use: /scoreboard player list and then remove each one by hand using: /scoreboard player remove X. X=scoreboard tag name – Isaac Knight Nov 12 '16 at 5:08

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.