Posted December 12, 201212 yr Is there something that detects when a player leaves a server or a single player world? "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
December 12, 201212 yr You can register a Player Tracker in the event bus on server init. Your Player Tracker class that you register needs to implement IPlayerTracker. With that you have access to four methods; onPlayerLogin, onPlayerLogout, onPlayerChangedDimension and onPlayerRespawn. If I helped you, thank me. If I didn't, let me know.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.