Text Syntax

From Citizens Wiki

Revision as of 13:10, 19 February 2012 by APunch (talk | contribs) (Created page with "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. ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 -- 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