Added experimental tp ignore support

This commit is contained in:
BuildTools committed 2021-07-08 02:11:50 +03:00
1 parent b186d4813d
commit c6ad5ece5c
15 files changed
+185 -49

No files matched your search

+4 -1
View File
@@ -102,4 +102,7 @@ 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_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)'
error_invalid_on_arrival: '[Error:](#ff3300) [Failed to finish your teleportation as the target world could not be found.](#ff7e5e)'
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)'
+3
View File
@@ -103,3 +103,6 @@ page_options_max: '\n[←](gray show_text=&7Pagina precedente run_command=%1%) [
page_no_items: '[(Nessun oggetto visibile in questa pagina)](gray show_text=&7Prova un numero differente)'
command_list_header: '\n[HuskHomes](#00fb9a bold) [| Comandi](#00fb9a)'
error_invalid_on_arrival: '[Errore:](#ff3300) [Non sono riuscito a teletrasportarti perché il mondo non è caricato correttamente.](#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)'
+1 -1
View File
@@ -86,4 +86,4 @@ economy_integration:
random_teleport: 20
back: 0
handle_vanished_players: true
config_file_version: 5
config_file_version: 6
+16 -8
View File
@@ -95,6 +95,11 @@ commands:
usage: /tpdeny
permission: huskhomes.tprequest
aliases: [tpno]
tpignore:
description: Ignore incoming teleport requests
usage: /tpignore
permission: huskhomes.tpignore
aliases: [tpaignore, ignoretprequests]
rtp:
description: Teleport randomly into the wild
usage: /rtp
@@ -177,13 +182,13 @@ permissions:
default: true
huskhomes.warp.*:
description: Lets you access all warps even if permission-restricted
default: false
default: op
huskhomes.setwarp:
description: Allows you to set server warps
default: false
default: op
huskhomes.delwarp:
description: Allows you to delete a home
default: false
default: op
huskhomes.publichome:
description: Allows you to teleport to public homes
default: true
@@ -192,13 +197,13 @@ permissions:
default: true
huskhomes.editwarp:
description: Allows you to edit home information
default: false
default: op
huskhomes.back:
description: Allows you to return to your last position
default: true
huskhomes.rtp:
description: Allows you to randomly teleport
default: false
default: true
huskhomes.rtp.bypass_cooldown:
description: Allows you to bypass the /rtp cooldown
default: false
@@ -209,16 +214,19 @@ permissions:
default: true
huskhomes.reload:
description: Reload the plugin configuration & messages files
default: false
default: op
huskhomes.version_checker:
description: Check if the plugin is up-to-date
default: false
default: op
huskhomes.tp:
description: Allows you to directly teleport to players or locations
default: false
huskhomes.tprequest:
description: Allows you to request to teleport to a player
default: true
huskhomes.tpignore:
description: Allows you to ingore teleport requests
default: true
huskhomes.back.death:
description: Allows you to return to where you died
default: true
@@ -227,7 +235,7 @@ permissions:
default: true
huskhomes.spawn.set:
description: Allows you to set the spawn location
default: false
default: op
children:
huskhomes.spawn: true
huskhomes.edithome.public: