EssentialsX

EssentialsX

2M Downloads

Toggling AFK Resets Display Name

iMxAndyy opened this issue ยท 2 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=635efd5d96df4fd6b07f83b7c881d0c4

Error log (if applicable)

No response

Bug description

The issue seems identical to the issue resolved in issue: #1923
The only difference being that it corrects itself about 2 minutes later.

When players with a nick applied go AFK, either manually or automatically their display name gets updated to their unformatted player name. so any references to their display name placeholder show their unformatted name.
This then updates itself back to their formatted display name about 2 minutes later.
Or if the player sends a message in chat it updates back to their display name right away

Steps to reproduce

  1. Have a nickname applied
  2. go afk (either with /afk or by waiting)
  3. The name displayed in tab and any other plugins that reference the display name placeholder will show the unformatted player name
  4. go un-afk either by any method and this does not correct itself
  5. wait 2+ minutes or send a message in chat and it corrects itself

Expected behaviour

going afk shouldn't impact the player's name in any way.

Actual behaviour

going afk sets the players display name to their player name temporarily

commented

Hey @iMxAndyy, exactly what placeholder are you using, and where at? I'm unable to reproduce this using {PLAYER} on the afk-name-list provided in the EssentialsX Config, and even double checked with the PlaceholderAPI placeholder %essentials_nickname%, both of those returned my nickname as it was supposed to be, while being afk.

commented

Closing for inactivity. Can be re-opened if issue receives any updates.