Make /realname configurable (#1952) @Xeyame

Closes #1810.

@md678685: I've added colour codes to the `realName` messages by default, which was not originally part of this PR.
This commit is contained in:
Xeyame 2018-08-26 16:39:37 +02:00 committed by md678685
parent 81397d98b8
commit f97c5fc1ff
25 changed files with 25 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class Commandrealname extends EssentialsCommand {
final String displayName = FormatUtil.stripFormat(u.getDisplayName()).toLowerCase(Locale.ENGLISH);
if (displayName.contains(whois)) {
foundUser = true;
sender.sendMessage(u.getDisplayName() + " " + tl("is") + " " + u.getName());
sender.sendMessage(tl("realName", u.getDisplayName(), u.getName()));
}
}
if (!foundUser) {

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for\: \u00a7c{1}.
questionFormat=\u00a72[Question]\u00a7r {0}
radiusTooBig=\u00a74Radius is too big\! Maximum radius is {0}.
readNextPage=\u00a76Type\u00a7c /{0} {1} \u00a76to read the next page.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 of \u00a7c{2}\u00a76)
recipeBadIndex=There is no recipe by that number.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Pocasi hrace\u00a7c {1} \u00a76bylo nastaveno na\u00a7c {0}\u
questionFormat=\u00a72[Otazka]\u00a7f {0}
radiusTooBig=\u00a74Polomer je prilis velky\! Maximalni polomer je \u00a7c{0} bloku\u00a74.
readNextPage=\u00a76Napis\u00a7c /{0} {1} \u00a76pro precteni dalsi stranky.
realName=\u00a7f{0}\u00a7r\u00a76 je \u00a7f{1}
recentlyForeverAlone=\u00a74{0} v posledni dobe offline.
recipe=\u00a76Vypis receptu \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 z \u00a7c{2}\u00a76)
recipeBadIndex=Pro toto cislo neexistuje zadny recept.

View File

@ -440,6 +440,7 @@ recipeNothing=intet
recipeShapeless=\u00a76Kombiner \u00a7c{0}
recipeWhere=\u00a76Hvor\: {0}
removed=\u00a76Fjernede\u00a7c {0} \u00a76enheder.
realName=\u00a7f{0}\u00a7r\u00a76 er \u00a7f{1}
repair=\u00a76Du har succesfuldt repareret din\: \u00a7c{0}\u00a76.
repairAlreadyFixed=\u00a74Dette element beh\u00f8ver ikke reparation.
repairEnchanted=\u00a74Du har ikke tilladelse til at reparere fortryllede elementer.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Spielerwetter gesetzt auf \u00a7c{0}\u00a76 f\u00fcr\: \u00a7
questionFormat=\u00a72[Frage]\u00a7r {0}
radiusTooBig=\u00a74Radius ist zu gro\u00df\! Maximaler Radius ist {0}.
readNextPage=\u00a76Tippe\u00a7c /{0} {1} \u00a76f\u00fcr die n\u00e4chste Seite.
realName=\u00a7f{0}\u00a7r\u00a76 ist \u00a7f{1}
recentlyForeverAlone=\u00a74{0} ging vor Kurzem offline.
recipe=\u00a76Rezept f\u00fcr \u00a7c{0}\u00a75 (\u00a7c{1}\u00a76 von \u00a7c{2}\u00a76)
recipeBadIndex=Es gibt kein Rezept mit dieser Nummer.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for\: \u00a7c{1}.
questionFormat=\u00a72[Question]\u00a7r {0}
radiusTooBig=\u00a74Radius is too big\! Maximum radius is {0}.
readNextPage=\u00a76Type\u00a7c /{0} {1} \u00a76to read the next page.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 of \u00a7c{2}\u00a76)
recipeBadIndex=There is no recipe by that number.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Clima establecido en \u00a7c{0}\u00a76 para\: \u00a7c{1}.
questionFormat=\u00a72[Pregunta]\u00a7r {0}
radiusTooBig=\u00a74\u00a1Radio demasiado grande\! Lo m\u00e1ximo es {0}.
readNextPage=\u00a77Escribe\u00a7c /{0} {1} \u00a77para leer la p\u00e1gina siguiente.
realName=\u00a7f{0}\u00a7r\u00a76 es \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Receta para \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 de \u00a7c{2}\u00a76)
recipeBadIndex=No hay ning\u00fan crafteo con ese n\u00famero.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76M\u00e4ngija ilm on seatud \u00a7c{0}\u00a76 m\u00e4ngijale\:
questionFormat=\u00a72[K\u00fcsimus]\u00a7r {0}
radiusTooBig=\u00a74Raadius on liiga suur\! Maksimaalne raadius on {0}.
readNextPage=\u00a76Kirjuta\u00a7c /{0} {1}\u00a76, et lugeda j\u00e4rgmist lehte.
realName=\u00a7f{0}\u00a7r\u00a76 on \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Retsept esemele \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 koguses \u00a7c{2}\u00a76)
recipeBadIndex=Ei leidunud restepti antud numbriga.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for\: \u00a7c{1}.
questionFormat=\u00a77[Question]\u00a7f {0}
radiusTooBig=\u00a74Radius is too big\! Maximum radius is {0}.
readNextPage=Kirjoita /{0} {1} lukeaksesi seuraavan sivun
realName=\u00a7f{0}\u00a7r\u00a76 on \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 of \u00a7c{2}\u00a76)
recipeBadIndex=There is no recipe by that number.

