PermissionsEx

PermissionsEx

14M Downloads

API prefix colors??

Robpizza opened this issue ยท 3 comments

commented

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

7f5bbc85d0d04b56970202b38a7dcaa3

Thanks for your help!

Yours sincerely,

Robpizza

commented

Nobody know how to fix this ;l?

commented

& is not the chat color character, ยง is. Most chat plugins just convert automatically, yours would have to as well.

commented

Thanks ill try this one ๐Ÿ‘