This plugin works by saving the
last known location of a player in players.yml.
Each player location is stored using the following format:
x;y;z;pitch;yaw;world
lastLocationChanged Value
There is an additional value called lastLocationChanged:
- false
The player’s location was saved naturally (for example, when the player leaves the server or the plugin saves data normally).
- true
The player’s location was manually overridden by an admin, for example by teleporting them using the main command.
Join Behavior
- If lastLocationChanged is false, the player will NOT be teleported when they join.
- If lastLocationChanged is true, the player WILL be teleported to the stored location when they join.
Important Notice
If the plugin is
disabled by another plugin, it will
not be able to properly save the latest location of an offline player.
This happens because OfflineTeleport cannot detect the player’s location when they leave in that scenario.