i teleport player on PlayerQuitEvent but after join, player is still on the same place where left. why? or how to make it?
ano jenže já nechci teleportovat každého hráče a tudiž bych to musel ukládat bud do databáze nebo do konfigu a to se mi nechce když by to mělo fungovat i na QuitEventu
You're trying to teleport them after they're gone?? Who are you trying to teleport? Teleport on a PlayerJoinEvent! You cant do it on PLayerQuitEvent cuz that player will be already gone when you gona try to telport him
PlayerRespawnEvent is fired when the player joins. This is a new API change. Always modify the spawn position in PlayerRespawnEvent.
But when is server offline when player is away so i need to save data. So is not there another way how to make it on leave?
maybe it is because i posted thread about ColorMatch because they delete it but other users post their plugins here too sometimes but they are not banned