Added offline player handling

Signed-off-by: BuildTools <[email protected]>
This commit is contained in:
BuildTools committed 2021-07-12 23:12:00 +03:00
1 parent 8b104a04cd
commit 10210da792
8 files changed
+82 -15

No files matched your search

+2 -1
View File
@@ -105,4 +105,5 @@ command_list_header: '\n[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)'
error_invalid_on_arrival: '[Error:](#ff3300) [Failed to finish your teleportation as the target world could not be found.](#ff7e5e)'
tpignore_toggle_on: '[You are now](#00fb9a) [ignoring](#00fb9a bold) [incoming teleport requests.](#00fb9a) [(Click to toggle)](gray show_text=&7Click to listen for incoming teleport requests run_command=/huskhomes:tpignore)'
tpignore_toggle_off: '[You are now](#00fb9a) [listening](#00fb9a bold) [to any incoming teleport requests.](#00fb9a) [(Click to toggle)](gray show_text=&7Click to ignore incoming teleport requests run_command=/huskhomes:tpignore)'
error_ignoring_teleport_requests: '[Error:](#ff3300) [You are currently ignoring teleport requests!](#ff7e5e) [(Click to toggle)](#ff7e5e show_text=&#ff7e5e&Click to listen for incoming teleport requests run_command=/huskhomes:tpignore)'
error_ignoring_teleport_requests: '[Error:](#ff3300) [You are currently ignoring teleport requests!](#ff7e5e) [(Click to toggle)](#ff7e5e show_text=&#ff7e5e&Click to listen for incoming teleport requests run_command=/huskhomes:tpignore)'
error_no_offline_position: '[Error:](#ff3300) [Could not find where %1% last logged out from](#ff7e5e)'
+7
View File
@@ -100,6 +100,10 @@ commands:
usage: /tpignore
permission: huskhomes.tpignore
aliases: [tpaignore, ignoretprequests]
tpoffline:
description: Teleport to where a player was last online
usage: /tpoffline <player>
permission: huskhomes.tpoffline
rtp:
description: Teleport randomly into the wild
usage: /rtp
@@ -227,6 +231,9 @@ permissions:
huskhomes.tpignore:
description: Allows you to ingore teleport requests
default: true
huskhomes.tpoffline:
description: Allows you to teleport to where players logged off
default: false
huskhomes.back.death:
description: Allows you to return to where you died
default: true