New Placeholder to lang
itsme-to opened this issue ยท 8 comments
Feature description
Add a new placeholder for lang message that return the player name, not displayname.
How the feature is useful
Really usefull to make clickable button like, tpa accept, tpa cancel,... Otherwise the commands cannot be executed if the person has a nick, a colored name or a prefix. Example, it's try "/tpaaccept &c[Admin] Itsme_to"
isn't it already available? "{USERNAME}"
https://essentialsx.net/wiki/Keywords.html#:~:text=player%27s%20display%20name.-,%7BUSERNAME%7D,-The%20player%27s%20username
Message files use a completely different setup for the placeholders. if you need it to be a username, disable change-displayname
in the config.
You will have to reconfigure your chat format to use {NICKNAME} if that's what you're referring to.
No, I mean any nick plugin or other that change the display name will break the clickable message/