Add ability for staff to visit and edit players homes, Close #66

This commit is contained in:
William committed 2021-08-27 12:58:01 +01:00
1 parent eff41f16cd
commit b38f0fe356
26 files changed
+315 -198

No files matched your search

+18 -14
View File
@@ -10,21 +10,24 @@ teleporting_action_bar_countdown: '[Teleporting in](#00fb9a) [%1%](#00fb9a bold)
teleporting_action_bar_cancelled: '[Teleportation cancelled!](#ff7e5e)'
teleporting_please_stand_still: '[Teleportation will be cancelled if you move or take damage.](gray)'
home_deleted: '[Successfully deleted the home called](#00fb9a) [%1%](#00fb9a bold)'
home_deleted_other: '[Successfully deleted %1%''s home,](#00fb9a) [%2%](#00fb9a bold)'
warp_deleted: '[Successfully deleted the warp called](#00fb9a) [%1%](#00fb9a bold)'
error_home_invalid: '[Error:](#ff3300) [You do not have a home named "%1%"](#ff7e5e)'
error_warp_invalid: '[Error:](#ff3300) [There is no warp set named "%1%"](#ff7e5e)'
error_invalid_syntax: '[Error:](#ff3300) [Incorrect syntax. Usage: %1%](#ff7e5e)'
edit_home_title: '\n[Edit home details for](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
edit_home_options: '\n[[Teleport]](green show_text=&7Teleport to your home run_command=/huskhomes:home %1%) [[Delete]](red show_text=&7Delete your home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Update your home''s location run_command=/huskhomes:edithome %1% location)\n[[Rename]](yellow show_text=&7Change the name of your home suggest_command=/huskhomes:edithome %1% rename ) [[Edit Description]](gold show_text=&7Update the description of your home suggest_command=/huskhomes:edithome %1% description )\n'
edit_home_options_make_public: '\n[[Teleport]](green show_text=&7Teleport to your home run_command=/huskhomes:home %1%) [[Delete]](red show_text=&7Delete your home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Update your home''s location run_command=/huskhomes:edithome %1% location)\n[[Rename]](yellow show_text=&7Change the name of your home suggest_command=/huskhomes:edithome %1% rename ) [[Edit Description]](gold show_text=&7Update the description of your home suggest_command=/huskhomes:edithome %1% description ) [[Make Public]](dark_green show_text=&7Open your home to the public run_command=/huskhomes:edithome %1% public)\n'
edit_home_options_make_private: '\n[[Teleport]](green show_text=&7Teleport to your home run_command=/huskhomes:home %1%) [[Delete]](red show_text=&7Delete your home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Update your home''s location run_command=/huskhomes:edithome %1% location)\n[[Rename]](yellow show_text=&7Change the name of your home suggest_command=/huskhomes:edithome %1% rename ) [[Edit Description]](gold show_text=&7Update the description of your home suggest_command=/huskhomes:edithome %1% description ) [[Make Private]](dark_red show_text=&7Make your home private run_command=/huskhomes:edithome %1% private)\n'
edit_home_title_other: '\n[Edit home details for %1%''s home,](#00fb9a) [%2%](#00fb9a bold)[:](#00fb9a)'
edit_home_options: '\n[[Teleport]](green show_text=&7Teleport to this home run_command=/huskhomes:home %1%.%2%) [[Delete]](red show_text=&7Delete this home run_command=/huskhomes:delhome %1%.%2%) [[Relocate]](blue show_text=&7Update this home''s location run_command=/huskhomes:edithome %1%.%2% location)\n[[Rename]](yellow show_text=&7Change the name of this home suggest_command=/huskhomes:edithome %1%.%2% rename ) [[Edit Description]](gold show_text=&7Update the description of this home suggest_command=/huskhomes:edithome %1%.%2% description )\n'
edit_home_options_make_public: '\n[[Teleport]](green show_text=&7Teleport to this home run_command=/huskhomes:home %1%.%2%) [[Delete]](red show_text=&7Delete this home run_command=/huskhomes:delhome %1%.%2%) [[Relocate]](blue show_text=&7Update this home''s location run_command=/huskhomes:edithome %1%.%2% location)\n[[Rename]](yellow show_text=&7Change the name of this home suggest_command=/huskhomes:edithome %1%.%2% rename ) [[Edit Description]](gold show_text=&7Update the description of this home suggest_command=/huskhomes:edithome %1%.%2% description ) [[Make Public]](dark_green show_text=&7Open this home to the public run_command=/huskhomes:edithome %1%.%2% public)\n'
edit_home_options_make_private: '\n[[Teleport]](green show_text=&7Teleport to this home run_command=/huskhomes:home %1%.%2%) [[Delete]](red show_text=&7Delete this home run_command=/huskhomes:delhome %1%.%2%) [[Relocate]](blue show_text=&7Update this home''s location run_command=/huskhomes:edithome %1%.%2% location)\n[[Rename]](yellow show_text=&7Change the name of this home suggest_command=/huskhomes:edithome %1%.%2% rename ) [[Edit Description]](gold show_text=&7Update the description of this home suggest_command=/huskhomes:edithome %1%.%2% description ) [[Make Private]](dark_red show_text=&7Make this home private run_command=/huskhomes:edithome %1%.%2% private)\n'
edit_home_privacy_private: '• Access: &#ff7e5e&Private &7(Only you can use it)'
edit_home_privacy_private_other: '• Access: &#ff7e5e&Private &7(Only %1% can use it)'
edit_home_privacy_public: '• Access: &aPublic &7(Anyone can use it)'
edit_home_privacy_public_success: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
edit_home_privacy_public_success_economy: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public for %2%.](#00fb9a)'
edit_home_privacy_private_success: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, private.](#00fb9a)'
error_edit_home_privacy_already_public: '[Error:](#ff3300) [Your home is already set to public.](#ff7e5e)'
error_edit_home_privacy_already_private: '[Error:](#ff3300) [Your home is already set to private.](#ff7e5e)'
edit_home_privacy_public_success: '[Successfully made the home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
edit_home_privacy_public_success_economy: '[Successfully made the home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public for %2%.](#00fb9a)'
edit_home_privacy_private_success: '[Successfully made the home,](#00fb9a) [%1%](#00fb9a bold)[, private.](#00fb9a)'
error_edit_home_privacy_already_public: '[Error:](#ff3300) [This home is already set as public.](#ff7e5e)'
error_edit_home_privacy_already_private: '[Error:](#ff3300) [This home is already set as private.](#ff7e5e)'
error_edit_home_privacy_no_permission: '[Error:](#ff3300) [You do not have permission to make homes public.](#ff7e5e)'
error_edit_home_description_length: '[Error:](#ff3300) [Home descriptions must be less than 255 characters in length.](#ff7e5e)'
error_edit_home_description_characters: '[Error:](#ff3300) [Home descriptions may only contain alphanumeric (A-Z, 0-9) characters, hyphens (-) and underscores (_)](#ff7e5e)'
@@ -87,7 +90,7 @@ error_console_only: '[Error:](#ff3300) [That command can only be run from the se
error_tp_invalid_world: '[Error:](#ff3300) [Please specify a valid server world.](#ff7e5e)'
error_rtp_randomization_timeout: '[Error:](#ff3300) [Failed to find a safe random location to teleport you.](#ff7e5e)'
list_item_divider: ' [•](gray) '
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %1%)'
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %2%.%1%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
home_default_description: '%1%''s home'
@@ -100,10 +103,10 @@ error_permission_restricted_warp: '[Error:](#ff3300) [You do not have permission
teleporting_complete_console: '[Console teleported you to %1%.](gray)'
spawn_warp_default_description: 'The /spawn position of the server'
error_invalid_page_number: '[Error:](#ff3300) [Please specify a valid page number.](#ff7e5e)'
page_options: '\n[←](gray show_text=&7View previous page run_command=%1%) [Viewing Page %2%/%3%](#00fb9a) [→](gray show_text=&7View next page run_command=%4%)'
page_options_min: '\n[Viewing Page %1%/%2%](#00fb9a) [→](gray show_text=&7View next page run_command=%3%)'
page_options_min_max: '\n[Viewing Page %1%/%2%](#00fb9a)'
page_options_max: '\n[←](gray show_text=&7View previous page run_command=%1%) [Viewing Page %2%/%3%](#00fb9a)'
page_options: '[←](gray show_text=&7View previous page run_command=%1%) [Viewing Page %2%/%3%](#00fb9a) [→](gray show_text=&7View next page run_command=%4%)'
page_options_min: '[Viewing Page %1%/%2%](#00fb9a) [→](gray show_text=&7View next page run_command=%3%)'
page_options_min_max: '[Viewing Page %1%/%2%](#00fb9a)'
page_options_max: '[←](gray show_text=&7View previous page run_command=%1%) [Viewing Page %2%/%3%](#00fb9a)'
page_no_items: '[(No items to display on this page)](gray show_text=&7Try a different page number)'
command_list_header: '\n[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)'
command_list_item: '[/%1%](#00fb9a show_text=&#00fb9a&%2% suggest_command=/%1%) [•](white) [%3%](gray)'
@@ -112,4 +115,5 @@ tpignore_toggle_on: '[You are now](#00fb9a) [ignoring](#00fb9a bold) [incoming t
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)'
tpignore_on_reminder: '[You are currently ignoring incoming teleport requests!](gray) [(Click to toggle)](gray show_text=&7Click 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.](#ff7e5e)'
error_no_offline_position: '[Error:](#ff3300) [Could not find where %1% last logged out.](#ff7e5e)'
error_invalid_player: '[Error:](#ff3300) [Please specify the name of a valid player!](#ff7e5e)'