Module: back
Overview
This module allows a player to teleport to their last location.
The last location can be:
-
Their last teleport location.
-
Their last death location.
Configurations
The following JSON content is provided for reference only. It must NOT be copied directly into the configuration directory, as it does not represent valid JSON syntax.
- File Name:
config.json - File Content:
Click to see the default content...
{
/* Do not push the current `location` if it is too `close` to the most recently pushed `location`. */
"do_not_push_back_location_if_closer_than_n_blocks": 32.0,
"push_back_location_on_player_death": true,
"push_back_location_on_player_teleport": true,
"max_back_locations_to_save": 3
}
- File Name:
location-history.json - File Content:
Click to see the default content...
{
"player2history": {}
}
Jobs
-
Job Name:
ConfigurationHandlerWriteStorageJob -
Document: This
jobis used towrite datafrommemoryintostorage.NOTE: If you modify the
fileindisk, then you need to issue/fuji reloadas soon as possible.NOTE: The
diskwill beoverriddenwhenfirethis job.
Commands
-
Command Syntax:
/back -
Document: Teleport to the last
onelocation in the location history. -
Can be executed by console:
false -
Required Level Permission:
0
-
Command Syntax:
/back 1 <Dimension targetDimension> -
Document: Teleport to the last
onelocation in specifieddimensionin the location history. -
Can be executed by console:
false -
Required Level Permission:
0
-
Command Syntax:
/back <int lastNLocation> -
Document: Teleport to the last
Nlocation in the location history. -
Can be executed by console:
false -
Required Level Permission:
0
-
Command Syntax:
/back <int lastNLocation> <Dimension targetDimension> -
Document: Teleport to the last
Nlocation in specifieddimensionin the location history. -
Can be executed by console:
false -
Required Level Permission:
0
-
Command Syntax:
/back clear <ServerPlayer player> -
Document: Clear the location history.
-
Can be executed by console:
true -
Required Level Permission:
4
-
Command Syntax:
/back clear others <PlayerCollection others> -
Document: Clear the location history.
-
Can be executed by console:
true -
Required Level Permission:
4
-
Command Syntax:
/back list -
Document: List the locations in the location history.
-
Can be executed by console:
false -
Required Level Permission:
0
-
Command Syntax:
/back list <ServerPlayer player> -
Document: List the locations in the location history.
-
Can be executed by console:
true -
Required Level Permission:
4
-
Command Syntax:
/back push -
Document: Push current location into the location history.
-
Can be executed by console:
false -
Required Level Permission:
4
-
Command Syntax:
/back push others <PlayerCollection others> -
Document: Push current location into the location history.
-
Can be executed by console:
true -
Required Level Permission:
4