Module: back
Overview
This module allows players to teleport back
to:
-
Their last teleport point.
-
Their 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...
{
/* Ignore `this teleport` if the `distance` is too close in between. */
"ignore_distance": 32.0
/* Should we save the location on player death? */,
"enable_back_on_death": true
/* Should we save the location on player teleport? */,
"enable_back_on_teleport": true
/* Max saved location slots. */,
"max_back_location_entries_to_save": 3
}
- File Name:
location-history.json
- File Content:
Click to see the default
content...
{
"player2history": {}
}
Jobs
-
Job Name:
ConfigurationHandlerWriteStorageJob
-
Document: This
job
is used towrite data
frommemory
intostorage
.NOTE: If you modify the
file
indisk
, then you need to issue/fuji reload
as soon as possible.NOTE: The
disk
will beoverridden
whenfire
this job.
Commands
-
Command Syntax:
/back
-
Document: Back to the specified location.
-
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null
-
Command Syntax:
/back 1 <Dimension targetDimension>
-
Document: Back to the specified location.
-
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null
-
Command Syntax:
/back clear others <PlayerCollection others>
-
Document: Clear the back location history.
-
Can be executed by console:
true
-
Required Level Permission:
4
-
Required String Permission:
null
-
Command Syntax:
/back clear <ServerPlayerEntity player>
-
Document: Clear the back location history.
-
Can be executed by console:
true
-
Required Level Permission:
4
-
Required String Permission:
null
-
Command Syntax:
/back <int lastNLocation>
-
Document: Back to the specified location.
-
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null
-
Command Syntax:
/back <int lastNLocation> <Dimension targetDimension>
-
Document: Back to the specified location.
-
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null
-
Command Syntax:
/back list
-
Document: List the back location history.
-
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null
-
Command Syntax:
/back list <ServerPlayerEntity player>
-
Document: List the back location history.
-
Can be executed by console:
true
-
Required Level Permission:
4
-
Required String Permission:
null
-
Command Syntax:
/back push
-
Document: Push current location into the back location history.
-
Can be executed by console:
false
-
Required Level Permission:
4
-
Required String Permission:
null
-
Command Syntax:
/back push others <PlayerCollection others>
-
Document: Push current location into the back location history.
-
Can be executed by console:
false
-
Required Level Permission:
4
-
Required String Permission:
null