activation
1. enable cheats and beta APIs

2. Activate the add-on in the world

commands
There are the commands /nick and /nickname, which allow you to change your name tag. Although the commands have different names, they do exactly the same thing.
name: the name of the player you want to change. It is also possible to use @a or similar.
nickname: the target nickname you would like to use
/nick <name> <nickname>

Note: The name is purely visual both in the chat and above the player which means that behaviors (such as those triggered by commands) remain the same.
reset nickname
To revert a player's nickname to its original state, simply use /nick <name>. This will reset the nickname to its original form.

:user:
If :user: is used in a nickname, it is subsequently replaced by the original name, which could be used, for example, to create ranks.

Chat and player name



