In the new version of Paper/Purpur 1.21.7, there are changes to the player login event. In future versions, the "PlayerLoginEvent" will be removed.
[21:14:24 WARN]: [HorriblePlayerLoginEventHack]
============================================================
WARNING: Legacy PlayerLoginEvent usage detected!
This event forces an alternative player loading path that is
deprecated and will be removed in a future release.
For more information, see: https://go.papermc.io/announcement/1.21.7
Please notify the following plugin developers: [VoidGen, DisplayEntityEditor, ProtocolLib, WorldGuard]
============================================================
In the new version of Paper/Purpur 1.21.7, there are changes to the player login event. In future versions, the "PlayerLoginEvent" will be removed.