I’ve been looking through events and the forums to find a way to check a player has switched worlds, however, I haven’t been able to find anything.
The only thing I’ve been able to find (which I’m not even sure is correct) is org.spongepowered.api.event.entity.SpawnEntityEvent, which not only returns a single entity, it’s most likely also called whenever a player joins the server.
What would the correct way of doing this be? Thanks.