EssentialsX

EssentialsX

2M Downloads

New Placeholder to lang

itsme-to opened this issue ยท 8 comments

commented

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"

commented

Not for messages
CleanShot 2024-05-02 at 11 09 21

commented

Not for messages CleanShot 2024-05-02 at 11 09 21

my bad. i thought they're also available for language files. im sorry.

commented

Message files use a completely different setup for the placeholders. if you need it to be a username, disable change-displayname in the config.

commented

This does not fix the problem, so people can no longer have a nickname

commented

You will have to reconfigure your chat format to use {NICKNAME} if that's what you're referring to.

commented

No, I mean any nick plugin or other that change the display name will break the clickable message/

commented

Not if you do what I just told you to do. EssentialsX will only use the username.