Read "automatic-logout.enabled" setting outside of the loop
If player login has been disallowed, do not proceed
Cache account data between PlayerLoginEvent and PlayerJoinEvent