mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-05-07 16:17:31 +00:00
Adding gamemode to whois
Fixing exception in unban
This commit is contained in:
parent
51920420ce
commit
f98eb4a40d
8 changed files with 47 additions and 38 deletions
|
@ -29,7 +29,7 @@ public class Commandunban extends EssentialsCommand
|
|||
}
|
||||
catch (NoSuchFieldException e)
|
||||
{
|
||||
sender.sendMessage(Util.i18n("playerNotFound"));
|
||||
throw new Exception(Util.i18n("playerNotFound"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@ public class Commandwhois extends EssentialsCommand
|
|||
sender.sendMessage("");
|
||||
sender.sendMessage(Util.format("whoisIs", u.getDisplayName(), u.getName()));
|
||||
sender.sendMessage(Util.format("whoisHealth", u.getHealth()));
|
||||
sender.sendMessage(Util.format("whoisGamemode", u.getGameMode().toString()));
|
||||
sender.sendMessage(Util.format("whoisLocation", u.getLocation().getWorld().getName(), u.getLocation().getBlockX(), u.getLocation().getBlockY(), u.getLocation().getBlockZ()));
|
||||
if (!ess.getSettings().isEcoDisabled())
|
||||
{
|
||||
|
|
|
@ -78,6 +78,7 @@ failedToWriteConfig = Failed to write config {0}
|
|||
fileRenameError = Renaming file {0} failed
|
||||
foreverAlone = \u00a7cYou have nobody to whom you can reply.
|
||||
freedMemory = Freed {0} MB.
|
||||
gameMode = \u00a77Set game mode {0} for {1}.
|
||||
gcchunks = chunks,
|
||||
gcentities = entities
|
||||
gcfree = Free memory: {0} MB
|
||||
|
@ -166,10 +167,10 @@ minute = minute
|
|||
minutes = minutes
|
||||
missingItems = You do not have {0}x {1}.
|
||||
missingPrefixSuffix = Missing a prefix or suffix for {0}
|
||||
mobsAvailable = \u00a77Mobs: {0}
|
||||
mobSpawnError = Error while changing mob spawner.
|
||||
mobSpawnLimit = Mob quantity limited to server limit
|
||||
mobSpawnTarget = Target block must be a mob spawner.
|
||||
mobsAvailable = \u00a77Mobs: {0}
|
||||
moneyRecievedFrom = \u00a7a{0} has been received from {1}
|
||||
moneySentTo = \u00a7a{0} has been sent to {1}
|
||||
moneyTaken = {0} taken from your bank account.
|
||||
|
@ -203,8 +204,8 @@ noMailSendPerm = \u00a7cYou do not have the \u00a7fessentials.mail.send\u00a7c p
|
|||
noMotd = \u00a7cThere is no message of the day.
|
||||
noNewMail = \u00a77You have no new mail.
|
||||
noPendingRequest = You do not have a pending request.
|
||||
noPowerTools = You have no power tools assigned.
|
||||
noPlacePermission = \u00a7cYou do not have permission to place a block near that sign.
|
||||
noPowerTools = You have no power tools assigned.
|
||||
noRules = \u00a7cThere are no rules specified yet.
|
||||
noWarpsDefined = No warps defined
|
||||
none = none
|
||||
|
@ -250,8 +251,8 @@ powerToolListEmpty = {0} has no commands assigned.
|
|||
powerToolNoSuchCommandAssigned = Command \u00a7c{0}\u00a7f has not been assigned to {1}.
|
||||
powerToolRemove = Command \u00a7c{0}\u00a7f removed from {1}.
|
||||
powerToolRemoveAll = All commands removed from {0}.
|
||||
powerToolsEnabled = All of your power tools have been enabled.
|
||||
powerToolsDisabled = All of your power tools have been disabled.
|
||||
powerToolsEnabled = All of your power tools have been enabled.
|
||||
protectionOwner = \u00a76[EssentialsProtect] Protection owner: {0}
|
||||
questionFormat = \u00a77[Question]\u00a7f {0}
|
||||
reloadAllPlugins = \u00a77Reloaded all plugins.
|
||||
|
@ -352,6 +353,7 @@ weatherStorm = \u00a77You set the weather to storm in {0}
|
|||
weatherStormFor = \u00a77You set the weather to storm in {0} for {1} seconds
|
||||
weatherSun = \u00a77You set the weather to sun in {0}
|
||||
weatherSunFor = \u00a77You set the weather to sun in {0} for {1} seconds
|
||||
whoisGamemode = \u00a79 - Gamemode: {0}
|
||||
whoisGeoLocation = \u00a79 - Location: {0}
|
||||
whoisHealth = \u00a79 - Health: {0}/20
|
||||
whoisIPAddress = \u00a79 - IP Address: {0}
|
||||
|
|
|
@ -78,6 +78,7 @@ failedToWriteConfig = Fejlede i at skrive config {0}
|
|||
fileRenameError = Resterende fil {0} fejlede
|
||||
foreverAlone = \u00a7cDu har ingen du kan svare.
|
||||
freedMemory = Befriede {0} MB.
|
||||
gameMode=\u00a77Set game mode {0} for {1}.
|
||||
gcchunks = stykker,
|
||||
gcentities = enheder
|
||||
gcfree = Free memory: {0} MB
|
||||
|
@ -169,6 +170,7 @@ missingPrefixSuffix = Mangler et pr\u00e6fiks eller suffiks for {0}
|
|||
mobSpawnError = Fejl ved \u00e6ndring af mob fremkalder.
|
||||
mobSpawnLimit = Mob m\u00e6ngde begr\u00e6nset til server gr\u00e6nse
|
||||
mobSpawnTarget = M\u00e5l blok skal v\u00e6re en mob fremkalder.
|
||||
mobsAvailable=\u00a77Mobs: {0}
|
||||
moneyRecievedFrom = \u00a7a{0} er modtaget fra {1}
|
||||
moneySentTo = \u00a7a{0} er sendt til {1}
|
||||
moneyTaken = {0} taget fra din bank konto.
|
||||
|
@ -249,8 +251,8 @@ powerToolListEmpty = {0} has no commands assigned.
|
|||
powerToolNoSuchCommandAssigned = Command \u00a7c{0}\u00a7f has not been assigned to {1}.
|
||||
powerToolRemove = Command \u00a7c{0}\u00a7f removed from {1}.
|
||||
powerToolRemoveAll = All commands removed from {0}.
|
||||
powerToolsEnabled= All of your power tools have been enabled.
|
||||
powerToolsDisabled= All of your power tools have been disabled.
|
||||
powerToolsEnabled= All of your power tools have been enabled.
|
||||
protectionOwner = \u00a76[EssentialsProtect] Beskyttelses ejer: {0}
|
||||
questionFormat = \u00a77[Sp\u00f8rgsm\u00e5l]\u00a7f {0}
|
||||
reloadAllPlugins = \u00a77Genindl\u00e6ste alle tilf\u00f8jelser.
|
||||
|
@ -351,6 +353,7 @@ weatherStorm = \u00a77Du har sat vejret til storm i {0}
|
|||
weatherStormFor = \u00a77Du har sat vejret til storm i {0} i {1} sekunder
|
||||
weatherSun = \u00a77Du har sat vejret til sol i {0}
|
||||
weatherSunFor = \u00a77Du har sat vejret til sol i {0} i {1} sekunder
|
||||
whoisGamemode = \u00a79 - Gamemode: {0}
|
||||
whoisGeoLocation = \u00a79 - Placering: {0}
|
||||
whoisHealth = \u00a79 - Helbred: {0}/20
|
||||
whoisIPAddress = \u00a79 - IP Addresse: {0}
|
||||
|
@ -366,5 +369,3 @@ year = \u00e5r
|
|||
years = \u00e5r
|
||||
youAreHealed = \u00a77Du er blevet helbredt.
|
||||
youHaveNewMail = \u00a7cDu har {0} beskeder!\u00a7f Type \u00a77/post l\u00e6s\u00a7f for at se din post.
|
||||
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ failedToWriteConfig = Fehler beim Schreiben der Konfiguration {0}
|
|||
fileRenameError = Umbenennen von {0} gescheitert.
|
||||
foreverAlone = \u00a7cDu hast niemanden, dem du antworten kannst.
|
||||
freedMemory = {0} MB frei gemacht.
|
||||
gameMode=\u00a77Set game mode {0} for {1}.
|
||||
gcchunks = Chunks,
|
||||
gcentities = Einheiten
|
||||
gcfree = Freier Speicher: {0} MB
|
||||
|
@ -169,6 +170,7 @@ missingPrefixSuffix = Prefix/Suffix fehlt f\u00fcr {0}
|
|||
mobSpawnError = Fehler beim \u00e4ndern des Monster-Spawner.
|
||||
mobSpawnLimit = Anzahl an Monster auf Serverlimit beschr\u00e4nkt
|
||||
mobSpawnTarget = Zielblock, muss ein Monster-Spawner sein.
|
||||
mobsAvailable=\u00a77Mobs: {0}
|
||||
moneyRecievedFrom = \u00a7a{1} hat dir {0} gegeben.
|
||||
moneySentTo = \u00a7aDu hast {1} {0} gegeben.
|
||||
moneyTaken = {0} wurde aus deiner Geldb\u00f6rse genommen.
|
||||
|
@ -249,8 +251,8 @@ powerToolListEmpty = {0} hat keinen Befehl.
|
|||
powerToolNoSuchCommandAssigned = Befehl \u00a7c{0}\u00a7f wurde nicht zu {1} hinzugef\u00fcgt.
|
||||
powerToolRemove = Befehl \u00a7c{0}\u00a7f erfolgreich von {1} entfernt.
|
||||
powerToolRemoveAll = Alle Befehle von {0} entfernt.
|
||||
powerToolsEnabled = Alle deine Powertools wurden aktiviert.
|
||||
powerToolsDisabled = Alle deine Powertools wurden deaktiviert.
|
||||
powerToolsEnabled = Alle deine Powertools wurden aktiviert.
|
||||
protectionOwner = \u00a76[EssentialsProtect] Besitzer dieses Blocks: {0}
|
||||
questionFormat = \u00a77[Frage]\u00a7f {0}
|
||||
reloadAllPlugins = \u00a77Alle plugins neu geladen.
|
||||
|
@ -351,6 +353,7 @@ weatherStorm = \u00a77In {0} st\u00fcrmt es nun.
|
|||
weatherStormFor = \u00a77In {0} st\u00fcrmt es nun f\u00fcr {1} Sekunden.
|
||||
weatherSun = \u00a77In {0} scheint nun die Sonne.
|
||||
weatherSunFor = \u00a77In {0} scheint nun f\u00fcr {1} Sekunden die Sonne.
|
||||
whoisGamemode = \u00a79 - Gamemode: {0}
|
||||
whoisGeoLocation = \u00a79 - Herkunft: {0}
|
||||
whoisHealth = \u00a79 - Gesundheit: {0}/20
|
||||
whoisIPAddress = \u00a79 - IP-Adresse: {0}
|
||||
|
@ -366,4 +369,3 @@ year = Jahr
|
|||
years = Jahre
|
||||
youAreHealed = \u00a77Du wurdest geheilt.
|
||||
youHaveNewMail = \u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen.
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ failedToWriteConfig = Failed to write config {0}
|
|||
fileRenameError = Renaming file {0} failed
|
||||
foreverAlone = \u00a7cYou have nobody to whom you can reply.
|
||||
freedMemory = Freed {0} MB.
|
||||
gameMode=\u00a77Set game mode {0} for {1}.
|
||||
gcchunks = chunks,
|
||||
gcentities = entities
|
||||
gcfree = Free memory: {0} MB
|
||||
|
@ -169,6 +170,7 @@ missingPrefixSuffix = Missing a prefix or suffix for {0}
|
|||
mobSpawnError = Error while changing mob spawner.
|
||||
mobSpawnLimit = Mob quantity limited to server limit
|
||||
mobSpawnTarget = Target block must be a mob spawner.
|
||||
mobsAvailable=\u00a77Mobs: {0}
|
||||
moneyRecievedFrom = \u00a7a{0} has been received from {1}
|
||||
moneySentTo = \u00a7a{0} has been sent to {1}
|
||||
moneyTaken = {0} taken from your bank account.
|
||||
|
@ -249,8 +251,8 @@ powerToolListEmpty = {0} has no commands assigned.
|
|||
powerToolNoSuchCommandAssigned = Command \u00a7c{0}\u00a7f has not been assigned to {1}.
|
||||
powerToolRemove = Command \u00a7c{0}\u00a7f removed from {1}.
|
||||
powerToolRemoveAll = All commands removed from {0}.
|
||||
powerToolsEnabled=All of your power tools have been enabled.
|
||||
powerToolsDisabled=All of your power tools have been enabled.
|
||||
powerToolsEnabled=All of your power tools have been enabled.
|
||||
protectionOwner = \u00a76[EssentialsProtect] Protection owner: {0}
|
||||
questionFormat = \u00a77[Question]\u00a7f {0}
|
||||
reloadAllPlugins = \u00a77Reloaded all plugins.
|
||||
|
@ -351,6 +353,7 @@ weatherStorm = \u00a77You set the weather to storm in {0}
|
|||
weatherStormFor = \u00a77You set the weather to storm in {0} for {1} seconds
|
||||
weatherSun = \u00a77You set the weather to sun in {0}
|
||||
weatherSunFor = \u00a77You set the weather to sun in {0} for {1} seconds
|
||||
whoisGamemode = \u00a79 - Gamemode: {0}
|
||||
whoisGeoLocation = \u00a79 - Location: {0}
|
||||
whoisHealth = \u00a79 - Health: {0}/20
|
||||
whoisIPAddress = \u00a79 - IP Address: {0}
|
||||
|
@ -366,5 +369,3 @@ year = year
|
|||
years = years
|
||||
youAreHealed = \u00a77You have been healed.
|
||||
youHaveNewMail = \u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail.
|
||||
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ failedToWriteConfig = \u00c9chec de l''\u00e9criture de la configuration {0}
|
|||
fileRenameError = Echec du changement de nom de {0}.
|
||||
foreverAlone = \u00a7cVous n''avez personne \u00e0 qui r\u00e9pondre.
|
||||
freedMemory = A lib\u00e9r\u00e9 {0} Mo.
|
||||
gameMode=\u00a77Set game mode {0} for {1}.
|
||||
gcchunks = chunks,
|
||||
gcentities = entit\u00e9s
|
||||
gcfree = Free memory: {0} Mo
|
||||
|
@ -169,6 +170,7 @@ missingPrefixSuffix = Pr\u00e9fixe ou Suffixe manquant pour {0}
|
|||
mobSpawnError = Erreur lors du changement du spawner de monstres.
|
||||
mobSpawnLimit = Quantit\u00e9 de monstres limit\u00e9 \u00e0 la limite du serveur.
|
||||
mobSpawnTarget = Le bloc cible doit \u00eatre un spawner de monstres.
|
||||
mobsAvailable=\u00a77Mobs: {0}
|
||||
moneyRecievedFrom = \u00a7a{0} a \u00e9t\u00e9 re\u00e7u de {1}
|
||||
moneySentTo = \u00a7a{0} a \u00e9t\u00e9 envoy\u00e9 \u00e0 {1}
|
||||
moneyTaken = {0} pr\u00e9lev\u00e9(s) de votre compte bancaire.
|
||||
|
@ -249,8 +251,8 @@ powerToolListEmpty = {0} has no commands assigned.
|
|||
powerToolNoSuchCommandAssigned = Command \u00a7c{0}\u00a7f has not been assigned to {1}.
|
||||
powerToolRemove = Command \u00a7c{0}\u00a7f removed from {1}.
|
||||
powerToolRemoveAll = All commands removed from {0}.
|
||||
powerToolsEnabled=All of your power tools have been enabled.
|
||||
powerToolsDisabled=All of your power tools have been disabled.
|
||||
powerToolsEnabled=All of your power tools have been enabled.
|
||||
protectionOwner = \u00a76[EssentialsProtect] Propri\u00e9taire de la protection : {0}
|
||||
questionFormat = \u00a77[Question]\u00a7f {0}
|
||||
reloadAllPlugins = \u00a77Tous les plugins ont \u00e9t\u00e9 recharg\u00e9s.
|
||||
|
@ -351,6 +353,7 @@ weatherStorm = \u00a77Vous avez d\u00e9fini l''orage dans {0}
|
|||
weatherStormFor = \u00a77Vous avez d\u00e9fini l''orage dans {0} pour {1} secondes.
|
||||
weatherSun = \u00a77Vous avez mis le beau temps dans {0}
|
||||
weatherSunFor = \u00a77Vous avez mis le beau temps dans {0} pour {1} secondes.
|
||||
whoisGamemode = \u00a79 - Gamemode: {0}
|
||||
whoisGeoLocation = \u00a79 - Emplacement: {0}
|
||||
whoisHealth = \u00a79 - Vie: {0} / 20
|
||||
whoisIPAddress = \u00a79 - Adresse IP: {0}
|
||||
|
@ -366,5 +369,3 @@ year = ann\u00e9e
|
|||
years = ann\u00e9es
|
||||
youAreHealed = \u00a77Vous avez \u00e9t\u00e9 soign\u00e9.
|
||||
youHaveNewMail = \u00a7cVous avez {0} messages! \u00a7fEntrez \u00a77/mail read\u00a7f pour voir votre courrier.
|
||||
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ failedToWriteConfig = Fout bij het cre\u00ebren van config {0}
|
|||
fileRenameError = Hernoemen van {0} mislukt
|
||||
foreverAlone = \u00a7cJe hebt niemand waarnaar je kan reageren.
|
||||
freedMemory = {0} MB gelost.
|
||||
gameMode=\u00a77Set game mode {0} for {1}.
|
||||
gcchunks = chunks,
|
||||
gcentities = entities
|
||||
gcfree = Vrij geheugen: {0} MB
|
||||
|
@ -169,6 +170,7 @@ missingPrefixSuffix = Er mist een prefix of suffix voor {0}
|
|||
mobSpawnError = Fout bij het veranderen van de mob spawner.
|
||||
mobSpawnLimit = Grootte van de mob hang af van het server limiet
|
||||
mobSpawnTarget = Target blok moet een mob spawner zijn.
|
||||
mobsAvailable=\u00a77Mobs: {0}
|
||||
moneyRecievedFrom = \u00a7a{0} is ontvangen van {1}
|
||||
moneySentTo = \u00a7a{0} is verzonden naar {1}
|
||||
moneyTaken = {0} van je bankrekening afgehaald.
|
||||
|
@ -249,8 +251,8 @@ powerToolListEmpty = {0} has no commands assigned.
|
|||
powerToolNoSuchCommandAssigned = Command \u00a7c{0}\u00a7f has not been assigned to {1}.
|
||||
powerToolRemove = Command \u00a7c{0}\u00a7f removed from {1}.
|
||||
powerToolRemoveAll = All commands removed from {0}.
|
||||
powerToolsEnabled=All of your power tools have been enabled.
|
||||
powerToolsDisabled=All of your power tools have been disabled.
|
||||
powerToolsEnabled=All of your power tools have been enabled.
|
||||
protectionOwner = \u00a76[EssentialsProtect] Beschermingeigenaar: {0}
|
||||
questionFormat = \u00a77[Vraag]\u00a7f {0}
|
||||
reloadAllPlugins = \u00a77Alle plugins zijn herladen.
|
||||
|
@ -351,6 +353,7 @@ weatherStorm = \u00a77Je hebt het weer naar storm gezet in de {0}
|
|||
weatherStormFor = \u00a77Je hebt het weer in de {0} naar storm gezet voor {1} seconde
|
||||
weatherSun = \u00a77Je hebt het weer naar zon gezet in de {0}
|
||||
weatherSunFor = \u00a77Je hebt het weer in de {0} naar zon gezet voor {1} seconde
|
||||
whoisGamemode = \u00a79 - Gamemode: {0}
|
||||
whoisGeoLocation = \u00a79 - Locatie: {0}
|
||||
whoisHealth = \u00a79 - Levens: {0}/20
|
||||
whoisIPAddress = \u00a79 - IP Adres: {0}
|
||||
|
@ -366,5 +369,3 @@ year = jaar
|
|||
years = jaren
|
||||
youAreHealed = \u00a77Je bent genezen.
|
||||
youHaveNewMail = \u00a7cJe hebt {0} berichten!\u00a7f Type \u00a77/mail read\u00a7f om je berichten te bekijken.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue