mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-04 23:48:31 +01:00
Fix a couple of cosmetic errors in /seen
This commit is contained in:
parent
2a91f593de
commit
0e7d64f9e7
@ -71,7 +71,7 @@ public class Commandban extends EssentialsCommand
|
|||||||
server.getLogger().log(Level.INFO, _("playerBanned", senderName, user.getName(), banReason));
|
server.getLogger().log(Level.INFO, _("playerBanned", senderName, user.getName(), banReason));
|
||||||
|
|
||||||
if (nomatch) {
|
if (nomatch) {
|
||||||
sender.sendMessage(_("userUnknown", args[0]));
|
sender.sendMessage(_("userUnknown", user.getName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Player onlinePlayer : server.getOnlinePlayers())
|
for (Player onlinePlayer : server.getOnlinePlayers())
|
||||||
|
@ -67,14 +67,23 @@ public class Commandseen extends EssentialsCommand
|
|||||||
throw new Exception(_("playerNotFound"));
|
throw new Exception(_("playerNotFound"));
|
||||||
}
|
}
|
||||||
player.setDisplayNick();
|
player.setDisplayNick();
|
||||||
sender.sendMessage(_("seenOffline", player.getName(), Util.formatDateDiff(player.getLastLogout())));
|
if (player.getLastLogout() > 0)
|
||||||
|
{
|
||||||
|
sender.sendMessage(_("seenOffline", player.getName(), Util.formatDateDiff(player.getLastLogout())));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
sender.sendMessage(_("userUnknown", player.getName()));
|
||||||
|
}
|
||||||
if (player.isBanned())
|
if (player.isBanned())
|
||||||
{
|
{
|
||||||
sender.sendMessage(_("whoisBanned", showBan ? player.getBanReason() : _("true")));
|
sender.sendMessage(_("whoisBanned", showBan ? player.getBanReason() : _("true")));
|
||||||
}
|
}
|
||||||
if (extra)
|
if (extra)
|
||||||
{
|
{
|
||||||
sender.sendMessage(_("whoisIPAddress", player.getLastLoginAddress()));
|
if (!player.getLastLoginAddress().isEmpty())
|
||||||
|
{
|
||||||
|
sender.sendMessage(_("whoisIPAddress", player.getLastLoginAddress()));
|
||||||
|
}
|
||||||
final Location loc = player.getLogoutLocation();
|
final Location loc = player.getLogoutLocation();
|
||||||
if (loc != null)
|
if (loc != null)
|
||||||
{
|
{
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities.
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities.
|
||||||
invalidHomeName=\u00a74Invalid home name!
|
invalidHomeName=\u00a74Invalid home name!
|
||||||
invalidWarpName=\u00a74Invalid warp name!
|
invalidWarpName=\u00a74Invalid warp name!
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}.
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}.
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}.
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}.
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -465,7 +465,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities.
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities.
|
||||||
invalidHomeName=\u00a74Invalid home name!
|
invalidHomeName=\u00a74Invalid home name!
|
||||||
invalidWarpName=\u00a74Invalid warp name!
|
invalidWarpName=\u00a74Invalid warp name!
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}.
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}.
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}.
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}.
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74No se le permite botar \u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entidades
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entidades
|
||||||
invalidHomeName=\u00a74Nombre de casa invalido
|
invalidHomeName=\u00a74Nombre de casa invalido
|
||||||
invalidWarpName=\u00a74Nombre de warp invalido
|
invalidWarpName=\u00a74Nombre de warp invalido
|
||||||
userUnknown=\u00a74Peligro: El jugador '\u00a7c{0}\u00a74' Nunca a ingresado a este servidor.
|
userUnknown=\u00a74Peligro: El jugador ''\u00a7c{0}\u00a74'' Nunca a ingresado a este servidor.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74Vous n'\u00eates pas autoris\u00e9s \u00e0 jeter\u00a7c {0}
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 portions, \u00a7c{3}\u00a76 entit\u00e9s
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 portions, \u00a7c{3}\u00a76 entit\u00e9s
|
||||||
invalidHomeName=\u00a74Nom de r\u00e9sindence invalide
|
invalidHomeName=\u00a74Nom de r\u00e9sindence invalide
|
||||||
invalidWarpName=\u00a74Nom de warp invalide
|
invalidWarpName=\u00a74Nom de warp invalide
|
||||||
userUnknown=\u00a74Attention : Le joueur '\u00a7c{0}\u00a74' n'est jamais venu sur ce serveur.
|
userUnknown=\u00a74Attention : Le joueur ''\u00a7c{0}\u00a74'' n''est jamais venu sur ce serveur.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74You are not permitted to drop\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 chunks, \u00a7c{3}\u00a76 entities
|
||||||
invalidHomeName=\u00a74Invalid home name
|
invalidHomeName=\u00a74Invalid home name
|
||||||
invalidWarpName=\u00a74Invalid warp name
|
invalidWarpName=\u00a74Invalid warp name
|
||||||
userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this server.
|
userUnknown=\u00a74Warning: The user ''\u00a7c{0}\u00a74'' has never joined this server.
|
||||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||||
kitOnce=\u00a74You can't use that kit again.
|
kitOnce=\u00a74You can't use that kit again.
|
||||||
|
@ -462,7 +462,7 @@ antiBuildDrop=\u00a74Du har inte till\u00e5telse att kasta ut\u00a7c {0}\u00a74.
|
|||||||
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 bitar, \u00a7c{3}\u00a76 enheter
|
gcWorld=\u00a76{0} "\u00a7c{1}\u00a76": \u00a7c{2}\u00a76 bitar, \u00a7c{3}\u00a76 enheter
|
||||||
invalidHomeName=\u00a74Ogiltigt hemnamn
|
invalidHomeName=\u00a74Ogiltigt hemnamn
|
||||||
invalidWarpName=\u00a74Ogiltigt warpnamn
|
invalidWarpName=\u00a74Ogiltigt warpnamn
|
||||||
userUnknown=\u00a74Varning: Anv\u00e4ndaren '\u00a7c{0}\u00a74' har aldrig varit inne p\u00e5 denna server tidigare.
|
userUnknown=\u00a74Varning: Anv\u00e4ndaren ''\u00a7c{0}\u00a74'' har aldrig varit inne p\u00e5 denna server tidigare.
|
||||||
teleportationEnabledFor=\u00a76TTeleportering aktiverat f\u00f6r {0}
|
teleportationEnabledFor=\u00a76TTeleportering aktiverat f\u00f6r {0}
|
||||||
teleportationDisabledFor=\u00a76Teleportering inaktiverat f\u00f6r {0}
|
teleportationDisabledFor=\u00a76Teleportering inaktiverat f\u00f6r {0}
|
||||||
kitOnce=\u00a74Du kan inte av\u00e4nda det kitet igen.
|
kitOnce=\u00a74Du kan inte av\u00e4nda det kitet igen.
|
||||||
|
Loading…
Reference in New Issue
Block a user