diff --git a/common/src/main/java/net/william278/huskhomes/command/TpAllCommand.java b/common/src/main/java/net/william278/huskhomes/command/TpAllCommand.java index f2b4ca86..9ca87f1d 100644 --- a/common/src/main/java/net/william278/huskhomes/command/TpAllCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/TpAllCommand.java @@ -20,6 +20,12 @@ public class TpAllCommand extends InGameCommand { @Override public void execute(@NotNull OnlineUser executor, @NotNull String[] args) { + if (plugin.getGlobalPlayerList().size() <= 1) { + plugin.getLocales().getLocale("error_no_players_online") + .ifPresent(executor::sendMessage); + return; + } + final Position targetPosition = executor.getPosition(); try { for (OnlineUser user : plugin.getOnlineUsers()) { diff --git a/common/src/main/java/net/william278/huskhomes/command/TpCommand.java b/common/src/main/java/net/william278/huskhomes/command/TpCommand.java index 85e6b10e..2ab01d95 100644 --- a/common/src/main/java/net/william278/huskhomes/command/TpCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/TpCommand.java @@ -65,6 +65,7 @@ public class TpCommand extends Command implements TabProvider { // Execute a teleport private void execute(@NotNull CommandUser executor, @NotNull Teleportable teleportable, @NotNull Target target, @NotNull String[] args) { + // Build and execute the teleport final TeleportBuilder builder = Teleport.builder(plugin) .teleporter(teleportable) .target(target); @@ -75,6 +76,20 @@ public class TpCommand extends Command implements TabProvider { builder.toTeleport().execute(); } catch (TeleportationException e) { e.displayMessage(executor, plugin, args); + return; + } + + // Display teleport completion message + final String teleporterName = teleportable instanceof OnlineUser user + ? user.getUsername() : ((Username) teleportable).name(); + if (target instanceof Position position) { + plugin.getLocales().getLocale("teleporting_other_complete_position", teleporterName, + Integer.toString((int) position.getX()), Integer.toString((int) position.getY()), + Integer.toString((int) position.getZ())) + .ifPresent(executor::sendMessage); + } else { + plugin.getLocales().getLocale("teleporting_other_complete", teleporterName, ((Username) target).name()) + .ifPresent(executor::sendMessage); } } diff --git a/common/src/main/java/net/william278/huskhomes/command/TpHereCommand.java b/common/src/main/java/net/william278/huskhomes/command/TpHereCommand.java index 161919d3..ca8fb9e7 100644 --- a/common/src/main/java/net/william278/huskhomes/command/TpHereCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/TpHereCommand.java @@ -31,6 +31,9 @@ public class TpHereCommand extends InGameCommand implements UserListTabProvider .teleporter(optionalTarget.get()) .target(executor.getPosition()) .toTeleport().execute(); + + plugin.getLocales().getLocale("teleporting_other_complete", + optionalTarget.get(), executor.getUsername()); } catch (TeleportationException e) { e.displayMessage(executor, plugin, args); } diff --git a/common/src/main/java/net/william278/huskhomes/command/TpaAllCommand.java b/common/src/main/java/net/william278/huskhomes/command/TpaAllCommand.java index 9bdba4d2..432816ac 100644 --- a/common/src/main/java/net/william278/huskhomes/command/TpaAllCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/TpaAllCommand.java @@ -15,6 +15,12 @@ public class TpaAllCommand extends InGameCommand { @Override public void execute(@NotNull OnlineUser executor, @NotNull String[] args) { + if (plugin.getGlobalPlayerList().size() <= 1) { + plugin.getLocales().getLocale("error_no_players_online") + .ifPresent(executor::sendMessage); + return; + } + if (plugin.getManager().requests().isIgnoringRequests(executor)) { plugin.getLocales().getLocale("error_ignoring_teleport_requests") .ifPresent(executor::sendMessage); diff --git a/common/src/main/java/net/william278/huskhomes/teleport/TeleportResult.java b/common/src/main/java/net/william278/huskhomes/teleport/TeleportResult.java deleted file mode 100644 index 27c799c8..00000000 --- a/common/src/main/java/net/william278/huskhomes/teleport/TeleportResult.java +++ /dev/null @@ -1,107 +0,0 @@ -package net.william278.huskhomes.teleport; - -import net.william278.huskhomes.config.Locales; -import net.william278.huskhomes.position.Position; -import net.william278.huskhomes.position.World; -import net.william278.huskhomes.user.OnlineUser; -import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; - -import java.util.Optional; - -/** - * Represents the state of a {@link Teleport} after it has finished executing - */ -public enum TeleportResult { - - /** - * Returns if the {@link Teleport} was completed locally, successfully - */ - COMPLETED_LOCALLY(true, "teleporting_complete"), - - /** - * Returns if the {@link Teleport} was completed cross-server - */ - COMPLETED_CROSS_SERVER(true), - - /** - * Returns if the {@link Teleport} failed because the user is already teleporting - */ - FAILED_ALREADY_TELEPORTING(false, "error_already_teleporting"), - - /** - * Returns if the {@link TimedTeleport} warmup could not be started because they were moving - */ - FAILED_MOVING(false, "error_teleport_warmup_stand_still"), - - /** - * Returns if the {@link Teleport} failed because the {@link World} of the - * target {@link Position} could not be found - */ - FAILED_INVALID_WORLD(false, "error_invalid_world"), - - /** - * Returns if the {@link Teleport} failed because the server of the target - * {@link Position} was invalid or not online - */ - FAILED_INVALID_SERVER(false, "error_invalid_server"), - - /** - * Returns if the {@link Teleport} failed because the coordinates of the - * target {@link Position} were outside the world border limits - */ - FAILED_ILLEGAL_COORDINATES(false, "error_illegal_target_coordinates"), - - /** - * Returns if the {@link Teleport} failed because the teleporter could not be resolved or was offline - */ - FAILED_TELEPORTER_NOT_RESOLVED(false, "error_teleport_target_not_resolved"), - - /** - * Returns if the {@link Teleport} failed because the target {@link Position} could not be resolved - */ - FAILED_TARGET_NOT_RESOLVED(false, "error_teleport_teleporter_not_resolved"), - - /** - * Returns if the teleport was cancelled, for example if a {@link TimedTeleport} in progress is cancelled - */ - CANCELLED(false), - - /** - * Returns if the {@link Teleport} was cancelled due to failing economy checks - */ - CANCELLED_ECONOMY(false); - - /** - * Is {@code true} if the teleport was a success - */ - public final boolean successful; - - /** - * The {@link Locales} key to use when sending a message to the teleporter - */ - @Nullable - private final String messageId; - - TeleportResult(boolean successful, @NotNull String messageId) { - this.successful = successful; - this.messageId = messageId; - } - - TeleportResult(boolean successful) { - this.successful = successful; - this.messageId = null; - } - - /** - * Send an {@link OnlineUser} the corresponding message for this {@link TeleportResult}, if there is one - * - * @param locales the {@link Locales} instance to use - * @param user the {@link OnlineUser} to send the message to - * @since 3.1 - */ - public void sendResultMessage(@NotNull Locales locales, @NotNull OnlineUser user) { - Optional.ofNullable(messageId).flatMap(locales::getLocale).ifPresent(user::sendMessage); - } - -} diff --git a/common/src/main/resources/locales/bg-bg.yml b/common/src/main/resources/locales/bg-bg.yml index 80bfed56..a796958d 100644 --- a/common/src/main/resources/locales/bg-bg.yml +++ b/common/src/main/resources/locales/bg-bg.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Грешка:](#ff3300) [Трябва да изчакат error_command_disabled: '[Грешка:](#ff3300) [Тази команда е изключена!](#ff7e5e)' error_console_command_only: '[Error:](#ff3300) [That command can only be run from the server console.](#ff7e5e)' error_rtp_randomization_timeout: '[Грешка:](#ff3300) [Провалихме се да намерим безопасна локация на случаен принцип, до която да Ви телепортираме.](#ff7e5e)' -error_permission_restricted_warp: '[Грешка:](#ff3300) [Нямате право да се телепортирате до уарпа %1%!](#ff7e5e)' error_invalid_world: '[Error:](#ff3300) [Failed to finish teleportation as the target world could not be found.](#ff7e5e)' error_no_offline_position: '[Грешка:](#ff3300) [Не можахме да намерим къде %1% последно е излязъл/излязла.](#ff7e5e)' error_no_homes_set_other: '[Error:](#ff3300) [%1% has not set any homes!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[Error:](#ff3300) [%1% does not have a home set named error_edit_home_maximum_public_homes: '[Грешка:](#ff3300) [Можете да правите максимум до %1% публичен(и) дом(ове).](#ff7e5e)' error_illegal_target_coordinates: '[Error:](#ff3300) [Cancelled teleport as it exceeds the possible game world limits.](#ff7e5e)' error_no_players_online: '[Error:](#ff3300) [There are no players online who could teleport to you.](#ff7e5e)' -error_teleport_target_not_resolved: '[Error:](#ff3300) [Cancelled teleport as a target position could not be found.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Error:](#ff3300) [Cancelled teleport as the user to teleport could not be found](#ff7e5e)' home_command_description: 'Телепортирайте се до някой от Вашите домове' sethome_command_description: 'Поставете нов дом с дадено име' delhome_command_description: 'Изтриете дом, който преди сте поставили' diff --git a/common/src/main/resources/locales/de-de.yml b/common/src/main/resources/locales/de-de.yml index c9780906..191f0c60 100644 --- a/common/src/main/resources/locales/de-de.yml +++ b/common/src/main/resources/locales/de-de.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Fehler:](#ff3300) [Du musst %1% Minute(n) warten, bevor du error_command_disabled: '[Fehler:](#ff3300) [Dieser Befehl ist deaktiviert!](#ff7e5e)' error_console_command_only: '[Fehler:](#ff3300) [Dieser Befehl kann nur von der Serverkonsole aus ausgeführt werden.](#ff7e5e)' error_rtp_randomization_timeout: '[Fehler:](#ff3300) [Es ist nicht gelungen, einen sicheren zufälligen Ort zu finden um dich zu teleportieren.](#ff7e5e)' -error_permission_restricted_warp: '[Fehler:](#ff3300) [Du hast nicht die Erlaubnis, nach "%1%" zu warpen!](#ff7e5e)' error_invalid_world: '[Fehler:](#ff3300) [Die Teleportation konnte nicht beendet werden, da die Zielwelt nicht gefunden werden konnte.](#ff7e5e)' error_no_offline_position: '[Fehler:](#ff3300) [Konnte nicht herausfinden, wo sich %1% zuletzt ausgeloggt hat.](#ff7e5e)' error_no_homes_set_other: '[Fehler:](#ff3300) [%1% hat keine Homes festgelegt!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[Fehler:](#ff3300) [%1% hat kein Home namens "%2%"!]( error_edit_home_maximum_public_homes: '[Fehler:](#ff3300) [Du kannst maximal %1% Home(s) öffentlich sichtbar machen.](#ff7e5e)' error_illegal_target_coordinates: '[Fehler:](#ff3300) [Teleportation abgebrochen, da sie die möglichen Grenzen der Spielwelt überschreitet.](#ff7e5e)' error_no_players_online: '[Fehler:](#ff3300) [Es sind keine Spieler online, die sich zu dir teleportieren könnten.](#ff7e5e)' -error_teleport_target_not_resolved: '[Fehler:](#ff3300) [Teleportation abgebrochen, da die Zielposition nicht gefunden werden konnte.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Fehler:](#ff3300) [Teleportation abgebrochen, da der Nutzer, zu dem teleportiert werden sollte, nicht gefunden werden konnte.](#ff7e5e)' home_command_description: 'Teleportiere dich zu einem deiner Homes' sethome_command_description: 'Setze ein neues Home mit dem angegebenen Namen' delhome_command_description: 'Lösche ein Home, welches du vorher gesetzt hast' @@ -174,4 +171,4 @@ spawn_command_description: 'Teleportiere dich zum Spawn' setspawn_command_description: 'Setze die Spawnposition fest' tpaall_command_description: 'Frage alle Spieler sich zu dir zu teleportieren' tpall_command_description: 'Teleportiere alle Spieler zu dir' -huskhomes_command_description: 'Siehe Plugin-Information und lade die Config-Dateien neu' +huskhomes_command_description: 'Siehe Plugin-Information und lade die Config-Dateien neu' \ No newline at end of file diff --git a/common/src/main/resources/locales/en-gb.yml b/common/src/main/resources/locales/en-gb.yml index 92f08e9a..7506494c 100644 --- a/common/src/main/resources/locales/en-gb.yml +++ b/common/src/main/resources/locales/en-gb.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Error:](#ff3300) [You must wait %1% minute(s) before rando error_command_disabled: '[Error:](#ff3300) [That command is disabled!](#ff7e5e)' error_console_command_only: '[Error:](#ff3300) [That command can only be run from the server console.](#ff7e5e)' error_rtp_randomization_timeout: '[Error:](#ff3300) [Failed to find a safe random location to teleport you.](#ff7e5e)' -error_permission_restricted_warp: '[Error:](#ff3300) [You do not have permission to warp to %1%!](#ff7e5e)' error_invalid_world: '[Error:](#ff3300) [Failed to finish teleportation as the target world could not be found.](#ff7e5e)' error_no_offline_position: '[Error:](#ff3300) [Could not find where %1% last logged out.](#ff7e5e)' error_no_homes_set_other: '[Error:](#ff3300) [%1% has not set any homes!](#ff7e5e)' @@ -146,8 +145,6 @@ 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_players_online: '[Error:](#ff3300) [There are no players online who could teleport to you.](#ff7e5e)' -error_teleport_target_not_resolved: '[Error:](#ff3300) [Cancelled teleport as a target position could not be found.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Error:](#ff3300) [Cancelled teleport as the user to teleport could not be found](#ff7e5e)' 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' @@ -174,4 +171,4 @@ 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' +huskhomes_command_description: 'View plugin information & reload configs' \ No newline at end of file diff --git a/common/src/main/resources/locales/es-es.yml b/common/src/main/resources/locales/es-es.yml index f4c0d66b..8e67bd6a 100644 --- a/common/src/main/resources/locales/es-es.yml +++ b/common/src/main/resources/locales/es-es.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Error:](#ff3300) [Debes esperar %1% minutos antes de volve error_command_disabled: '[Error:](#ff3300) [Ese comando está desactivado.](#ff7e5e)' error_console_command_only: '[Error:](#ff3300) [Ese comando sólo se puede ejecutar desde la consola del servidor.](#ff7e5e)' error_rtp_randomization_timeout: '[Error:](#ff3300) [No se ha podido encontrar una ubicación aleatoria segura para teletransportarte...](#ff7e5e)' -error_permission_restricted_warp: '[Error:](#ff3300) [No tienes permiso para ir a %1%!](#ff7e5e)' error_invalid_world: '[Error:](#ff3300) [No se ha encontrado el mundo de destino.](#ff7e5e)' error_no_offline_position: '[Error:](#ff3300) [No se ha podido encontrar el último lugar donde %1% se desconectó o en el que se ha cerrado la sesión.](#ff7e5e)' error_no_homes_set_other: '[Error:](#ff3300) [%1% no ha establecido ningúna casa!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[Error:](#ff3300) [%1% no tiene una casa llamada "%2% error_edit_home_maximum_public_homes: '[Error:](#ff3300) [Sólo se puede hacer público un máximo de %1% de Casas.](#ff7e5e)' error_illegal_target_coordinates: '[Error:](#ff3300) [Cancelado el teletransporte ya que excede los límites posibles del mundo del juego.](#ff7e5e)' error_no_players_online: '[Error:](#ff3300) [No hay jugadores en línea que puedan teletransportarse hacia ti.](#ff7e5e)' -error_teleport_target_not_resolved: '[Error:](#ff3300) [Cancelled teleport as a target position could not be found.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Error:](#ff3300) [Cancelled teleport as the user to teleport could not be found](#ff7e5e)' home_command_description: 'Teletransporte a una de sus casas' sethome_command_description: 'Establecer un nuevo hogar con un nombre determinado' delhome_command_description: 'Borrar una casa propia' diff --git a/common/src/main/resources/locales/it-it.yml b/common/src/main/resources/locales/it-it.yml index 30e95a4c..ffb033e4 100644 --- a/common/src/main/resources/locales/it-it.yml +++ b/common/src/main/resources/locales/it-it.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Errore:](#ff3300) [Devi aspettare %1% minuti prima di util error_command_disabled: '[Errore:](#ff3300) [Questo comando è disabilitato!](#ff7e5e)' error_console_command_only: '[Errore:](#ff3300) [Quel comando può essere eseguito solo da console.](#ff7e5e)' error_rtp_randomization_timeout: '[Errore:](#ff3300) [Non sono riuscito a trovare una posizione sicura, riprova.](#ff7e5e)' -error_permission_restricted_warp: '[Errore:](#ff3300) [Non hai i permessi per usare il warp %1%!](#ff7e5e)' error_invalid_world: '[Errore:](#ff3300) [Teletrasporto fallito! Il mondo non è stato trovato.](#ff7e5e)' error_no_offline_position: '[Errore:](#ff3300) [Non trovo la posizione in cui %1% è sloggato l''ultima volta.](#ff7e5e)' error_no_homes_set_other: '[Errore:](#ff3300) [%1% non ha impostato nessuna home!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[Errore:](#ff3300) [%1% non ha nessuna home chiamata error_edit_home_maximum_public_homes: '[Errore:](#ff3300) [Puoi creare un messimo di %1% home pubbliche.](#ff7e5e)' error_illegal_target_coordinates: '[Errore:](#ff3300) [Richiesta di teletrasporto cancellata: superate le coordinate limite di gioco.](#ff7e5e)' error_no_players_online: '[Errore:](#ff3300) [Non ci sono giocatori online.](#ff7e5e)' -error_teleport_target_not_resolved: '[Errore:](#ff3300) [Teletrasporto cancellato perché il giocatore non è online.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Errore:](#ff3300) [Teletrasporto cancellato perché il giocatore non è online.](#ff7e5e)' home_command_description: 'Teletrasportati in una delle tue home' sethome_command_description: 'Crea un nuova home col nome dato' delhome_command_description: 'Cancella una delle tue home' @@ -174,4 +171,4 @@ spawn_command_description: 'Teletrasportati allo spawn' setspawn_command_description: 'Setta la posizione di spawn' tpaall_command_description: 'Richiedi a tutti i giocatori di teletrasportarsi da te' tpall_command_description: 'Teletrasporta tutti i giocatori alla tua posizione' -huskhomes_command_description: 'Vedi le informazioni del plugin & ricarica la configurazione' +huskhomes_command_description: 'Vedi le informazioni del plugin & ricarica la configurazione' \ No newline at end of file diff --git a/common/src/main/resources/locales/pl.yml b/common/src/main/resources/locales/pl-pl.yml similarity index 98% rename from common/src/main/resources/locales/pl.yml rename to common/src/main/resources/locales/pl-pl.yml index 74765ade..0a1f4925 100644 --- a/common/src/main/resources/locales/pl.yml +++ b/common/src/main/resources/locales/pl-pl.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Błąd:](#ff3300) [Odczekaj %1% minut przed kolejną telep error_command_disabled: '[Błąd:](#ff3300) [To polecenie jest wyłączone!](#ff7e5e)' error_console_command_only: '[Error:](#ff3300) [That command can only be run from the server console.](#ff7e5e)' error_rtp_randomization_timeout: '[Błąd:](#ff3300) [Nie mogę znaleśc bezpiecznej lokalizacji dla Ciebie.](#ff7e5e)' -error_permission_restricted_warp: '[Błąd:](#ff3300) [Nie masz uprawnień do warpu %1%!](#ff7e5e)' error_invalid_world: '[Error:](#ff3300) [Failed to finish teleportation as the target world could not be found.](#ff7e5e)' error_no_offline_position: '[Błąd:](#ff3300) [Nie mogę znaleźć, gdzie ostatnio wylogował się%1%.](#ff7e5e)' error_no_homes_set_other: '[Error:](#ff3300) [%1% has not set any homes!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[Error:](#ff3300) [%1% does not have a home set named error_edit_home_maximum_public_homes: '[Błąd:](#ff3300) [Możesz maksymalnie utworzyć %1% publicznych domów.](#ff7e5e)' error_illegal_target_coordinates: '[Error:](#ff3300) [Cancelled teleport as it exceeds the possible game world limits.](#ff7e5e)' error_no_players_online: '[Error:](#ff3300) [There are no players online who could teleport to you.](#ff7e5e)' -error_teleport_target_not_resolved: '[Error:](#ff3300) [Cancelled teleport as a target position could not be found.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Error:](#ff3300) [Cancelled teleport as the user to teleport could not be found](#ff7e5e)' 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' diff --git a/common/src/main/resources/locales/tr-tr.yml b/common/src/main/resources/locales/tr-tr.yml index 509a880b..14a75d9d 100644 --- a/common/src/main/resources/locales/tr-tr.yml +++ b/common/src/main/resources/locales/tr-tr.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Hata:](#ff3300) [Yeniden rastgele ışınlanmadan önce %1 error_command_disabled: '[Hata:](#ff3300) [Bu komut devre dışı!](#ff7e5e)' error_console_command_only: '[Hata:](#ff3300) [Bu komut yalnızca sunucu konsolundan çalıştırılabilir.](#ff7e5e)' error_rtp_randomization_timeout: '[Hata:](#ff3300) [Sizi ışınlamak için güvenli bir rasgele konum bulunamadı.](#ff7e5e)' -error_permission_restricted_warp: '[Hata:](#ff3300) [%1% warpına gitme izniniz yok!](#ff7e5e)' error_invalid_world: '[Hata:](#ff3300) [Hedef dünya bulunamadığından ışınlanma tamamlanamadı.](#ff7e5e)' error_no_offline_position: '[Hata:](#ff3300) [%1% adlı oyuncunun en son nerede çıkış yaptığı bulunamadı.](#ff7e5e)' error_no_homes_set_other: '[Hata:](#ff3300) [%1% herhangi bir ev ayarlamadı!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[Hata:](#ff3300) [%1%, "%2%" adında bir ev grubuna s error_edit_home_maximum_public_homes: '[Hata:](#ff3300) [En fazla %1% evi herkese açık hale getirebilirsiniz.](#ff7e5e)' error_illegal_target_coordinates: '[Hata:](#ff3300) [Olası oyun dünyası sınırlarını aştığı için ışınlanma iptal edildi.](#ff7e5e)' error_no_players_online: '[Hata:](#ff3300) [Size ışınlanabilecek çevrimiçi oyuncu yok.](#ff7e5e)' -error_teleport_target_not_resolved: '[Hata:](#ff3300) [Hedef konum bulunamadığından ışınlanma iptal edildi.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Hata:](#ff3300) [Işınlanacak kullanıcı bulunamadığından ışınlanma iptal edildi](#ff7e5e)' home_command_description: 'Evlerinizden birine ışınlar' sethome_command_description: 'Verilen adla yeni bir ev ayarlar' delhome_command_description: 'Önceden ayarladığınız bir evi siler' @@ -174,4 +171,4 @@ spawn_command_description: 'Spawna ışınlar' setspawn_command_description: 'Işınlanma komudunu ayarlar' tpaall_command_description: 'Herkesin size ışınlanmasını ister' tpall_command_description: 'Herkesi konumunuza ışınlar' -huskhomes_command_description: 'Eklenti bilgilerini görüntüleyin ve yapılandırmaları yeniden yükler' +huskhomes_command_description: 'Eklenti bilgilerini görüntüleyin ve yapılandırmaları yeniden yükler' \ No newline at end of file diff --git a/common/src/main/resources/locales/uk-ua.yml b/common/src/main/resources/locales/uk-ua.yml index 79fcfb91..c2cc52df 100644 --- a/common/src/main/resources/locales/uk-ua.yml +++ b/common/src/main/resources/locales/uk-ua.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[Помилка:](#ff3300) [Зачекайте %1% щоб error_command_disabled: '[Помилка:](#ff3300) [Ця команда вимкнена!](#ff7e5e)' error_console_command_only: '[Error:](#ff3300) [That command can only be run from the server console.](#ff7e5e)' error_rtp_randomization_timeout: '[Помилка:](#ff3300) [Не вдалося знайти випадкове безпечне місце, щоб вас телепортувати.](#ff7e5e)' -error_permission_restricted_warp: '[Помилка:](#ff3300) [У вас немає прав на перехід до варпу %1%!](#ff7e5e)' error_invalid_world: '[Error:](#ff3300) [Failed to finish teleportation as the target world could not be found.](#ff7e5e)' error_no_offline_position: '[Помилка:](#ff3300) [Не вдалося знайти, де %1% востаннє покинув сервер.] (#ff7e5e)' error_no_homes_set_other: '[Error:](#ff3300) [%1% has not set any homes!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[Error:](#ff3300) [%1% does not have a home set named error_edit_home_maximum_public_homes: '[Помилка:](#ff3300) [Ви можете зробити публічними лише %1% домівок.](#ff7e5e)' error_illegal_target_coordinates: '[Error:](#ff3300) [Cancelled teleport as it exceeds the possible game world limits.](#ff7e5e)' error_no_players_online: '[Error:](#ff3300) [There are no players online who could teleport to you.](#ff7e5e)' -error_teleport_target_not_resolved: '[Error:](#ff3300) [Cancelled teleport as a target position could not be found.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[Error:](#ff3300) [Cancelled teleport as the user to teleport could not be found](#ff7e5e)' home_command_description: 'Телепорт до вашої домівки' sethome_command_description: 'Створити нову домівку із заданою назвою' delhome_command_description: 'Видалити раніше створену доміку' diff --git a/common/src/main/resources/locales/zh-cn.yml b/common/src/main/resources/locales/zh-cn.yml index 8c1e94d3..399f4d8b 100644 --- a/common/src/main/resources/locales/zh-cn.yml +++ b/common/src/main/resources/locales/zh-cn.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[错误:](#ff3300) [您必须等待 %1% 分钟才能再次 error_command_disabled: '[错误:](#ff3300) [该命令已禁用!](#ff7e5e)' error_console_command_only: '[错误:](#ff3300) [该命令只能从服务器控制台运行.](#ff7e5e)' error_rtp_randomization_timeout: '[错误:](#ff3300) [找不到安全的随机位置传送您.](#ff7e5e)' -error_permission_restricted_warp: '[错误:](#ff3300) [您没有权限去传送到 %1% 这个地标!](#ff7e5e)' error_invalid_world: '[错误:](#ff3300) [无法完成传送, 找不到目标世界.](#ff7e5e)' error_no_offline_position: '[错误:](#ff3300) [找不到 %1% 上次离线的位置.](#ff7e5e)' error_no_homes_set_other: '[错误:](#ff3300) [%1% 未设置家!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[错误:](#ff3300) [%1% 没有名为 %2% 的家](#ff7 error_edit_home_maximum_public_homes: '[错误:](#ff3300) [您最多只能公开 %1% 个家.](#ff7e5e)' error_illegal_target_coordinates: '[错误:](#ff3300) [已取消传送, 因为它超出了可能的游戏世界限制.](#ff7e5e)' error_no_players_online: '[错误:](#ff3300) [没有在线玩家可以传送到过来.](#ff7e5e)' -error_teleport_target_not_resolved: '[错误:](#ff3300) [由于找不到目标位置, 已取消传送.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[错误:](#ff3300) [由于找不到目标玩家, 已取消传送.](#ff7e5e)' home_command_description: '传送回家或显示所有家' sethome_command_description: '设置一个新的家' delhome_command_description: '删除家' @@ -174,4 +171,4 @@ spawn_command_description: '传送回重生点' setspawn_command_description: '设置重生点位置' tpaall_command_description: '请求所有人都传送过来' tpall_command_description: '将所有人传送过来' -huskhomes_command_description: '查看插件信息 & 重载配置' +huskhomes_command_description: '查看插件信息 & 重载配置' \ No newline at end of file diff --git a/common/src/main/resources/locales/zh-tw.yml b/common/src/main/resources/locales/zh-tw.yml index 2fd678f5..b50dbf68 100644 --- a/common/src/main/resources/locales/zh-tw.yml +++ b/common/src/main/resources/locales/zh-tw.yml @@ -138,7 +138,6 @@ error_rtp_cooldown: '[錯誤:](#ff3300) [您必須等待 %1% 分鐘才能再次 error_command_disabled: '[錯誤:](#ff3300) [該指令已禁用!](#ff7e5e)' error_console_command_only: '[錯誤:](#ff3300) [該指令只能從伺服器控制台運行.](#ff7e5e)' error_rtp_randomization_timeout: '[錯誤:](#ff3300) [找不到安全的隨機位置傳送您.](#ff7e5e)' -error_permission_restricted_warp: '[錯誤:](#ff3300) [您沒有權限去傳送到 %1% 這個地標!](#ff7e5e)' error_invalid_world: '[錯誤:](#ff3300) [無法完成傳送, 找不到目標世界.](#ff7e5e)' error_no_offline_position: '[錯誤:](#ff3300) [找不到 %1% 上次離線的位置.](#ff7e5e)' error_no_homes_set_other: '[錯誤:](#ff3300) [%1% 還沒設置任何家!](#ff7e5e)' @@ -146,8 +145,6 @@ error_home_invalid_other: '[錯誤:](#ff3300) [%1% 沒有名為 %2% 的家](#ff7 error_edit_home_maximum_public_homes: '[錯誤:](#ff3300) [您最多只能公開 %1% 個家.](#ff7e5e)' error_illegal_target_coordinates: '[錯誤:](#ff3300) [已取消傳送, 因為它超出了可能的遊戲世界限制.](#ff7e5e)' error_no_players_online: '[錯誤:](#ff3300) [沒有在線玩家可以傳送過來.](#ff7e5e)' -error_teleport_target_not_resolved: '[錯誤:](#ff3300) [由於找不到目標位置,傳送已取消.](#ff7e5e)' -error_teleport_teleporter_not_resolved: '[錯誤:](#ff3300) [由於找不到要傳送的玩家,傳送已取消.](#ff7e5e)' home_command_description: '傳送回家或顯示所有家' sethome_command_description: '設置一個新的家' delhome_command_description: '刪除家' @@ -174,4 +171,4 @@ spawn_command_description: '傳送回重生點' setspawn_command_description: '設置重生點位置' tpaall_command_description: '請求所有人都傳送過來' tpall_command_description: '將所有人傳送過來' -huskhomes_command_description: '查看插件信息 & 重載配置' +huskhomes_command_description: '查看插件信息 & 重載配置' \ No newline at end of file