Denizen/0.7/Replaceables

From Citizens Wiki

< Denizen‎ | 0.7

Revision as of 20:47, 30 September 2012 by Davidcernat (talk | contribs) (Separated replaceables into two categories.)

Replaceable data tags can be used to dynamically put flags and values inside texts and commands.

Player Replaceables

<DISPLAYNAME>

The display name of the Player interacting with the Denizen, i.e. the name including colors.

<PLAYER> or <PLAYER.NAME>

The name of the Player.

<PLAYER.HEALTH>

The Player's current health.

<PLAYER.WORLD>

The name of the world the Player is in.

Denizen Replaceables

<NPC> or <DENIZEN.NAME>

The name of the Denizen.

<NPCID> or <DENIZEN.NPCID>

The ID of the Denizen.