AutoColour
What it does
AutoColour adds the ability to make a word list with associated colours, so that when one of the words is typed into chat it will automatically be coloured.
It supports all chat colours and formats.
Download
- when using the
/aclist
command, the unformatted word is now displayed in brackets next to 'magic' text
How it works
AutoColouring works automatically!
To add/remove/list words to the word list you use a command. See Commands below.
Configuration
There are two config options:
enabled: [true|false] herochat: [true|false]
The herochat
option will be set automatically depending on whether AutoColour detects if the Herochat plugin is installed on the server.
Commands
There are 3 commands.
/autocolour
- aliases: [ac, autocolor]
- description: Add an AutoColour word.
- usage:
/autocolour [word] [colour]
- when used with no arguments, it displays a list of available colours and formats
Specifying colours and formats
You can specify the colour either using the colour name e.g. darkgreen (no spaces) or the colour code e.g. &2
If using the colour code, you can specify up to 3 different codes. For example to make the word pink, italic and underlined you would use &d&o&n
. If some combinations seem not to work at first, try swapping the order of the codes...
Use /autocolour
to show the list of colours.
/acremove
- aliases: [acr, autocolourremove, autocolorremove]
- description: Remove an AutoColour word.
- usage:
/acremove [word]
/aclist
- aliases: [acl, autocolourlist, autocolorlist]
- description: Lists all AutoColour words.
- usage:
/aclist
Permissions
Two:
autocolour.use
Default: true - will substitute in coloured words
autocolour.admin
Default: op - allows you to add/remove words to the AutoColour list
What it looks like
Colour/format names/codes
Colour/format | Name | Code |
---|---|---|
black | &0 | |
darkblue | &1 | |
darkgreen | &2 | |
darkaqua | &3 | |
darkred | &4 | |
purple | &5 | |
gold | &6 | |
grey | &7 | |
darkgrey | &8 | |
indigo | &9 | |
brightgreen | &a | |
aqua | &b | |
red | &c | |
pink | &d | |
yellow | &e | |
white | &f | |
random | &k | |
bold | &l | |
strike | &m | |
underlined | &n | |
italics | &o | |
reset | &r |
@eccentricnz
Sorry wrong plugin. whoops
@cosmicreach
Not related to this plugin...
How can I use the join and leave function, in the config because I cant find out what it is to make it so it says say redrobbo left the game it would be like {user} left the game or %user% left the game. I have also tried %username% %player% or {username} {player} UseCustomJoinMessage: true UseCustomLeaveMessage: true CustomJoinMessage: '&6{username} &5+ CustomLeaveMessage: '&6'{username} &5-
If anyone could help that would be great
Could you make it work for nicknames with capital letters?
Hey - I'm not able to get this to work if I've already applied a suffix. I'm using bChatManager for chat. Possibly the way you're colouring names by appending ยง? I'm not sure...
@ZombieCreeper21
With some other plugin, as AutoColor only changes what is typed in chat, not the player's name
How do I colour My username Being the owner?
@harryjamesuk
Finally got around to fixing this :)
When using the
/aclist
command, the unformatted word is now displayed in brackets next to 'magic' text@turtleninga3636
Will see what can be done, but it already adds for example 'cat', 'Cat' and 'CAT' and I can't / won't add a database record for every permutation because players can't type properly
There is a bug where for example I put "shit" with &c and it works perfectly fine but if i say SHIt then it doesn't colour code it. Please fix.
Oh, And another thing, When you do /aclist, If you've got any magic text, You don't know what it is, So, could you like make it say what it is next to it or something xD
@eccentricnz
Thank you!
@dakotadamico5
I suggest you use your permissions plugin or similar to add colour prefixes to groups in chat, as I don't really want to add a Vault dependency for such a simple plugin...
@harryjamesuk
Support for Herochat and multiple formats added to version 1.0.3
Will try to do something during the holidays... Merry Christmas :)
@dakotadamico5
I'd like that too ;) And integration for that with HeroChat (Also, At the moment, With HeroChat, when you say a trigger, whatever you say after the trigger will come out white instead of HeroChat's green). Test it out with HeroChat and you'll understand what I mean.
Would you be able to make it so we can make specific groups speak in a specific color. I.E Owner speaks in Gold, whereas a new player speaks in Gray? that would be awesome :D
Can you add multiple formats? E.G: &l&n&c Would make it bold, underlined and red at the same time? (This does work!)
Awesome!
Another great and handy plugin!
NZ minecrafters fo life!