View File

@ -428,6 +428,7 @@ pWeatherSet=La m\u00e9t\u00e9o du joueur a \u00e9t\u00e9 r\u00e9gl\u00e9e \u00e0
questionFormat=\u00a72[Question]\u00a7r {0}
radiusTooBig=\u00a74Le rayon est trop grand \! Le rayon maximum est {0}.
readNextPage=Utilisez /{0} {1} pour lire la page suivante.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} vient de se d\u00e9connecter r\u00e9cemment.
recipe=\u00a76Recette pour \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 sur \u00a7c{2}\u00a76)
recipeBadIndex=Il n''y a pas de rec\u00eate pour ce num\u00e9ro.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76A j\u00e1t\u00e9kos id\u0151j\u00e1r\u00e1s\u00e1nak be\u00e1
questionFormat=\u00a72[K\u00e9rd\u00e9s]\u00a7r {0}
radiusTooBig=\u00a74Ez a sug\u00e1r t\u00fal nagy\! A maximum\: {0}.
readNextPage=\u00a76\u00cdrd be a\u00a7c /{0} {1}\u00a76 parancsot a k\u00f6vetkez\u0151 oldal elolvas\u00e1s\u00e1hoz.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} a k\u00f6zelm\u00faltban ment.
recipe=\u00a76\u00a7c{0}\u00a76 receptje (\u00a7c{1}\u00a76 az \u00a7c{2}\u00a76-b\u00f3l/b\u0151l)
recipeBadIndex=Nincs recept ennyihez.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Il meteo del giocatore \u00e8 stato impostato a \u00a7c{0}\u0
questionFormat=\u00a72[Domanda]\u00a7r {0}
radiusTooBig=\u00a74Il raggio \u00e8 troppo grande\! Il raggio massimo \u00e8 di {0}.
readNextPage=\u00a76Scrivi\u00a7c /{0} {1} \u00a76per la pagina successiva.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recentemente \u00E8 andato offline.
recipe=\u00a76Crafting per \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 di \u00a7c{2}\u00a76)
recipeBadIndex=Non c''\u00E8 nessuna ricetta con quel numero.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for\: \u00a7c{1}.
questionFormat=\u00a72[\uc9c8\ubb38]\u00a7r {0}
radiusTooBig=\u00a74\ubc94\uc704\uac00 \ub108\ubb34 \ud07d\ub2c8\ub2e4\! \ucd5c\ub300 \ubc94\uc704\ub294 {0}\uc785\ub2c8\ub2e4.
readNextPage=\u00a7c/{0} {1} \u00a76\ub97c \uc785\ub825\ud558\uc5ec \ub2e4\uc74c \ud398\uc774\uc9c0\ub97c \uc77d\uc73c\uc138\uc694.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a7c{0}\u00a76 (\u00a7c{2}\u00a76\uc758 \u00a7c{1}\u00a76) \uc758 \uc870\ud569\ubc95
recipeBadIndex=\uadf8 \ubc88\ud638\uc5d0 \ub300\ud55c \ub808\uc2dc\ud53c\uac00 \uc874\uc7ac\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for\: \u00a7c{1}.
questionFormat=\u00a72[Question]\u00a7r {0}
radiusTooBig=\u00a74Radius is too big\! Maximum radius is {0}.
readNextPage=\u00a76Ra\u0161yk\u00a7c /{0} {1} \u00a76norint per\u017ei\u016br\u0117ti kit\u0105 puslap\u012f.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Receptas u\u017e \u00a7c {0} \u00a76(\u00a7c{2} \u00a7c{1})
recipeBadIndex=There is no recipe by that number.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Speler weer is ingesteld op \u00a7c{0}\u00a76 voor\: \u00a7c{
questionFormat=\u00a77[Vraag]\u00a7f {0}
radiusTooBig=\u00a74Straal is te groot\! Maximale straal is {0}.
readNextPage=Type /{0} {1} om de volgende pagina te lezen.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} is kort geleden offline gegaan.
recipe=\u00a76Recept voor \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 van \u00a7c{2}\u00a76)
recipeBadIndex=Er is geen recept met dat nummer.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a77Gracz ustawil pogod\u0119 \u00a7c{0}\u00a77 dla\: \u00a7c{1}.
questionFormat=\u00a72[Pytanie]\u00a7r {0}
radiusTooBig=\u00a74Zasi\u0119g jest zbyt du\u017cy\! Maksymalny zasi\u0119g to {0}.
readNextPage=\u00a77Wpisz\u00a7c /{0} {1} \u00a77aby przeczyta\u0107 nast\u0119pn\u0105 strone.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} niedawno wszed\u0142 w tryb offline.
recipe=\u00a76Receptura dla \u00a7c{0}\u00a76 ({1} z {2})
recipeBadIndex=Nie ma receptury dla tego numeru.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00A76O clima do jogador foi definido para \u00A7c{0}\u00A76 por: \
questionFormat=\u00A72[Pergunta]\u00A7r {0}
radiusTooBig=\u00A74O raio \u00E9 muito grande. O raio m\u00E1ximo permitido \u00E9 de {0}.
readNextPage=\u00A76Digita\u00A7c /{0} {1} \u00A76para ler a proxima p\u00E1gina.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00A76Receita para \u00A7c {0} \u00A76 (\u00A76 \u00A7c {1} de \u00A7c {2} \u00A76)
recipeBadIndex=N\u00E3o h\u00E1 receita para esse n\u00FAmero.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00A76O clima do jogador foi definido para \u00A7c{0}\u00A76 por\:
questionFormat=\u00A72[Pergunta]\u00A7r {0}
radiusTooBig=\u00A74O raio \u00E9 muito grande. O raio m\u00E1ximo permitido \u00E9 de {0}.
readNextPage=\u00A76Digite\u00A7c /{0} {1} \u00A76para ler a proxima p\u00E1gina.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00A76Receita para \u00A7c {0} \u00A76 (\u00A76 \u00A7c {1} de \u00A7c {2} \u00A76)
recipeBadIndex=N\u00E3o h\u00E1 receita para esse numero.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Vreme este setata la \u00a7c {0} \u00a76 pentru\: \u00a7c {1}
questionFormat=\u00a72[Intrebare]\u00a7r {0}
radiusTooBig=\u00a74Distanta este prea mare\! Distanta maxima este de {0}.
readNextPage=\u00a76Scrie\u00a7c /{0} {1} \u00a76pentru a citi pagina urmatoare.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 of \u00a7c{2}\u00a76)
recipeBadIndex=Nu este nici o reteta cu acel numar.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76\u041f\u043e\u0433\u043e\u0434\u0430 \u0438\u0433\u0440\u043e
questionFormat=\u00a72[\u0412\u043e\u043f\u0440\u043e\u0441]\u00a7r {0}
radiusTooBig=\u00a74\u0420\u0430\u0434\u0438\u0443\u0441 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439\! \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0434\u0438\u0443\u0441 - {0}.
readNextPage=\u00a76\u0412\u0432\u0435\u0434\u0438\u00a7c /{0} {1} \u00a76\u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76\u0420\u0435\u0446\u0435\u043f\u0442 \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 \u0438\u0437 \u00a7c{2}\u00a76)
recipeBadIndex=\u0420\u0435\u0446\u0435\u043f\u0442\u0430 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Personligt v\u00e4der \u00e4r satt till \u00a7c{0}\u00a76 f\u
questionFormat=\u00a77[Fr\u00e5ga]\u00a7f {0}
radiusTooBig=\u00a74Radien \u00e4r f\u00f6r stor\! Den maximala radien \u00e4r {0}.
readNextPage=Skriv /{0} {1} f\u00f6r att l\u00e4sa n\u00e4sta sida
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 of \u00a7c{2}\u00a76)
recipeBadIndex=Det finns inget recept med det numret

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76Oyuncu hava durumunu \u00a7c{1} \u00a76adli oyuncu icin \u00a
questionFormat=\u00a72[SORU]\u00a7r {0}
radiusTooBig=\u00a74Mesafe cok buyuk\! En fazla mesafe {0}.
readNextPage=\u00a76Diger Sayfaya Gecmek Icin\u00a7c /{0} {1} \u00a76Yazin.
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 ({1} of {2})
recipeBadIndex=Numara Belirtin\!.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76\u73a9\u5bb6\u00a7c{1}\u00a76\u7684\u5929\u6c14\u88ab\u8bbe\u
questionFormat=\u00a72[\u63d0\u95ee]\u00a7r {0}
radiusTooBig=\u00a74\u534a\u5f84\u8fc7\u5927\!\u6700\u5927\u534a\u5f84\u4e3a{0}.
readNextPage=\u00a76\u8f93\u5165 \u00a7c/{0} {1} \u00a76\u6765\u9605\u8bfb\u4e0b\u4e00\u9875
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} \u5df2\u7ecf\u4e0b\u7ebf\u4e86.
recipe=\u00a76\u8fd9\u4e2a\u7269\u54c1\u7684\u5408\u6210\u516c\u5f0f \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 \u00a7c{2}\u00a76)
recipeBadIndex=\u8fd9\u4e2a\u7f16\u53f7\u6ca1\u6709\u5339\u914d\u7684\u5408\u6210\u516c\u5f0f.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76\u73a9\u5bb6\u00a7c{1}\u00a76\u7684\u5929\u6c23\u88ab\u8a2d\u
questionFormat=\u00a72[\u63d0\u554f]\u00a7r {0}
radiusTooBig=\u00a74\u7bc4\u570d\u592a\u5927\! \u6700\u5927\u7bc4\u570d\u70ba{0}.
readNextPage=\u00a76\u8f38\u5165 \u00a7c/{0} {1} \u00a76\u4f86\u95b1\u8b80\u4e0b\u4e00\u9801
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 of \u00a7c{2}\u00a76)
recipeBadIndex=\u9019\u500b\u7de8\u865f\u6c92\u6709\u5339\u914d\u7684\u5408\u6210\u516c\u5f0f.

View File

@ -428,6 +428,7 @@ pWeatherSet=\u00a76\u73a9\u5bb6\u00a7c{1}\u00a76\u7684\u5929\u6c23\u88ab\u8a2d\u
questionFormat=\u00a72[\u63d0\u554f]\u00a7r {0}
radiusTooBig=\u00a74\u7bc4\u570d\u592a\u5927\! \u6700\u5927\u7bc4\u570d\u70ba{0}.
readNextPage=\u00a76\u8f38\u5165 \u00a7c/{0} {1} \u00a76\u4f86\u95b1\u8b80\u4e0b\u4e00\u9801
realName=\u00a7f{0}\u00a7r\u00a76 is \u00a7f{1}
recentlyForeverAlone=\u00a74{0} recently went offline.
recipe=\u00a76Recipe for \u00a7c{0}\u00a76 (\u00a7c{1}\u00a76 of \u00a7c{2}\u00a76)
recipeBadIndex=\u9019\u500b\u7de8\u865f\u6c92\u6709\u5339\u914d\u7684\u5408\u6210\u516c\u5f0f.