Merge pull request #109 from Wilee999/pull1

Modified ban messages
This commit is contained in:
Jerom van der Sar 2013-12-03 07:42:28 -08:00
commit 75bc17cd8f

View File

@ -184,7 +184,7 @@ public class TFM_ServerInterface
{
final BanEntry nameBan = (BanEntry) nameBans.getEntries().get(username.toLowerCase());
String kickMessage = ChatColor.RED + "You are banned from this server.";
String kickMessage = ChatColor.RED + "You are temporarily banned from this server.\nAppeal at http://totalfreedom.boards.net/.";
if (nameBan != null)
{
kickMessage = kickMessage + "\nReason: " + nameBan.getReason();
@ -228,7 +228,7 @@ public class TFM_ServerInterface
if (isIpBanned)
{
String kickMessage = ChatColor.RED + "Your IP address is banned from this server.";
String kickMessage = ChatColor.RED + "Your IP address is temporarily banned from this server.\nAppeal at http://totalfreedom.boards.net/.";
if (ipBan != null)
{
kickMessage = kickMessage + "\nReason: " + ipBan.getReason();