Added warning in MOTD if in adminmode=true

I think this would save people connecting and spamming logs if in adminmode!
This commit is contained in:
Ryan 2013-05-15 23:12:46 +02:00
parent e82e88f48f
commit b7c9f4e02d

View File

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