From 3d33bbc33d93b114bf98c1b78268f78c39526ee5 Mon Sep 17 00:00:00 2001 From: delbertina Date: Wed, 20 Dec 2017 00:35:51 -0600 Subject: [PATCH 1/2] Added 8 new messages for "...Reason" versions of mute messages and implemented em. --- .../essentials/EssentialsPlayerListener.java | 3 +-- .../com/earth2me/essentials/commands/Commandafk.java | 3 +-- .../earth2me/essentials/commands/Commandmail.java | 3 +-- .../com/earth2me/essentials/commands/Commandme.java | 3 +-- .../earth2me/essentials/commands/Commandmute.java | 12 ++++++------ .../com/earth2me/essentials/commands/Commandr.java | 3 +-- .../earth2me/essentials/commands/Commandseen.java | 5 +++-- .../earth2me/essentials/commands/Commandwhois.java | 5 +++-- Essentials/src/messages.properties | 9 ++++++++- Essentials/src/messages_cs.properties | 9 ++++++++- Essentials/src/messages_da.properties | 9 ++++++++- Essentials/src/messages_de.properties | 9 ++++++++- Essentials/src/messages_en.properties | 9 ++++++++- Essentials/src/messages_es.properties | 9 ++++++++- Essentials/src/messages_et.properties | 9 ++++++++- Essentials/src/messages_fi.properties | 9 ++++++++- Essentials/src/messages_fr.properties | 9 ++++++++- Essentials/src/messages_hu.properties | 9 ++++++++- Essentials/src/messages_it.properties | 9 ++++++++- Essentials/src/messages_ko.properties | 9 ++++++++- Essentials/src/messages_lt.properties | 9 ++++++++- Essentials/src/messages_nl.properties | 9 ++++++++- Essentials/src/messages_pl.properties | 9 ++++++++- Essentials/src/messages_pt.properties | 9 ++++++++- Essentials/src/messages_pt_BR.properties | 9 ++++++++- Essentials/src/messages_ro.properties | 9 ++++++++- Essentials/src/messages_ru.properties | 9 ++++++++- Essentials/src/messages_sv.properties | 9 ++++++++- Essentials/src/messages_tr.properties | 9 ++++++++- Essentials/src/messages_zh.properties | 9 ++++++++- Essentials/src/messages_zh_HK.properties | 9 ++++++++- Essentials/src/messages_zh_TW.properties | 9 ++++++++- 32 files changed, 209 insertions(+), 44 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index c52d9631e..554fec77f 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -81,8 +81,7 @@ public class EssentialsPlayerListener implements Listener { if (user.isMuted()) { event.setCancelled(true); - user.sendMessage(tl("voiceSilenced") + (user.hasMuteReason() ? - (" " + tl("muteReason", user.getMuteReason())) : "")); + user.sendMessage(user.hasMuteReason() ? tl("voiceSilencedReason", user.getMuteReason()) : tl("voiceSilenced")); LOGGER.info(tl("mutedUserSpeaks", user.getName(), event.getMessage())); } diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandafk.java b/Essentials/src/com/earth2me/essentials/commands/Commandafk.java index df5847274..d9f73be86 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandafk.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandafk.java @@ -51,8 +51,7 @@ public class Commandafk extends EssentialsCommand { private void toggleAfk(User sender, User user, String message) throws Exception { if (message != null && sender != null) { if (sender.isMuted()) { - throw new Exception(tl("voiceSilenced") + (sender.hasMuteReason() ? - (" " + tl("muteReason", sender.getMuteReason())) : "")); + throw new Exception(sender.hasMuteReason() ? tl("voiceSilencedReason", sender.getMuteReason()) : tl("voiceSilenced")); } if (!sender.isAuthorized("essentials.afk.message")) { throw new Exception(tl("noPermToAFKMessage")); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmail.java b/Essentials/src/com/earth2me/essentials/commands/Commandmail.java index a9e188a93..673489c6e 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmail.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmail.java @@ -48,8 +48,7 @@ public class Commandmail extends EssentialsCommand { } if (user.isMuted()) { - throw new Exception(tl("voiceSilenced") + (user.hasMuteReason() ? - (" " + tl("muteReason", user.getMuteReason())) : "")); + throw new Exception(user.hasMuteReason() ? tl("voiceSilencedReason", user.getMuteReason()) : tl("voiceSilenced")); } User u = getPlayer(server, args[1], true, true); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandme.java b/Essentials/src/com/earth2me/essentials/commands/Commandme.java index 8e954e927..e131db961 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandme.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandme.java @@ -24,8 +24,7 @@ public class Commandme extends EssentialsCommand { @Override public void run(Server server, User user, String commandLabel, String[] args) throws Exception { if (user.isMuted()) { - throw new Exception(tl("voiceSilenced") + (user.hasMuteReason() ? - (" " + tl("muteReason", user.getMuteReason())) : "")); + throw new Exception(user.hasMuteReason() ? tl("voiceSilencedReason", user.getMuteReason()) : tl("voiceSilenced")); } if (args.length < 1) { diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java index b87ecc07d..63567b5e3 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java @@ -83,8 +83,8 @@ public class Commandmute extends EssentialsCommand { sender.sendMessage(tl("mutedPlayerFor", user.getDisplayName(), muteTime)); user.sendMessage(tl("playerMutedFor", muteTime)); } else { - sender.sendMessage(tl("mutedPlayerFor", user.getDisplayName(), muteTime) + " " + tl("muteReason",user.getMuteReason())); - user.sendMessage(tl("playerMutedFor", muteTime) + " " + tl("muteReason",user.getMuteReason())); + sender.sendMessage(tl("mutedPlayerForReason", user.getDisplayName(), muteTime, user.getMuteReason())); + user.sendMessage(tl("playerMutedForReason", muteTime, user.getMuteReason())); } } else { if (user.getMuteReason ().equals ("")) { @@ -93,9 +93,9 @@ public class Commandmute extends EssentialsCommand { user.sendMessage(tl("playerMuted")); } else { - sender.sendMessage(tl("mutedPlayer", user.getDisplayName()) + " " + tl("muteReason",user.getMuteReason())); + sender.sendMessage(tl("mutedPlayerReason", user.getDisplayName(), user.getMuteReason())); /** Send the player a message, why they were muted **/ - user.sendMessage(tl("playerMuted") + " " + tl("muteReason",user.getMuteReason())); + user.sendMessage(tl("playerMutedReason", user.getMuteReason())); } } final String message; @@ -104,14 +104,14 @@ public class Commandmute extends EssentialsCommand { message = tl("muteNotifyFor", sender.getSender().getName(), user.getName(), muteTime); } else { - message = (tl("muteNotifyFor", sender.getSender().getName(), user.getName(), muteTime) + " " + tl("muteReason",user.getMuteReason())); + message = (tl("muteNotifyForReason", sender.getSender().getName(), user.getName(), muteTime, user.getMuteReason())); } } else { if (user.getMuteReason ().equals ("")) { message = tl("muteNotify", sender.getSender().getName(), user.getName()); } else { - message = (tl("muteNotify", sender.getSender().getName(), user.getName()) + " " + tl("muteReason",user.getMuteReason())); + message = (tl("muteNotifyReason", sender.getSender().getName(), user.getName(), user.getMuteReason())); } } server.getLogger().log(Level.INFO, message); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandr.java b/Essentials/src/com/earth2me/essentials/commands/Commandr.java index 2e251c666..67a2d1dec 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandr.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandr.java @@ -28,8 +28,7 @@ public class Commandr extends EssentialsCommand { User user = ess.getUser(sender.getPlayer()); if (user.isMuted()) { - throw new Exception(tl("voiceSilenced") + (user.hasMuteReason() ? - (" " + tl("muteReason", user.getMuteReason())) : "")); + throw new Exception(user.hasMuteReason() ? tl("voiceSilencedReason", user.getMuteReason()) : tl("voiceSilenced")); } message = FormatUtil.formatMessage(user, "essentials.msg", message); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java index 601044f97..4791ce623 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java @@ -117,8 +117,9 @@ public class Commandseen extends EssentialsCommand { sender.sendMessage(tl("whoisJail", (user.getJailTimeout() > 0 ? DateUtil.formatDateDiff(user.getJailTimeout()) : tl("true")))); } if (user.isMuted()) { - sender.sendMessage(tl("whoisMuted", (user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true"))) + (user.hasMuteReason() ? - (" " + tl("muteReason", user.getMuteReason())) : "")); + sender.sendMessage(user.hasMuteReason() ? (tl("whoisMutedReason", (user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true")), user.getMuteReason())) : + tl("whoisMuted", (user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true")))); + sender.sendMessage(tl("whoisMuted", (user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true")))); } final String location = user.getGeoLocation(); if (location != null && (!(sender.isPlayer()) || ess.getUser(sender.getPlayer()).isAuthorized("essentials.geoip.show"))) { diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java index be4d65c78..c92059358 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java @@ -56,8 +56,9 @@ public class Commandwhois extends EssentialsCommand { sender.sendMessage(tl("whoisAFK", tl("false"))); } sender.sendMessage(tl("whoisJail", (user.isJailed() ? user.getJailTimeout() > 0 ? DateUtil.formatDateDiff(user.getJailTimeout()) : tl("true") : tl("false")))); - sender.sendMessage(tl("whoisMuted") + (user.hasMuteReason() ? - (" " + tl("muteReason", user.getMuteReason())) : "")); + sender.sendMessage(user.hasMuteReason() ? tl("whoisMutedReason", (user.isMuted() ? user.getMuteTimeout() > 0 ? + DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true") : tl("false")),user.getMuteReason()) : tl("whoisMuted", (user.isMuted() ? + user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true") : tl("false")))); } @Override diff --git a/Essentials/src/messages.properties b/Essentials/src/messages.properties index c884c16ae..23c7a8007 100644 --- a/Essentials/src/messages.properties +++ b/Essentials/src/messages.properties @@ -597,4 +597,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_cs.properties b/Essentials/src/messages_cs.properties index 4d4a715dc..23ceb3348 100644 --- a/Essentials/src/messages_cs.properties +++ b/Essentials/src/messages_cs.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_da.properties b/Essentials/src/messages_da.properties index 50bcd1586..8f64f859d 100644 --- a/Essentials/src/messages_da.properties +++ b/Essentials/src/messages_da.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_de.properties b/Essentials/src/messages_de.properties index 0981405ef..8698fdafe 100644 --- a/Essentials/src/messages_de.properties +++ b/Essentials/src/messages_de.properties @@ -587,4 +587,11 @@ createKitFailed=\u00a74Beim Erstellen des Kits ist ein Fehler aufgetreten {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Erstelltes Kit: \u00a7f{0}\n\u00a76Verz\u00F6gerung: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Kopiere Inhalte aus dem oben stehenden Link in deine config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_en.properties b/Essentials/src/messages_en.properties index ec7f1ee0f..5dbba8f20 100644 --- a/Essentials/src/messages_en.properties +++ b/Essentials/src/messages_en.properties @@ -588,4 +588,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_es.properties b/Essentials/src/messages_es.properties index 2f540d380..783f4aed8 100644 --- a/Essentials/src/messages_es.properties +++ b/Essentials/src/messages_es.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Ocurrio un error durante la creacion del kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Kit creado: \u00a7f{0}\n\u00a76Tiempo de espera: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copia el contenido del link de arriba en tu archivo config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_et.properties b/Essentials/src/messages_et.properties index 3005dff0c..7cfb0558b 100644 --- a/Essentials/src/messages_et.properties +++ b/Essentials/src/messages_et.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_fi.properties b/Essentials/src/messages_fi.properties index 5ee25e926..59536a888 100644 --- a/Essentials/src/messages_fi.properties +++ b/Essentials/src/messages_fi.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_fr.properties b/Essentials/src/messages_fr.properties index cd8522c7d..09bd07723 100644 --- a/Essentials/src/messages_fr.properties +++ b/Essentials/src/messages_fr.properties @@ -597,4 +597,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_hu.properties b/Essentials/src/messages_hu.properties index 24740bfde..c4d9e6e08 100644 --- a/Essentials/src/messages_hu.properties +++ b/Essentials/src/messages_hu.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_it.properties b/Essentials/src/messages_it.properties index ee6050341..4739b5587 100644 --- a/Essentials/src/messages_it.properties +++ b/Essentials/src/messages_it.properties @@ -596,4 +596,11 @@ createKitFailed=\u00a74Si \u00E8 verificato un errore creando il kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Kit Creato: \u00a7f{0}\n\u00a76Attesa: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copia i contenuti nel link sopra nella tua config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_ko.properties b/Essentials/src/messages_ko.properties index 78f171d6f..ee0fb3aae 100644 --- a/Essentials/src/messages_ko.properties +++ b/Essentials/src/messages_ko.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_lt.properties b/Essentials/src/messages_lt.properties index 25857e235..4b00178c0 100644 --- a/Essentials/src/messages_lt.properties +++ b/Essentials/src/messages_lt.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_nl.properties b/Essentials/src/messages_nl.properties index 8eb7f688f..95c1e57ed 100644 --- a/Essentials/src/messages_nl.properties +++ b/Essentials/src/messages_nl.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_pl.properties b/Essentials/src/messages_pl.properties index 776391990..9c7ad6b57 100644 --- a/Essentials/src/messages_pl.properties +++ b/Essentials/src/messages_pl.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_pt.properties b/Essentials/src/messages_pt.properties index f1abc56d6..c064cec1a 100644 --- a/Essentials/src/messages_pt.properties +++ b/Essentials/src/messages_pt.properties @@ -581,4 +581,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_pt_BR.properties b/Essentials/src/messages_pt_BR.properties index 8abca2790..d25930920 100644 --- a/Essentials/src/messages_pt_BR.properties +++ b/Essentials/src/messages_pt_BR.properties @@ -581,4 +581,11 @@ createKitFailed=\u00a74Um erro ocorreu ao criar o kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Kit criado: \u00a7f{0}\n\u00a76Tempo: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copie o conte\u00FAdo do link acima para a config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_ro.properties b/Essentials/src/messages_ro.properties index ab089939d..34e7f831c 100644 --- a/Essentials/src/messages_ro.properties +++ b/Essentials/src/messages_ro.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_ru.properties b/Essentials/src/messages_ru.properties index 4a58a5ad6..75e049359 100644 --- a/Essentials/src/messages_ru.properties +++ b/Essentials/src/messages_ru.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_sv.properties b/Essentials/src/messages_sv.properties index 187ec5926..b88892ff1 100644 --- a/Essentials/src/messages_sv.properties +++ b/Essentials/src/messages_sv.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_tr.properties b/Essentials/src/messages_tr.properties index 07ff2122c..a9325fdef 100644 --- a/Essentials/src/messages_tr.properties +++ b/Essentials/src/messages_tr.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_zh.properties b/Essentials/src/messages_zh.properties index fb406c41c..e1c0edb8b 100644 --- a/Essentials/src/messages_zh.properties +++ b/Essentials/src/messages_zh.properties @@ -596,4 +596,11 @@ createKitFailed=\u00a74\u521b\u5efa\u793c\u5305\u51fa\u9519 {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76\u521b\u5efa\u793c\u5305: \u00a7f{0}\n\u00a76\u4f7f\u7528\u6b21\u6570: \u00a7f{1}\n\u00a76\u4fe1\u606f: \u00a7f{2}\n\u00a76\u590d\u5236\u4e0b\u9762\u7684\u4fe1\u606f\u5230config\u91cc\u9762. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_zh_HK.properties b/Essentials/src/messages_zh_HK.properties index d0c84aed0..c3d98a53b 100644 --- a/Essentials/src/messages_zh_HK.properties +++ b/Essentials/src/messages_zh_HK.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} diff --git a/Essentials/src/messages_zh_TW.properties b/Essentials/src/messages_zh_TW.properties index 841f88286..ba553f535 100644 --- a/Essentials/src/messages_zh_TW.properties +++ b/Essentials/src/messages_zh_TW.properties @@ -584,4 +584,11 @@ createKitFailed=\u00a74Error occurred whilst creating kit {0}. createKitSeparator=\u00a7m----------------------- createKitSuccess=\u00a76Created Kit: \u00a7f{0}\n\u00a76Delay: \u00a7f{1}\n\u00a76Link: \u00a7f{2}\n\u00a76Copy contents in the link above into your config.yml. whoisUuid=\u00a76 - UUID\:\u00a7r {0} -muteReason=\u00a76Reason: \u00a7c{0} +voiceSilencedReason=\u00a76Your voice has been silenced\! \u00a76Reason: \u00a7c{0} +whoisMutedReason=\u00a76 - Muted\:\u00a7r {0} \u00a76Reason: \u00a7c{1} +muteNotifyReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76. \u00a76Reason: \u00a7c{2} +muteNotifyForReason=\u00a7c{0} \u00a76has muted player \u00a7c{1}\u00a76 for\u00a7c {2}\u00a76. \u00a76Reason: \u00a7c{3} +mutedPlayerReason=\u00a76Player\u00a7c {0} \u00a76muted. \u00a76Reason: \u00a7c{1} +mutedPlayerForReason=\u00a76Player\u00a7c {0} \u00a76muted for\u00a7c {1}\u00a76. \u00a76Reason: \u00a7c{2} +playerMutedReason=\u00a76You have been muted\! \u00a76Reason: \u00a7c{0} +playerMutedForReason=\u00a76You have been muted for\u00a7c {0}. \u00a76Reason: \u00a7c{1} From ff37ef3bc54df61a4656a4e12a8fb4a8c02b58d2 Mon Sep 17 00:00:00 2001 From: delbertina Date: Sun, 24 Dec 2017 00:03:36 -0600 Subject: [PATCH 2/2] Added reason stuff to msg command and deleted reference line in seen command. Oops! --- Essentials/src/com/earth2me/essentials/commands/Commandmsg.java | 2 +- .../src/com/earth2me/essentials/commands/Commandseen.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java b/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java index e8fabd137..f2fdfcc33 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmsg.java @@ -29,7 +29,7 @@ public class Commandmsg extends EssentialsLoopCommand { if (sender.isPlayer()) { User user = ess.getUser(sender.getPlayer()); if (user.isMuted()) { - throw new Exception(tl("voiceSilenced")); + throw new Exception(user.hasMuteReason() ? tl("voiceSilencedReason", user.getMuteReason()) : tl("voiceSilenced")); } message = FormatUtil.formatMessage(user, "essentials.msg", message); canWildcard = user.isAuthorized("essentials.msg.multiple"); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java index 4791ce623..afaf903ab 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java @@ -119,7 +119,6 @@ public class Commandseen extends EssentialsCommand { if (user.isMuted()) { sender.sendMessage(user.hasMuteReason() ? (tl("whoisMutedReason", (user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true")), user.getMuteReason())) : tl("whoisMuted", (user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true")))); - sender.sendMessage(tl("whoisMuted", (user.getMuteTimeout() > 0 ? DateUtil.formatDateDiff(user.getMuteTimeout()) : tl("true")))); } final String location = user.getGeoLocation(); if (location != null && (!(sender.isPlayer()) || ess.getUser(sender.getPlayer()).isAuthorized("essentials.geoip.show"))) {