Switch to configuration based events on Paper#6248
Conversation
Not sure if this is out of scope for this PR; however, the PlayerLoginEvent is now considered deprecated on newer versions of Paper. Maybe the AsyncPlayerPreLoginEvent should be used instead? |
this pr moves us away from the PlayerLoginEvent on paper :)) |
Ah yeah, must’ve misread. I saw the event still used elsewhere without realizing that it was intended for Spigot |
# Conflicts: # Essentials/src/main/java/com/earth2me/essentials/perm/impl/LuckPermsHandler.java
EssentialsX@37e1054 Switch to configuration based events on Paper (EssentialsX#6248)
Moves away from PlayerLoginEvent on Paper and makes use of the new configuration state to load user/locale data during configuration phase. Not only does this ensure all I/O is done async before the player even joins but also finally allows us to actually set the join message in the PlayerJoinEvent.
This also fixes #5796 and closes #5848