Add a group "variable"
With this, you can use %group% in the nickPrefix or in the nickSuffix. %group% will be replaced by the player's group.
I appreciate the patch but: I am trying very hard not to rely on external plugins directly. For things like custom message formatting I am working with bukkit's service manager system to support feeding data into iChat.
referencing http://forums.bukkit.org/threads/permissions-faq.25080/:
bukkit now has a built in permissions api. Dinnerbone recommends this method for prefixes.
For example, if you're trying to figure out which group should have which chat prefix, have a config file listing permission nodes -> prefixes. The server owner sets which node you should set on, and if someone has this node give them that prefix.
I plan on implementing this feature using the above method.