My code Code: getServer.broadcastMessage(player+"&4 lost faith in all humanity. *Facepalms*"); In-Game it shows up as Code: (Player) &4lost faith in all humanity. *FacePalms* With no color code! And my player variable Code: Player player = (Player) sender; and in game Code: CraftPlayer{name=N0z} HELP ME FIX PLEASE ! D:
THANKS! But how do you add player color? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I think Code: player.setDisplayName(ChatColor.Green+player.getName()); but it's the name in chat, not above the head.