Variabled and Codes

HChat

Variables

The variables described under will be replaced by the value they represent and can be used in any HChatformat. Variable code prefix $ can be used if % causes trouble in any situation.

CodeDescription
%%Percent symbol
%aLong away tag (normally "[AFK]")
%AShort away tag (normally just a color)
%cChannel
%dMoney (formatted with currency tag)
%DMoney (unformatted integer)
%fFood (in percent)
%gGroup
%GPermission plugin group
%hHealth (not yet working)
%HHealth bars (not yet working)
%lExp level
%mMessage from chat, death, me, etc.
%MGame mode
%nPlayer display name
%NPlayer real name
%oNumber of online players
%OList of online players, comma and andpersand separated
%pPrefix
%rReceivers display name (for tell command)
%RReceivers real name (for tell command)
%sSuffix
%SServer name, configurable in server.properties (server-name)
%tTime (HH:mm:ss)
%TShort time (HH:mm)
%vBukkit version
%wWorld name
%xx location
%yy location
%zz location

Other variables

CodeDescription
%0Race from RacesAndClasses plugin. Warning: This variable was %a in v1.4.
%1Class from RacesAndClasses plugin. Warning: This variable was %A in v1.4.

Factions variables: Factions chat format tags

Formatting Codes

This is a list of all allowed codes. You may use the character 'ยง' instead of '&' wherever possible. Check out the Minecraft Wiki if you want to see what the colors and formats look like in the game: Minecraft Wiki: Formatting codes

CodeWhat is itExample
&0BlackABC
&1Dark BlueABC
&2Dark GreenABC
&3Dark AquaABC
&4Dark RedABC
&5Dark PurpleABC
&6GoldABC
&7GrayABC
&8Dark GreyABC
&9BlueABC
&aGreenABC
&bAquaABC
&cRedABC
&dPurpleABC
&eYellowABC
&fWhiteABC
&kMagicABC
&lBoldABC
&mStrikethroughABC (Without the red)
&nUnderlineABC
&oItalicABC
&rReset formattingABC (White in game)