Denizen/0.7/Color Codes

From Citizens Wiki

< Denizen‎ | 0.7

Revision as of 19:36, 21 August 2012 by Jrbudda (talk | contribs) (Jrbudda moved page Color Codes to Denizen/Color Codes)

Denizen provides several different options to colorize text. The follow characters, combined with a color code will change the color or format of text

& -The standard bukkit color marker.
§ - the standard minecraft color marker.
\u00167 - an alternate way to make a §
%% - A denizen replacement for §, more compatible with various text encoding schemes. Only usable in Speech commands, not config files.

The format codes available are

0 	Black
1 	Dark Blue
2 	Dark Green
3 	Dark Aqua
4 	Dark Red
5 	Dark Purple
6 	Gold
7 	Gray
8 	Dark Gray
9 	Blue
A 	Green
B 	Aqua
C 	Red
D 	Light Purple
E 	Yellow
F 	White
K 	Magic
L 	Bold
M 	Strike through
N 	Underline
O 	Italic
R 	Reset 

Examples:

- CHAT "§aThis text is red"
- CHAT "%%aThis text is green"
- NARRATE "%%nThis is underlined but %%rThis is not.