#removing tags based on namespace

1 messages · Page 1 of 1 (latest)

night ore
#

how can i remove all the tags of a player, that contain a specific namespace?

(the exact part i need help is detecting if a tag has a certain namespace, the part of removing i already know)

solid valley
frank violet
#
for(const tag of player.getTags())tag.startsWith('namespace:')&&player.removeTag(tag);```
#

literally a copy pase snippet