Essentials
Essentials copied to clipboard
New Placeholder to lang
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
Not for messages
Not for messages
my bad. i thought they're also available for language files. im sorry.
Message files use a completely different setup for the placeholders. if you need it to be a username, disable change-displayname
in the config.
This does not fix the problem, so people can no longer have a nickname
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/
Not if you do what I just told you to do. EssentialsX will only use the username.