-
Notifications
You must be signed in to change notification settings - Fork 1
EN 5 1 Back
中文版本 | English version
The back module can return a player either to their most recent death location or to the location recorded before the most recent TeleportCommands teleport.
Useful when a player needs to recover drops quickly, continue combat, or just confirm where death happened.
/back
/back <disableSafetyCheck>
/back death
/back death <disableSafetyCheck>
/back preview
/back tp
/back tp <disableSafetyCheck>Mainly affected by back.enabled, back.deleteAfterTeleport, teleporting.delay, teleporting.cooldown, teleporting.preloadEnabled, and teleporting.defaultSafetyCheck.
Without a subcommand, /back behaves like /back death. /back tp uses the location recorded before the latest TeleportCommands-driven teleport, which is useful after home, warp, worldspawn, or rtp. /back preview shows the currently available death and previous-teleport records in chat and includes clickable teleport buttons. It only previews records and does not start a teleport, cooldown, or delay.
The latest death location and previous-teleport location are both runtime-only records stored in memory, so they are cleared after server restart. deleteAfterTeleport only affects the death-location record; it does not apply in the same way to /back tp.
Whether the system tries to find a safer nearby landing point depends on teleporting.defaultSafetyCheck and teleporting.preloadEnabled. By default, both are disabled, so /back uses the recorded location directly. If target preloading and default safety checks are enabled, the system first tries to find a nearby safe landing point. This command is also affected by global delay and cooldown.
The most common oversight is that these records are not persisted across restart. After restart, records are gone even if the player died earlier or just teleported. Also, if there is no death record but a previous teleport location still exists, the mod will usually prompt the player toward trying /back tp.