summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2014-07-14 21:23:56 +0100
committerKHobbits <rob@khobbits.co.uk>2014-07-14 21:23:56 +0100
commit8c40d295c1495addc4c609c100d198736a9ee523 (patch)
tree2fd93eb22b49f011132c021aafbd32894c02313c
parenta942b8bbdfe0756dd4f53d34c8725fdc52359ebc (diff)
downloadEssentials-8c40d295c1495addc4c609c100d198736a9ee523.tar
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.tar.gz
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.tar.lz
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.tar.xz
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.zip
Clean up tempban messages to be a little clearer.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandban.java2
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandbanip.java2
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandseen.java26
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtempban.java9
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandunban.java6
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandunbanip.java6
-rw-r--r--Essentials/src/messages.properties2
-rw-r--r--Essentials/src/messages_cs.properties2
-rw-r--r--Essentials/src/messages_da.properties2
-rw-r--r--Essentials/src/messages_de.properties2
-rw-r--r--Essentials/src/messages_en.properties2
-rw-r--r--Essentials/src/messages_es.properties2
-rw-r--r--Essentials/src/messages_et.properties2
-rw-r--r--Essentials/src/messages_fi.properties2
-rw-r--r--Essentials/src/messages_fr.properties2
-rw-r--r--Essentials/src/messages_hu.properties2
-rw-r--r--Essentials/src/messages_it.properties2
-rw-r--r--Essentials/src/messages_ko.properties2
-rw-r--r--Essentials/src/messages_lt.properties2
-rw-r--r--Essentials/src/messages_nl.properties2
-rw-r--r--Essentials/src/messages_pl.properties2
-rw-r--r--Essentials/src/messages_pt.properties2
-rw-r--r--Essentials/src/messages_pt_BR.properties2
-rw-r--r--Essentials/src/messages_ro.properties2
-rw-r--r--Essentials/src/messages_ru.properties2
-rw-r--r--Essentials/src/messages_sv.properties2
-rw-r--r--Essentials/src/messages_tr.properties2
-rw-r--r--Essentials/src/messages_zh.properties2
-rw-r--r--Essentials/src/messages_zh_HK.properties2
-rw-r--r--Essentials/src/messages_zh_TW.properties2
30 files changed, 80 insertions, 19 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandban.java b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
index 50b459a06..7a594c8d2 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandban.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
@@ -63,7 +63,7 @@ public class Commandban extends EssentialsCommand
banReason = tl("defaultBanReason");
}
- Bukkit.getBanList(BanList.Type.NAME).addBan(user.getName(), banReason, null, senderName);
+ ess.getServer().getBanList(BanList.Type.NAME).addBan(user.getName(), banReason, null, senderName);
String banDisplay = tl("banFormat", banReason, senderName);
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
index fa0dcb449..f538ba4ae 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
@@ -62,7 +62,7 @@ public class Commandbanip extends EssentialsCommand
banReason = tl("defaultBanReason");
}
- Bukkit.getBanList(BanList.Type.IP).addBan(ipAddress, banReason, null, senderName);
+ ess.getServer().getBanList(BanList.Type.IP).addBan(ipAddress, banReason, null, senderName);
server.getLogger().log(Level.INFO, tl("playerBanIpAddress", senderName, ipAddress, banReason));
ess.broadcastMessage("essentials.ban.notify", tl("playerBanIpAddress", senderName, ipAddress, banReason));
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java
index f82342c30..e1538338e 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java
@@ -7,11 +7,14 @@ import com.earth2me.essentials.UserMap;
import com.earth2me.essentials.utils.DateUtil;
import com.earth2me.essentials.utils.FormatUtil;
import com.earth2me.essentials.utils.StringUtil;
+import java.text.DateFormat;
import java.util.ArrayList;
+import java.util.Date;
import java.util.List;
import org.bukkit.BanList;
import org.bukkit.Bukkit;
import java.util.UUID;
+import org.bukkit.BanEntry;
import org.bukkit.Location;
import org.bukkit.Server;
@@ -56,15 +59,14 @@ public class Commandseen extends EssentialsCommand
seenIP(server, sender, args[0]);
return;
}
- else if (Bukkit.getBanList(BanList.Type.IP).isBanned(args[0]))
+ else if (ess.getServer().getBanList(BanList.Type.IP).isBanned(args[0]))
{
sender.sendMessage(tl("isIpBanned", args[0]));
return;
}
-
- else if (Bukkit.getBanList(BanList.Type.NAME).isBanned(args[0]))
+ else if (ess.getServer().getBanList(BanList.Type.NAME).isBanned(args[0]))
{
- sender.sendMessage(tl("whoisBanned", showBan ? Bukkit.getBanList(BanList.Type.NAME).getBanEntry(args[0]).getReason() : tl("true")));
+ sender.sendMessage(tl("whoisBanned", showBan ? ess.getServer().getBanList(BanList.Type.NAME).getBanEntry(args[0]).getReason() : tl("true")));
return;
}
else
@@ -145,7 +147,19 @@ public class Commandseen extends EssentialsCommand
if (user.getBase().isBanned())
{
- sender.sendMessage(tl("whoisBanned", showBan ? Bukkit.getBanList(BanList.Type.NAME).getBanEntry(user.getName()).getReason() : tl("true")));
+ final BanEntry banEntry = ess.getServer().getBanList(BanList.Type.NAME).getBanEntry(user.getName());
+ final String reason = showBan ? banEntry.getReason() : tl("true");
+ sender.sendMessage(tl("whoisBanned", reason));
+ if (banEntry.getExpiration() != null)
+ {
+ Date expiry = banEntry.getExpiration();
+ String expireString = tl("now");
+ if (expiry.after(new Date()))
+ {
+ expireString = DateUtil.formatDateDiff(expiry.getTime());
+ }
+ sender.sendMessage(tl("whoisTempBanned", expireString));
+ }
}
final String location = user.getGeoLocation();
if (location != null && (!(sender.isPlayer()) || ess.getUser(sender.getPlayer()).isAuthorized("essentials.geoip.show")))
@@ -170,7 +184,7 @@ public class Commandseen extends EssentialsCommand
{
final UserMap userMap = ess.getUserMap();
- if (Bukkit.getBanList(BanList.Type.IP).isBanned(ipAddress))
+ if (ess.getServer().getBanList(BanList.Type.IP).isBanned(ipAddress))
{
sender.sendMessage(tl("isIpBanned", ipAddress));
}
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java b/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java
index dfb0139f1..da8af1a13 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java
@@ -9,7 +9,6 @@ import java.util.Date;
import java.util.GregorianCalendar;
import java.util.logging.Level;
import org.bukkit.BanList;
-import org.bukkit.Bukkit;
import org.bukkit.Server;
@@ -63,13 +62,13 @@ public class Commandtempban extends EssentialsCommand
}
final String senderName = sender.isPlayer() ? sender.getPlayer().getDisplayName() : Console.NAME;
- Bukkit.getBanList(BanList.Type.NAME).addBan(user.getName(), banReason, new Date(banTimestamp), senderName);
+ ess.getServer().getBanList(BanList.Type.NAME).addBan(user.getName(), banReason, new Date(banTimestamp), senderName);
+ final String expiry = DateUtil.formatDateDiff(banTimestamp);
- String banDisplay = tl("tempBanned", DateUtil.formatDateDiff(banTimestamp), senderName, banReason);
+ final String banDisplay = tl("tempBanned", expiry, senderName, banReason);
user.getBase().kickPlayer(banDisplay);
- server.getLogger().log(Level.INFO, tl("playerBanned", senderName, user.getName(), banDisplay));
- final String message = tl("playerBanned", senderName, user.getName(), banReason, DateUtil.formatDateDiff(banTimestamp));
+ final String message = tl("playerTempBanned", senderName, user.getName(), expiry, banReason);
server.getLogger().log(Level.INFO, message);
ess.broadcastMessage("essentials.ban.notify", message);
}
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandunban.java b/Essentials/src/com/earth2me/essentials/commands/Commandunban.java
index db358e0dd..b4cb70bf5 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandunban.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandunban.java
@@ -30,7 +30,7 @@ public class Commandunban extends EssentialsCommand
{
final User user = getPlayer(server, args, 0, true, true);
name = user.getName();
- Bukkit.getBanList(BanList.Type.NAME).pardon(name);
+ ess.getServer().getBanList(BanList.Type.NAME).pardon(name);
}
catch (NoSuchFieldException e)
{
@@ -40,12 +40,12 @@ public class Commandunban extends EssentialsCommand
{
throw new Exception(tl("playerNotFound"), e);
}
- Bukkit.getBanList(BanList.Type.NAME).pardon(name);
+ ess.getServer().getBanList(BanList.Type.NAME).pardon(name);
}
final String senderName = sender.isPlayer() ? sender.getPlayer().getDisplayName() : Console.NAME;
server.getLogger().log(Level.INFO, tl("playerUnbanned", senderName, name));
-
+
ess.broadcastMessage("essentials.ban.notify", tl("playerUnbanned", senderName, name));
}
}
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandunbanip.java b/Essentials/src/com/earth2me/essentials/commands/Commandunbanip.java
index b7477f7e7..9157a3274 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandunbanip.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandunbanip.java
@@ -25,7 +25,7 @@ public class Commandunbanip extends EssentialsCommand
{
throw new NotEnoughArgumentsException();
}
-
+
String ipAddress;
if (FormatUtil.validIP(args[0]))
{
@@ -48,9 +48,9 @@ public class Commandunbanip extends EssentialsCommand
{
throw new PlayerNotFoundException();
}
-
- Bukkit.getBanList(BanList.Type.IP).pardon(ipAddress);
+
+ ess.getServer().getBanList(BanList.Type.IP).pardon(ipAddress);
final String senderName = sender.isPlayer() ? sender.getPlayer().getDisplayName() : Console.NAME;
server.getLogger().log(Level.INFO, tl("playerUnbanIpAddress", senderName, ipAddress));
diff --git a/Essentials/src/messages.properties b/Essentials/src/messages.properties
index 0dad38671..6f59ea6b4 100644
--- a/Essentials/src/messages.properties
+++ b/Essentials/src/messages.properties
@@ -552,3 +552,5 @@ itemsConverted=\u00a76Converted all items into blocks.
itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_cs.properties b/Essentials/src/messages_cs.properties
index 17dd635dc..154458df1 100644
--- a/Essentials/src/messages_cs.properties
+++ b/Essentials/src/messages_cs.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_da.properties b/Essentials/src/messages_da.properties
index 5eaded6c4..e44907671 100644
--- a/Essentials/src/messages_da.properties
+++ b/Essentials/src/messages_da.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_de.properties b/Essentials/src/messages_de.properties
index 86b29713c..908681464 100644
--- a/Essentials/src/messages_de.properties
+++ b/Essentials/src/messages_de.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_en.properties b/Essentials/src/messages_en.properties
index 0dad38671..6f59ea6b4 100644
--- a/Essentials/src/messages_en.properties
+++ b/Essentials/src/messages_en.properties
@@ -552,3 +552,5 @@ itemsConverted=\u00a76Converted all items into blocks.
itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_es.properties b/Essentials/src/messages_es.properties
index e54035859..b8e106033 100644
--- a/Essentials/src/messages_es.properties
+++ b/Essentials/src/messages_es.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_et.properties b/Essentials/src/messages_et.properties
index f78b6f22a..745d65cca 100644
--- a/Essentials/src/messages_et.properties
+++ b/Essentials/src/messages_et.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_fi.properties b/Essentials/src/messages_fi.properties
index 9f9b1802a..09558ea92 100644
--- a/Essentials/src/messages_fi.properties
+++ b/Essentials/src/messages_fi.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_fr.properties b/Essentials/src/messages_fr.properties
index 44fed4de5..a1f9b7d0e 100644
--- a/Essentials/src/messages_fr.properties
+++ b/Essentials/src/messages_fr.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_hu.properties b/Essentials/src/messages_hu.properties
index 2ea7f2d3f..a586a7364 100644
--- a/Essentials/src/messages_hu.properties
+++ b/Essentials/src/messages_hu.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_it.properties b/Essentials/src/messages_it.properties
index dabb983dd..de97e343f 100644
--- a/Essentials/src/messages_it.properties
+++ b/Essentials/src/messages_it.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_ko.properties b/Essentials/src/messages_ko.properties
index 567d27490..846cbec45 100644
--- a/Essentials/src/messages_ko.properties
+++ b/Essentials/src/messages_ko.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_lt.properties b/Essentials/src/messages_lt.properties
index 583376f1b..de11c178c 100644
--- a/Essentials/src/messages_lt.properties
+++ b/Essentials/src/messages_lt.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_nl.properties b/Essentials/src/messages_nl.properties
index 109f327fe..80e69904f 100644
--- a/Essentials/src/messages_nl.properties
+++ b/Essentials/src/messages_nl.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_pl.properties b/Essentials/src/messages_pl.properties
index def9e577d..45ffac5f9 100644
--- a/Essentials/src/messages_pl.properties
+++ b/Essentials/src/messages_pl.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_pt.properties b/Essentials/src/messages_pt.properties
index f32ce47a0..e5fae6941 100644
--- a/Essentials/src/messages_pt.properties
+++ b/Essentials/src/messages_pt.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_pt_BR.properties b/Essentials/src/messages_pt_BR.properties
index 0700292d7..df9c92517 100644
--- a/Essentials/src/messages_pt_BR.properties
+++ b/Essentials/src/messages_pt_BR.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_ro.properties b/Essentials/src/messages_ro.properties
index 553cce4b6..ed3285090 100644
--- a/Essentials/src/messages_ro.properties
+++ b/Essentials/src/messages_ro.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_ru.properties b/Essentials/src/messages_ru.properties
index 05d2d2598..59b80a9be 100644
--- a/Essentials/src/messages_ru.properties
+++ b/Essentials/src/messages_ru.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_sv.properties b/Essentials/src/messages_sv.properties
index ee4160b57..05bb127fc 100644
--- a/Essentials/src/messages_sv.properties
+++ b/Essentials/src/messages_sv.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_tr.properties b/Essentials/src/messages_tr.properties
index 95b5d327a..39c3a0e9b 100644
--- a/Essentials/src/messages_tr.properties
+++ b/Essentials/src/messages_tr.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_zh.properties b/Essentials/src/messages_zh.properties
index e92600caf..c0cce73ba 100644
--- a/Essentials/src/messages_zh.properties
+++ b/Essentials/src/messages_zh.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_zh_HK.properties b/Essentials/src/messages_zh_HK.properties
index 351fd0cbe..2b7bd0233 100644
--- a/Essentials/src/messages_zh_HK.properties
+++ b/Essentials/src/messages_zh_HK.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.
diff --git a/Essentials/src/messages_zh_TW.properties b/Essentials/src/messages_zh_TW.properties
index f7f46422f..0869ea9e4 100644
--- a/Essentials/src/messages_zh_TW.properties
+++ b/Essentials/src/messages_zh_TW.properties
@@ -553,3 +553,5 @@ itemsNotConverted=\u00a74You have no items that can be converted into blocks.
mailSentTo=\u00a7c{0}\u00a76 has been sent the following mail\:
mailMessage={0}
+whoisTempBanned=\u00a76 - Ban expires:\u00a7r {0}
+playerTempBanned=\u00a76Player \u00a7c{0}\u00a76 temporarily banned \u00a7c{1}\u00a76 for \u00a7c{2}\u00a76: \u00a7c{3}\u00a76.