I need /setname [customnickname] and /resetname
command /setname [<text>]:
trigger:
set player's displayname to arg 1
set player's tablist name to arg 1
set {setname.%player%} to arg 1
set {setname.chat.%player%} to true
every 1 seconds:
loop all players:
set the loop-player's display name to "%{setname.%loop-player%}%"
set tablist name of loop-player to "%{setname.%loop-player%}%"
set display name of loop-player to "%{setname.%loop-player%}%"
This only changes the nicknames in the chat and the nicknames in the tab list, and does not change the nicknames that actually appear on the player's head.