Denizen/0.7/Replaceables: Difference between revisions
From Citizens Wiki
Davidcernat (talk | contribs) (Added remaining replaceables.) |
Davidcernat (talk | contribs) (Changed templates to Replaceable Type Color.) |
||
Line 3: | Line 3: | ||
===Player Replaceables=== | ===Player Replaceables=== | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<DISPLAYNAME> | <DISPLAYNAME> | ||
| The display name of the Player interacting with the Denizen, i.e. the name including colors. | | The display name of the Player interacting with the Denizen, i.e. the name including colors. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER> or <PLAYER.NAME> | <PLAYER> or <PLAYER.NAME> | ||
| The name of the Player. | | The name of the Player. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.EXP> | <PLAYER.EXP> | ||
| The Player's total experience. | | The Player's total experience. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.BOOTS> | <PLAYER.BOOTS> | ||
| The MATERIAL of the boots that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | | The MATERIAL of the boots that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.CHESTPLATE> | <PLAYER.CHESTPLATE> | ||
| The MATERIAL of the chestplate that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | | The MATERIAL of the chestplate that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.EXP_TO_NEXT_LEVEL> | <PLAYER.EXP_TO_NEXT_LEVEL> | ||
| The experience the Player must gain to reach the next level. | | The experience the Player must gain to reach the next level. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.FOOD_LEVEL> | <PLAYER.FOOD_LEVEL> | ||
| The Player's food level, from 0 to 20. | | The Player's food level, from 0 to 20. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.HEALTH> | <PLAYER.HEALTH> | ||
| The Player's health, from 0 to 20. | | The Player's health, from 0 to 20. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.HELM> | <PLAYER.HELM> | ||
| The MATERIAL of the helm that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | | The MATERIAL of the helm that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.ITEM_IN_HAND.ID> | <PLAYER.ITEM_IN_HAND.ID> | ||
| The ID of the item in the Player's hand. Is '0' if the Player's hand is empty. | | The ID of the item in the Player's hand. Is '0' if the Player's hand is empty. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.ITEM_IN_HAND.MATERIAL> | <PLAYER.ITEM_IN_HAND.MATERIAL> | ||
| The MATERIAL of the item in the Player's hand. Is 'AIR' if the Player's hand is empty. | | The MATERIAL of the item in the Player's hand. Is 'AIR' if the Player's hand is empty. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.ITEM_IN_HAND.NAME> | <PLAYER.ITEM_IN_HAND.NAME> | ||
| The name of the item in the Player's hand. Doesn't work at the moment. | | The name of the item in the Player's hand. Doesn't work at the moment. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.ITEM_IN_HAND.QTY> | <PLAYER.ITEM_IN_HAND.QTY> | ||
| The quantity of the item in the Player's hand. | | The quantity of the item in the Player's hand. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.KILLER> | <PLAYER.KILLER> | ||
| The name of the last killer of this Player. Doesn't work at the moment. | | The name of the last killer of this Player. Doesn't work at the moment. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.LEGGINGS> | <PLAYER.LEGGINGS> | ||
| The MATERIAL of the leggings that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | | The MATERIAL of the leggings that the Player is wearing. Is 'FALSE' if the Player is not wearing any. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.MONEY> | <PLAYER.MONEY> | ||
| The amount of money that the Player has. This replaceable will only work if you have Vault installed and a compatible permissions/economy plugin. | | The amount of money that the Player has. This replaceable will only work if you have Vault installed and a compatible permissions/economy plugin. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|honeydew| | ||
<PLAYER.WORLD> | <PLAYER.WORLD> | ||
| The name of the world the Player is in. | | The name of the world the Player is in. | ||
Line 90: | Line 90: | ||
===Denizen Replaceables=== | ===Denizen Replaceables=== | ||
{{Denizen | {{Denizen Replaceable Type Color|papayawhip| | ||
<NPC> or <DENIZEN.NAME> | <NPC> or <DENIZEN.NAME> | ||
| The name of the Denizen. | | The name of the Denizen. | ||
}} | }} | ||
{{Denizen | {{Denizen Replaceable Type Color|papayawhip| | ||
<NPCID> or <DENIZEN.NPCID> | <NPCID> or <DENIZEN.NPCID> | ||
| The ID of the Denizen. | | The ID of the Denizen. | ||
}} | }} |
Revision as of 21:56, 30 September 2012
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.EXP> |
The Player's total experience.
|
<PLAYER.BOOTS> |
The MATERIAL of the boots that the Player is wearing. Is 'FALSE' if the Player is not wearing any.
|
<PLAYER.CHESTPLATE> |
The MATERIAL of the chestplate that the Player is wearing. Is 'FALSE' if the Player is not wearing any.
|
<PLAYER.EXP_TO_NEXT_LEVEL> |
The experience the Player must gain to reach the next level.
|
<PLAYER.FOOD_LEVEL> |
The Player's food level, from 0 to 20.
|
<PLAYER.HEALTH> |
The Player's health, from 0 to 20.
|
<PLAYER.HELM> |
The MATERIAL of the helm that the Player is wearing. Is 'FALSE' if the Player is not wearing any.
|
<PLAYER.ITEM_IN_HAND.ID> |
The ID of the item in the Player's hand. Is '0' if the Player's hand is empty.
|
<PLAYER.ITEM_IN_HAND.MATERIAL> |
The MATERIAL of the item in the Player's hand. Is 'AIR' if the Player's hand is empty.
|
<PLAYER.ITEM_IN_HAND.NAME> |
The name of the item in the Player's hand. Doesn't work at the moment.
|
<PLAYER.ITEM_IN_HAND.QTY> |
The quantity of the item in the Player's hand.
|
<PLAYER.KILLER> |
The name of the last killer of this Player. Doesn't work at the moment.
|
<PLAYER.LEGGINGS> |
The MATERIAL of the leggings that the Player is wearing. Is 'FALSE' if the Player is not wearing any.
|
<PLAYER.MONEY> |
The amount of money that the Player has. This replaceable will only work if you have Vault installed and a compatible permissions/economy plugin.
|
<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.
|