Files
Josh Roy 8013feb70c Fix newbie messages not firing for new players on modern Paper (#6571)
Player#hasPlayedBefore() is unreliable since the switch to
configuration-phase events, as player data is persisted during login, so
genuine first-joiners were treated as returning players. This broke
EssentialsSpawn newbie spawn/kit/announce-format (#6466).

Add a firstJoin flag to AsyncUserDataLoadEvent, derived from
EssentialsX's own user data, and use it in EssentialsSpawn and
EssentialsDiscord instead of hasPlayedBefore().

Fixes #6466
2026-08-22 20:50:36 +00:00
..
2021-06-07 08:17:39 -04:00