Auto Chat Color
Auto Chat Colour!
This is a simple plugin that allows you to set a users chat colour based on permissions. If more than one chat colour permission is present, the colour of the message will be randomly selected. It also supports the use of bold, italics, underlining and magic formatting (this is added after the colour is selected, so a message can be as an example both bold, underlined and red.)
This plugin was made due to a request on the bukkit forums here
Permissions
This plugin uses the following permissions for colours:
- autochatcolour.black
- autochatcolour.darkblue
- autochatcolour.darkgreen
- autochatcolour.darkaqua
- autochatcolour.darkred
- autochatcolour.darkpurple
- autochatcolour.gold
- autochatcolour.gray
- autochatcolour.darkgray
- autochatcolour.blue
- autochatcolour.green
- autochatcolour.aqua
- autochatcolour.red
- autochatcolour.lightpurple
- autochatcolour.yellow
- autochatcolour.white
And the following permissions for other formatting:
- autochatcolour.underline
- autochatcolour.bold
- autochatcolour.italic
- autochatcolour.magic
Config
Due to a bug the person who requested this plugin was experiencing, I have added a config, which overrides the way that OP's chat, ignoring their permissions, the config itself is pretty self explanatory. If OP's are getting random colours and weird formatting, this is the way to go, however it is was working for you, just disable this option.
Other Information
This plugin uses no commands, only permissions.
This plugin is licensed under the MIT license, the source code is available here
Really good plugin thumbs up! :D