API prefix colors??
Robpizza opened this issue ยท 3 comments
So i use the API in my plugin but now i have a problem..
PermissionUser user = PermissionsEx.getUser(player); String prefix = user.getPrefix(); event.setJoinMessage("" + ChatColor.BLUE + ChatColor.BOLD + "Welcome back " + prefix + ChatColor.WHITE + player.getName());
this is my code.
this is what i get ingame ;l
Thanks for your help!
Yours sincerely,
Robpizza
& is not the chat color character, ยง is. Most chat plugins just convert automatically, yours would have to as well.