1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-22 14:23:09 +02:00

Adding mute status to /whois

This commit is contained in:
KHobbits
2012-06-12 00:16:09 +01:00
parent 593f1dd67f
commit 4f2f166824
12 changed files with 16 additions and 0 deletions

View File

@@ -72,6 +72,11 @@ public class Commandwhois extends EssentialsCommand
? Util.formatDateDiff(user.getJailTimeout()) ? Util.formatDateDiff(user.getJailTimeout())
: _("true") : _("true")
: _("false")))); : _("false"))));
sender.sendMessage(_("whoisMute", (user.isMuted()
? user.getMuteTimeout() > 0
? Util.formatDateDiff(user.getMuteTimeout())
: _("true")
: _("false"))));
sender.sendMessage(user.isAfk() sender.sendMessage(user.isAfk()
? _("whoisStatusAway") ? _("whoisStatusAway")
: _("whoisStatusAvailable")); : _("whoisStatusAvailable"));

View File

@@ -434,3 +434,4 @@ year=year
years=years years=years
youAreHealed=\u00a77You have been healed. youAreHealed=\u00a77You have been healed.
youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail. youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -437,3 +437,4 @@ year=rok
years=roky years=roky
youAreHealed=\u00a77Byl jsi uzdraven. youAreHealed=\u00a77Byl jsi uzdraven.
youHaveNewMail=\u00a7cMas {0} zprav!\u00a7f Napis \u00a77/mail read\u00a7f aby jsi si precetl sve zpravy. youHaveNewMail=\u00a7cMas {0} zprav!\u00a7f Napis \u00a77/mail read\u00a7f aby jsi si precetl sve zpravy.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ year=\u00e5r
years=\u00e5r years=\u00e5r
youAreHealed=\u00a77Du er blevet healed. Halleluja! youAreHealed=\u00a77Du er blevet healed. Halleluja!
youHaveNewMail=\u00a7cDu har {0} flaskeposter!\u00a7f Type \u00a77/mail read for at se din flaskepost. youHaveNewMail=\u00a7cDu har {0} flaskeposter!\u00a7f Type \u00a77/mail read for at se din flaskepost.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ year=Jahr
years=Jahre years=Jahre
youAreHealed=\u00a77Du wurdest geheilt. youAreHealed=\u00a77Du wurdest geheilt.
youHaveNewMail=\u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen. youHaveNewMail=\u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ year=year
years=years years=years
youAreHealed=\u00a77You have been healed. youAreHealed=\u00a77You have been healed.
youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail. youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ year=año
years=años years=años
youAreHealed=\u00a77Has sido curado. youAreHealed=\u00a77Has sido curado.
youHaveNewMail=\u00a7cTienes {0} mensajes!\u00a7f Pon \u00a77/mail read\u00a7f para ver tus emails no leidos!. youHaveNewMail=\u00a7cTienes {0} mensajes!\u00a7f Pon \u00a77/mail read\u00a7f para ver tus emails no leidos!.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ year=ann\u00e9e
years=ann\u00e9es years=ann\u00e9es
youAreHealed=\u00a77Vous avez \u00e9t\u00e9 soign\u00e9. youAreHealed=\u00a77Vous avez \u00e9t\u00e9 soign\u00e9.
youHaveNewMail=\u00a7cVous avez {0} messages ! \u00a7fEntrez \u00a77/mail read\u00a7f pour voir votre courrier. youHaveNewMail=\u00a7cVous avez {0} messages ! \u00a7fEntrez \u00a77/mail read\u00a7f pour voir votre courrier.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ hatFail=\u00a7cYou must have something to wear in your hand.
hatArmor=\u00a7cError, you cannot use this item as a hat! hatArmor=\u00a7cError, you cannot use this item as a hat!
durability=\u00a77This tool has \u00a7c{0}\u00a77 uses left durability=\u00a77This tool has \u00a7c{0}\u00a77 uses left
noDurability=\u00a7cThis item does not have a durability. noDurability=\u00a7cThis item does not have a durability.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ hatFail=\u00a7cYou must have something to wear in your hand.
hatArmor=\u00a7cError, you cannot use this item as a hat! hatArmor=\u00a7cError, you cannot use this item as a hat!
durability=\u00a77This tool has \u00a7c{0}\u00a77 uses left durability=\u00a77This tool has \u00a7c{0}\u00a77 uses left
noDurability=\u00a7cThis item does not have a durability. noDurability=\u00a7cThis item does not have a durability.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ year=rok
years=lat years=lat
youAreHealed=\u00a77Zostales/as uleczony/na. youAreHealed=\u00a77Zostales/as uleczony/na.
youHaveNewMail=\u00a7cMasz {0} wiadomosci!\u00a7f napisz \u00a77/mail read\u00a7f aby je przeczytac. youHaveNewMail=\u00a7cMasz {0} wiadomosci!\u00a7f napisz \u00a77/mail read\u00a7f aby je przeczytac.
whoisMute=\u00a79 - Jail: {0}

View File

@@ -434,3 +434,4 @@ year=ano
years=anos years=anos
youAreHealed=\u00a77Voc\u00ea foi curado. youAreHealed=\u00a77Voc\u00ea foi curado.
youHaveNewMail=\u00a7cVoc\u00ea tem {0} mensagens!\u00a7f Digite \u00a77/mail read\u00a7f para ver seu email. youHaveNewMail=\u00a7cVoc\u00ea tem {0} mensagens!\u00a7f Digite \u00a77/mail read\u00a7f para ver seu email.
whoisMute=\u00a79 - Jail: {0}