Teleport types, cross-server respawn handling

This commit is contained in:
William committed 2022-08-22 23:28:46 +01:00
1 parent 8dff4a123a
commit f74f77c62d
17 files changed
+192 -33

No files matched your search

@@ -37,6 +37,7 @@ CREATE TABLE IF NOT EXISTS `%teleports_table%`
(
`player_uuid` char(36) NOT NULL UNIQUE,
`destination_id` integer NOT NULL,
`type` integer NOT NULL DEFAULT 0,
PRIMARY KEY (`player_uuid`),
FOREIGN KEY (`player_uuid`) REFERENCES `%players_table%` (`uuid`) ON DELETE CASCADE ON UPDATE CASCADE,
@@ -37,6 +37,7 @@ CREATE TABLE IF NOT EXISTS `%teleports_table%`
(
`player_uuid` char(36) NOT NULL UNIQUE,
`destination_id` integer NOT NULL,
`type` integer NOT NULL DEFAULT 0,
PRIMARY KEY (`player_uuid`),
FOREIGN KEY (`player_uuid`) REFERENCES `%players_table%` (`uuid`) ON DELETE CASCADE ON UPDATE CASCADE,
+3 -1
View File
@@ -84,6 +84,7 @@ set_home_used_free_slots: '[You''ve used all of your free set home slots (%1%);
set_home_success: '[Successfully set a new home called](#00fb9a) [%1%](#00fb9a bold)'
set_warp_success: '[Successfully set a new warp called](#00fb9a) [%1%](#00fb9a bold)'
set_spawn_success: '[Updated spawn position for this server to your current location.](#00fb9a)'
return_by_death_notification: '[Return to where you died?](gray) [[⏪ Teleport…]](#00fb9a show_text=&#00fb9a&Click to teleport\n&7Return to where you died run_command=/huskhomes:back)'
home_default_description: '%1%''s home.'
warp_default_description: 'A publicly accessible warp.'
@@ -96,7 +97,7 @@ spawn_warp_default_description: 'The /spawn position of the server'
tpignore_toggle_on: '[You are now](#00fb9a) [ignoring](#00fb9a bold) [incoming teleport requests.](#00fb9a) %1%'
tpignore_toggle_off: '[You are now](#00fb9a) [listening](#00fb9a bold) [to incoming teleport requests.](#00fb9a) %1%'
tpignore_on_reminder: '[You are currently ignoring incoming teleport requests!](gray) %1%'
tpignore_on_notification: '[You are currently ignoring incoming teleport requests!](gray) %1%'
tpignore_toggle_button: '[[🔔 Toggle…]](#ffc43b show_text=&#ffc43b&Click to toggle:\n&7Toggle ignoring/listening to incoming teleport requests run_command=/huskhomes:tpignore)'
teleporting_all_players: '[Teleporting all players to your position…](#00fb9a)'
@@ -158,6 +159,7 @@ error_home_invalid_other: '[Error:](#ff3300) [%1% does not have a home set named
error_edit_home_maximum_public_homes: '[Error:](#ff3300) [You can only make a maximum of %1% homes public.](#ff7e5e)'
error_illegal_target_coordinates: '[Error:](#ff3300) [Cancelled teleport as it exceeds the possible game world limits.](#ff7e5e)'
error_no_other_online_players: '[Error:](#ff3300) [There are no other online players who could teleport to you.](#ff7e5e)'
error_respawn_invalid: '[You have no home bed or charged respawn anchor, or it was obstructed.](#ff7e5e)'
home_command_description: 'Teleport to one of your homes'
sethome_command_description: 'Set a new home with given name'