Denizen/Replaceable Tags: Difference between revisions

From Citizens Wiki
No edit summary
No edit summary
Line 48: Line 48:


Examples: Dollars, pounds, coins
Examples: Dollars, pounds, coins
|-
| <player.time>
| The player's time in ticks, from 0 to 23999. For a quick view of what different tick values mean in real life hours, look [http://media-mcw.cursecdn.com/b/bc/Day_Night_Clock_24h.png here].
|-
| <player.time.period>
| The time period for this player. Can be "day" or "night".
|-
|-
| <player.weather>
| <player.weather>
| The current weather in this player's world. Is "storming" if there's a storm, "sunny" if the weather is clear and it's daytime, and "clear" if the weather is clear and it's nighttime.
| The current weather in this player's world. Is "storming" if there's a storm, "sunny" if the weather is clear and it's daytime, and "clear" if the weather is clear and it's nighttime.
|}
|}

Revision as of 10:04, 15 February 2013

Player

<player.name> The player's name.
<player.is_banned> Whether the player is banned. Can be true or false.
<player.is_online> Whether the player is online. Can be true or false.
<player.is_op> Whether the player is an operator. Can be true or false.
<player.item_in_hand.id> The ID of the item the player is holding. All item IDs are found here.
<player.item_in_hand.data> The material data of the item the player is holding.
<player.item_in_hand.display> The name chosen on an anvil for the item the player is holding.
<player.item_in_hand.durability> The durability of the item the player is holding.
<player.item_in_hand.max_stack> The maximum amount you can have in one inventory slot of the item the player is holding.
<player.money> The amount of money in this player's account. Requires Vault and an economy plugin.
<player.money.currency.singular> The currency set in this server's economy plugin, in its singular form.

Examples: Dollar, pound, coin

<player.money.currency.plural> The currency set in this server's economy plugin, in its plural form.

Examples: Dollars, pounds, coins

<player.time> The player's time in ticks, from 0 to 23999. For a quick view of what different tick values mean in real life hours, look here.
<player.time.period> The time period for this player. Can be "day" or "night".
<player.weather> The current weather in this player's world. Is "storming" if there's a storm, "sunny" if the weather is clear and it's daytime, and "clear" if the weather is clear and it's nighttime.