Text Syntax: Difference between revisions
(→Other) |
(→Other) |
||
Line 26: | Line 26: | ||
===NPC Nodes=== | ===NPC Nodes=== | ||
npc - NPC's name | '''npc''' -- NPC's name | ||
<br>id - NPC's ID | <br>''id'' -- NPC's ID | ||
<br>owner - NPC's owner | <br>''owner'' -- NPC's owner | ||
===Player Nodes=== | ===Player Nodes=== | ||
<br>player - Player's name | <br>''player'' -- Player's name | ||
<br>world - Player's world | <br>''world'' -- Player's world |
Revision as of 13:18, 19 February 2012
Configuration syntax in Citizens is simple. Nodes within arrow brackets -- <> -- will be parsed and replaced if possible. Below are the available nodes that you can use.
Chat Colors
Use the Chat Color character within brackets. For example, <a> would give you green.
Color Reference
0 -- BLACK
1 -- DARK BLUE
2 -- DARK GREEN
3 -- CYAN
4 -- DARK RED
5 -- PURPLE
6 -- GOLD
7 -- LIGHT GRAY
8 -- GRAY
9 -- BLUE
a -- GREEN
b -- AQUA
c -- ROSE RED
d -- LIGHT PURPLE
e -- YELLOW
f -- WHITE
Other
There are also other nodes that you can use in configuration files. Some of these do not apply to certain configuration settings, so use with care. More will be added in the future as the need arises.
NPC Nodes
npc -- NPC's name
id -- NPC's ID
owner -- NPC's owner
Player Nodes
player -- Player's name
world -- Player's world