4

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 *.

3
  • 1
    For entities you can set their data to {Tags:[]}, but I don't believe this is currently possible for players.
    – SirBenet
    Commented Aug 24, 2016 at 10:38
  • @colorfusion yeah, /entitydata doesn't let you change players. Commented Aug 25, 2016 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. Commented Aug 25, 2016 at 19:58

2 Answers 2

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!

2
  • 3
    That won't work. That resets scores. Tags aren't scores.
    – Skylinerw
    Commented Nov 12, 2016 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 Commented Nov 12, 2016 at 5:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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