AutoColour

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

AutoColour 1.0.4

  • 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

Command

Chat result

Codes

Colour/format names/codes

Colour/formatNameCode
blackblack&0
darkbluedarkblue&1
darkgreendarkgreen&2
darkaquadarkaqua&3
darkreddarkred&4
purplepurple&5
goldgold&6
greygrey&7
darkgreydarkgrey&8
indigoindigo&9
brightgreenbrightgreen&a
aquaaqua&b
redred&c
pinkpink&d
yellowyellow&e
whitewhite&f
randomrandom&k
boldbold&l
strikestrike&m
underlinedunderlined&n
italicsitalics&o
reset&r

Source code

GitHub Repository

My other plugins

TARDIS

XPKeeper

Deputrifier


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    46936
  • Created
    Nov 5, 2012
  • Last Released File
    Apr 19, 2013
  • Total Downloads
    9,851
  • License

Categories

Members

Recent Files