Variabled and Codes
HChat
- Main Page
- Commands and Permissions
- # Variables and Codes
- Configuration
- Source @ GitHub
- Stats @ MCStats
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.
Code | Description |
---|---|
%% | Percent symbol |
%a | Long away tag (normally "[AFK]") |
%A | Short away tag (normally just a color) |
%c | Channel |
%d | Money (formatted with currency tag) |
%D | Money (unformatted integer) |
%f | Food (in percent) |
%g | Group |
%G | Permission plugin group |
%h | Health (not yet working) |
%H | Health bars (not yet working) |
%l | Exp level |
%m | Message from chat, death, me, etc. |
%M | Game mode |
%n | Player display name |
%N | Player real name |
%o | Number of online players |
%O | List of online players, comma and andpersand separated |
%p | Prefix |
%r | Receivers display name (for tell command) |
%R | Receivers real name (for tell command) |
%s | Suffix |
%S | Server name, configurable in server.properties (server-name) |
%t | Time (HH:mm:ss) |
%T | Short time (HH:mm) |
%v | Bukkit version |
%w | World name |
%x | x location |
%y | y location |
%z | z location |
Other variables
Code | Description |
---|---|
%0 | Race from RacesAndClasses plugin. Warning: This variable was %a in v1.4. |
%1 | Class 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
Code | What is it | Example |
---|---|---|
&0 | Black | ABC |
&1 | Dark Blue | ABC |
&2 | Dark Green | ABC |
&3 | Dark Aqua | ABC |
&4 | Dark Red | ABC |
&5 | Dark Purple | ABC |
&6 | Gold | ABC |
&7 | Gray | ABC |
&8 | Dark Grey | ABC |
&9 | Blue | ABC |
&a | Green | ABC |
&b | Aqua | ABC |
&c | Red | ABC |
&d | Purple | ABC |
&e | Yellow | ABC |
&f | White | ABC |
&k | Magic | ABC |
&l | Bold | ABC |
&m | Strikethrough | |
&n | Underline | ABC |
&o | Italic | ABC |
&r | Reset formatting | ABC (White in game) |