Colors: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Minecraft can display text in 16 different colors. Two-letter codes are used to set colors in messages. A color code is am ampersand (<code>&</code>) followed by a digit or a letter. Color codes can be used in chat messages, command parameters (e.g. kick reasons or world greetings), {{cmd|Rules}} files, <code>announcements.txt</code>, <code>greeting.txt</code>, as well as in mods. | |||
==Using colors in chat== | |||
Since Minecraft client does not allow typing in ampersands (<code>&</code>) in chat, a percent mark (<code>%</code>) is used instead. Although any player can call {{cmd|Colors}} to see this list, only players with {{perm|UseColorCodes}} permission can use them. | |||
==Standard Colors== | ==Standard Colors== | ||
{{ColorBlack}} {{ColorNavy}} {{ColorGreen}} {{ColorTeal}} {{ColorMaroon}} {{ColorPurple}} {{ColorOlive}} {{ColorSilver}} | :{{ColorBlack}} {{ColorNavy}} {{ColorGreen}} {{ColorTeal}} {{ColorMaroon}} {{ColorPurple}} {{ColorOlive}} {{ColorSilver}} | ||
{{ColorGray}} {{ColorBlue}} {{ColorLime}} {{ColorAqua}} {{ColorRed}} {{ColorMagenta}} {{ColorYellow}} {{ColorWhite}} | :{{ColorGray}} {{ColorBlue}} {{ColorLime}} {{ColorAqua}} {{ColorRed}} {{ColorMagenta}} {{ColorYellow}} {{ColorWhite}} | ||
==Symbolic Colors== | ==Symbolic Colors== | ||
To simplify customizing chat appearance, fCraft provides several symbolic color codes, which are replaced on the fly with [[List_of_config_keys#Chat|configured]] colors. | To simplify customizing chat appearance, fCraft provides several symbolic color codes, which are replaced on the fly with [[List_of_config_keys#Chat|configured]] colors. | ||
{| class="wikitable" | :{| class="wikitable" | ||
|- | |- | ||
!Code | !Code | ||
Revision as of 01:39, 7 October 2012
Minecraft can display text in 16 different colors. Two-letter codes are used to set colors in messages. A color code is am ampersand (&) followed by a digit or a letter. 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 mods.
Using colors in chat
Since Minecraft client does not allow typing in ampersands (&) in chat, a percent mark (%) is used instead. Although any player can call /Colors to see this list, only players with UseColorCodes permission can use them.
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 &SYellow (E) Color of normal system messages (e.g. command feedback). &HLime (A) Color of command usage examples in help. &YGreen (2) Color of messages produced by /Say command. &RGreen (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. &PAqua (B) Color of private and rank-wide messages. &MPurple (5) Color of /Me command messages. &WRed (C) Color of error and warning messages. &IPurple (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
- /Colors command, that lists color codes.
- Emotes
- Color code information on the Minecraft wiki
- For block colors, see Blocks.