[REJECTED] Colored [Admin] or [Mod] tag above staffs heads
Posted: Tue Apr 24, 2012 6:44 pm
I propose adding a colored (coloured in Canada, UK and elsewhere) tag above the heads of staff and in the online users grid overlay. This would make quickly scanning the list for staff much easier and help inform new users as to who the staff are as opposed to asking in chat. Admins would have an [Admin] tag above their heads and mods would have a
MODERATED
tag above their heads. Donors could be included and get a [Donor] tag.
Implementation:
In the playerListener class
tag above their heads. Donors could be included and get a [Donor] tag.
Implementation:
In the playerListener class
Code: Select all
.
.
.
@EventHandler(priority=EventPriority.HIGHEST)
public void onPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
if (isAdmin(player)) {
player.setDisplayName(ChatColor.RED + "[Admin]" + ChatColor.WHITE + player.getName());
player.setPlayerListName(ChatColor.RED + "[Admin]" + ChatColor.WHITE + player.getName()));
} else if (isMod(player)) {
player.setDisplayName(ChatColor.BLUE + "[Mod]" + ChatColor.WHITE + player.getName());
player.setPlayerListName(ChatColor.BLUE + "[Mod]" + ChatColor.WHITE + player.getName()));
} else if (isDonor(player)) {
player.setDisplayName(ChatColor.AQUA + "[Donor]" + ChatColor.WHITE + player.getName());
player.setPlayerListName(ChatColor.AQUA + "[Donor]" + ChatColor.WHITE + player.getName()));
}
}
.
.
.