Jump to content

Colors

From fCraft Wiki
Revision as of 01:35, 7 October 2012 by F (talk | contribs)

Although any player can call /Colors to see this list, only players with UseColorCodes permission can use them. Color codes can be used in chat messages, command parameters (e.g. kick reasons or world greetings), /Rules files, announcements.txt, greeting.txt, as well as in code. Minecraft can display text in 16 different colors.

Standard Colors

Black (0) Navy (1) Green (2) Teal (3) Maroon (4) Purple (5) Olive (6) Silver (7)


Gray (8) Blue (9) Lime (A) Aqua (B) Red (C) Magenta (D) Yellow (E) White (F)

Symbolic Colors

To simplify customizing chat appearance, fCraft provides several symbolic color codes, which are replaced on the fly with configured colors.

Code Default Description
&S Yellow (E) Color of normal system messages (e.g. command feedback).
&H Lime (A) Color of command usage examples in help.
&Y Green (2) Color of messages produced by /Say command.
&R Green (2) Color of announcements and rules. Default is dark-green. Note that this default color can be overridden by colorcodes in announcement and rule files.
&P Aqua (B) Color of private and rank-wide messages.
&M Purple (5) Color of /Me command messages.
&W Red (C) Color of error and warning messages.
&I Purple (5) Color of IRC messages and event announcements, as seen on the server/in-game.

Newlines

In addition to colors, players with UseColorCodes are able to use the newline keyword %N to force a line break mid-message.

See also