mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Add owner to standard prefixes. Resolves #504
This commit is contained in:
parent
ea404985fd
commit
9ff6325469
@ -855,18 +855,24 @@ public class TFM_PlayerListener implements Listener
|
||||
name = ChatColor.DARK_PURPLE + name;
|
||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&5Developer&8]");
|
||||
}
|
||||
else if (TFM_AdminList.isSuperAdmin(player))
|
||||
{
|
||||
if (TFM_AdminList.isTelnetAdmin(player, true))
|
||||
{
|
||||
name = ChatColor.DARK_GREEN + name;
|
||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&2Telnet Admin&8]");
|
||||
}
|
||||
else if (TFM_AdminList.isSeniorAdmin(player))
|
||||
{
|
||||
name = ChatColor.LIGHT_PURPLE + name;
|
||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&dSenior Admin&8]");
|
||||
}
|
||||
else if (TFM_AdminList.isTelnetAdmin(player, true))
|
||||
else if (TFM_ConfigEntry.SERVER_OWNERS.getList().contains(name))
|
||||
{
|
||||
name = ChatColor.DARK_GREEN + name;
|
||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&2Telnet Admin&8]");
|
||||
name = ChatColor.BLUE + name;
|
||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&9Owner&8]");
|
||||
}
|
||||
else if (TFM_AdminList.isSuperAdmin(player))
|
||||
{
|
||||
|
||||
name = ChatColor.AQUA + name;
|
||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&BSuper Admin&8]");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user