PEXPlugins/ChatManager — pull request #13 by LordRalex (2012-03-16 11:02:48+00:00)
Title: ChatManager supporting multiple group prefixes

All I did here was add in support for multiple prefixes for a player, and suffixes.

All it does is use the PermissionUser's getGroups() method to get a player's groups, and then place all the group's prefixes into a String which then replaces the %prefix in the message. I tested it locally without anything wrong with the message.

I was able to have a player be in 2 groups, and have both prefixes, but if they were in one and that group inherited, the inherited group was not added as well.