mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 08:46:31 +00:00
Add owner to standard prefixes. Resolves #504
This commit is contained in:
parent
ea404985fd
commit
9ff6325469
1 changed files with 16 additions and 10 deletions
|
@ -855,18 +855,24 @@ public class TFM_PlayerListener implements Listener
|
||||||
name = ChatColor.DARK_PURPLE + name;
|
name = ChatColor.DARK_PURPLE + name;
|
||||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&5Developer&8]");
|
TFM_PlayerData.getPlayerData(player).setTag("&8[&5Developer&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))
|
|
||||||
{
|
|
||||||
name = ChatColor.DARK_GREEN + name;
|
|
||||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&2Telnet Admin&8]");
|
|
||||||
}
|
|
||||||
else if (TFM_AdminList.isSuperAdmin(player))
|
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_ConfigEntry.SERVER_OWNERS.getList().contains(name))
|
||||||
|
{
|
||||||
|
name = ChatColor.BLUE + name;
|
||||||
|
TFM_PlayerData.getPlayerData(player).setTag("&8[&9Owner&8]");
|
||||||
|
}
|
||||||
|
|
||||||
name = ChatColor.AQUA + name;
|
name = ChatColor.AQUA + name;
|
||||||
TFM_PlayerData.getPlayerData(player).setTag("&8[&BSuper Admin&8]");
|
TFM_PlayerData.getPlayerData(player).setTag("&8[&BSuper Admin&8]");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue