Placeholders
This page lists all placeholders included in CrazyVouchers.
Placeholders
Section titled “Placeholders”{random}:min-max
- Minimum (the lowest the number can go)
- Maximum (the highest the number can go)
Commands:- 'eco give %player% {random}:10000-100000'| Placeholder | Description | Example |
|---|---|---|
{player} |
Name of the player | - 'eco give {player} 1000' |
{world} |
World player is currently in | - lp user {player} parent set crazyvouchers.redeem {world} |
{x} |
X coordinate of the player. | - 'tp {x} {y} {z}' |
{y} |
Y coordinate of the player. | - 'tp {x} {y} {z}' |
{z} |
Z coordinate of the player. | - 'tp {x} {y} {z}' |
{arg} |
The argument the voucher was given with, or the code name when redeeming a code. | - 'lp user {player} parent set {arg}' |
{prefix} |
The command prefix from config.yml. |
- 'msg {player} {prefix}Thanks!' |
| Placeholder | Description |
|---|---|
{permission} |
The listed node the player has (voucher whitelist/blacklist messages), or the node the command requires (command no-permission message). |
{time} |
The voucher’s cooldown.interval (cooldown message only). |