mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Don't show 'backup started' on /backup if it hasn't been configured.
This commit is contained in:
parent
d2506cd928
commit
47cf1289d7
8 changed files with 13 additions and 1 deletions
|
@ -19,7 +19,12 @@ public class Commandbackup extends EssentialsCommand
|
|||
final Backup backup = ess.getBackup();
|
||||
if (backup == null)
|
||||
{
|
||||
throw new Exception();
|
||||
throw new Exception(_("backupDisabled"));
|
||||
}
|
||||
final String command = ess.getSettings().getBackupCommand();
|
||||
if (command == null || "".equals(command))
|
||||
{
|
||||
throw new Exception(_("backupDisabled"));
|
||||
}
|
||||
backup.run();
|
||||
sender.sendMessage(_("backupStarted"));
|
||||
|
|
|
@ -12,6 +12,7 @@ alertUsed=used:
|
|||
autoAfkKickReason=You have been kicked for idling more than {0} minutes.
|
||||
backAfterDeath=\u00a77Use the /back command to return to your death point.
|
||||
backUsageMsg=\u00a77Returning to previous location.
|
||||
backupDisabled=An external backup script has not been configured.
|
||||
backupFinished=Backup finished
|
||||
backupStarted=Backup started
|
||||
balance=\u00a77Balance: {0}
|
||||
|
|
|
@ -12,6 +12,7 @@ alertUsed=brugte:
|
|||
autoAfkKickReason=Du er blevet kicked for at idle mere end {0} minutter.
|
||||
backAfterDeath=\u00a77Brug /back kommandoen for at teleportere til dit d\u00f8dspunkt.
|
||||
backUsageMsg=\u00a77Teleporterer til tidligere placering.
|
||||
backupDisabled=An external backup script has not been configured.
|
||||
backupFinished=Backup sluttet
|
||||
backupStarted=Backup startet
|
||||
balance=\u00a77Saldo: {0}
|
||||
|
|
|
@ -12,6 +12,7 @@ alertUsed=benutzt:
|
|||
autoAfkKickReason=Du wurdest gekickt, weil du f\u00fcr {0} Minuten inaktiv warst.
|
||||
backAfterDeath=\u00a77Benutze den Befehl /back um zu deinem Todespunkt zur\u00fcck zu kehren.
|
||||
backUsageMsg=\u00a77Kehre zur letzten Position zur\u00fcck.
|
||||
backupDisabled=An external backup script has not been configured.
|
||||
backupFinished=Backup beendet
|
||||
backupStarted=Backup gestartet
|
||||
balance=\u00a77Geldb\u00f6rse: {0}
|
||||
|
|
|
@ -12,6 +12,7 @@ alertUsed=used:
|
|||
autoAfkKickReason=You have been kicked for idling more than {0} minutes.
|
||||
backAfterDeath=\u00a77Use the /back command to return to your death point.
|
||||
backUsageMsg=\u00a77Returning to previous location.
|
||||
backupDisabled=An external backup script has not been configured.
|
||||
backupFinished=Backup finished
|
||||
backupStarted=Backup started
|
||||
balance=\u00a77Balance: {0}
|
||||
|
|
|
@ -12,6 +12,7 @@ alertUsed=usado:
|
|||
autoAfkKickReason=Has sido echado por ausentarte mas de {0} minutos.
|
||||
backAfterDeath=\u00a77Usa el comando /back para volver al punto en el que moriste.
|
||||
backUsageMsg=\u00a77Volviendo a la localizacion anterior.
|
||||
backupDisabled=An external backup script has not been configured.
|
||||
backupFinished=Copia de seguridad completada
|
||||
backupStarted=Comenzando copia de seguridad
|
||||
balance=\u00a77Cantidad: {0}
|
||||
|
|
|
@ -12,6 +12,7 @@ alertUsed=a utilis\u00e9 :
|
|||
autoAfkKickReason=Vous avez \u00e9t\u00e9 \u00e9ject\u00e9 pour inactivit\u00e9e sup\u00e9rieure \u00e0 {0} minutes.
|
||||
backAfterDeath=\u00a77Utilisez la commande /back pour retourner \u00e0 l''endroit ou vous \u00eates mort.
|
||||
backUsageMsg=\u00a77Retour \u00e0 votre emplacement pr\u00e9c\u00c3\u00a8dent.
|
||||
backupDisabled=An external backup script has not been configured.
|
||||
backupFinished=Sauvegarde termin\u00e9
|
||||
backupStarted=D\u00e9but de la sauvegarde...
|
||||
balance=\u00a77Solde : {0}
|
||||
|
|
|
@ -12,6 +12,7 @@ alertUsed=gebruikt:
|
|||
autoAfkKickReason=You have been kicked for idling more than {0} minutes.
|
||||
backAfterDeath=\u00a77Gebruik het /back command om terug te keren naar je sterfplaats.
|
||||
backUsageMsg=\u00a77Naar de vorige locatie aan het gaan.
|
||||
backupDisabled=An external backup script has not been configured.
|
||||
backupFinished=Backup voltooid
|
||||
backupStarted=Backup gestart
|
||||
balance=\u00a77Saldo: {0}
|
||||
|
|
Loading…
Reference in a new issue