Close #103, add /tpaall and /tpall commands

This commit is contained in:
William committed 2022-01-15 18:37:13 +00:00
1 parent 2b96d65421
commit 54206f110e
8 files changed
+104 -11

No files matched your search

+5
View File
@@ -121,6 +121,9 @@ error_no_homes_set_other: '[Error:](#ff3300) [%1% hasn''t set any homes!](#ff7e5
error_home_invalid_other: '[Error:](#ff3300) [%1% doesn''t have a home set named "%2%"](#ff7e5e)'
error_edit_home_maximum_public_homes: '[Error:](#ff3300) [You can only make a maximum of %1% homes public.](#ff7e5e)'
teleporting_cancelled_pvp: '[Teleportation cancelled; you engaged in combat!](#ff7e5e)'
tpaall_request_sent: '[You sent a teleport request asking everyone to teleport to you!](#00fb9a)'
error_no_other_online_players: '[Error:](#ff3300) [There are no other online players to send a request to!](#ff7e5e)'
teleporting_all_players: '[Teleporting all players to your position...](#00fb9a)'
home_command_description: 'Teleport to one of your homes'
sethome_command_description: 'Set a new home with given name'
delhome_command_description: 'Delete a home you previously set'
@@ -145,4 +148,6 @@ tpoffline_command_description: 'Teleport to where a player was last online'
rtp_command_description: 'Teleport randomly into the wild'
spawn_command_description: 'Teleport to spawn'
setspawn_command_description: 'Set the spawn position'
tpaall_command_description: 'Request that everyone teleports to you'
tpall_command_description: 'Teleport everyone to your position'
huskhomes_command_description: 'View plugin information & reload configs'
+15 -1
View File
@@ -94,6 +94,14 @@ commands:
setspawn:
usage: /<command>
permission: huskhomes.spawn.set
tpaall:
usage: /<command>
aliases: [tpaallhere, tpahereall, tprequestall]
permission: huskhomes.tpaall
tpall:
usage: /<command>
aliases: [tphereall, tpallhere]
permission: huskhomes.tpall
huskhomes:
usage: /<command> <about/update/reload/migrate>
@@ -264,4 +272,10 @@ permissions:
default: op
huskhomes.edithome.public:
description: Allows you to make a home public
default: true
default: true
huskhomes.tpaall:
description: Allows you to request everyone to teleport to you
default: op
huskhomes.tpall:
description: Allows you to teleport everyone to you
default: op