Jump to content

Colors: Difference between revisions

From fCraft Wiki
No edit summary
Hellenion (talk | contribs)
Added system colour codes
Line 14: Line 14:
[[Image:chat_colors.png|left|frame|/colors output]]
[[Image:chat_colors.png|left|frame|/colors output]]
<br style="clear:left" />
<br style="clear:left" />
=List=
==List==
{{ColorBlack}} {{ColorNavy}} {{ColorGreen}} {{ColorTeal}} {{ColorMaroon}} {{ColorPurple}} {{ColorOlive}} {{ColorSilver}}
{{ColorBlack}} {{ColorNavy}} {{ColorGreen}} {{ColorTeal}} {{ColorMaroon}} {{ColorPurple}} {{ColorOlive}} {{ColorSilver}}


Line 20: Line 20:
{{ColorGray}} {{ColorBlue}} {{ColorLime}} {{ColorAqua}} {{ColorRed}} {{ColorMagenta}} {{ColorYellow}} {{ColorWhite}}
{{ColorGray}} {{ColorBlue}} {{ColorLime}} {{ColorAqua}} {{ColorRed}} {{ColorMagenta}} {{ColorYellow}} {{ColorWhite}}


==System Colours==
:The following colour codes can be used in /Rules, announcements, and greeting files, as well as code. It is as of yet impossible to use them in-game.
:These are part of the [[Constants]] but the default values can be edited in the [[List_of_config_keys|configuration]].


=More information=
:{| class="wikitable"
|-
!Code
!Default
!Description
|-
|<CODE>&S</CODE>
|{{ColorYellow}}
|Color of normal system messages (e.g. command feedback).
|-
|<CODE>&H</CODE>
|{{ColorLime}}
|Color of command usage examples in help.
|-
|<CODE>&Y</CODE>
|{{ColorGreen}}
|Color of messages produced by /Say command.
|-
|<CODE>&R</CODE>
|{{ColorGreen}}
|Color of announcements and rules. Default is dark-green. Note that this default color can be overridden by colorcodes in announcement and rule files.
|-
|<CODE>&P</CODE>
|{{ColorAqua}}
|Color of private and rank-wide messages.
|-
|<CODE>&M</CODE>
|{{ColorPurple}}
|Color of /Me command messages.
|-
|<CODE>&W</CODE>
|{{ColorRed}}
|Color of error and warning messages.
|-
|<CODE>&I</CODE>
|{{ColorPurple}}
|Color of IRC messages and event announcements, as seen on the server/in-game.
|}
 
==More information==
*[http://www.minecraftwiki.net/wiki/Classic_server_protocol#Color_Codes Color Codes] on the Minecraft wiki
*[http://www.minecraftwiki.net/wiki/Classic_server_protocol#Color_Codes Color Codes] on the Minecraft wiki


{{LastUpdated|1201}}
{{LastUpdated|1201}}

Revision as of 22:30, 28 August 2012

Command
Colors

Shows a list of colorcodes.

Aliases/Colours
Usage

/Colors

CategoryChat
Usable from console?Yes
Introduced infCraft 0.520


Shows a list of Minecraft chat color codes. Although any player can call /Colors to see this list, only players with UseColorCodes permission can use them.

/colors output


List

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)

System Colours

The following colour codes can be used in /Rules, announcements, and greeting files, as well as code. It is as of yet impossible to use them in-game.
These are part of the Constants but the default values can be edited in the configuration.
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.

More information