Merge pull request #16 from Wild1145/patch-4

Added warning in MOTD if in adminmode=true
This commit is contained in:
Jerom van der Sar 2013-05-16 11:31:52 -07:00
commit ff51bb1980

View File

@ -727,5 +727,9 @@ public class TFM_PlayerListener implements Listener
{ {
event.setMotd(ChatColor.RED + "You are banned!"); event.setMotd(ChatColor.RED + "You are banned!");
} }
if (TotalFreedomMod.adminOnlyMode(event.getAddress().getHostAddress()))
{
event.setMotd(ChatColor.RED + "Server in AdminMode!");
}
} }
} }