mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-10-28 03:20:49 +00:00
Merge pull request #16 from Wild1145/patch-4
Added warning in MOTD if in adminmode=true
This commit is contained in:
commit
ff51bb1980
|
@ -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!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue