Placeholders
Description
Section titled “Description”List of different placeholders that can be used in different parts of the plugin.
Random Number Placeholder:
Section titled “Random Number Placeholder:”Usable places: Command option for prizes.
How to use: {random}:minimum-maximum
Commands Option Example:
Section titled “Commands Option Example:”commands: - 'eco give {player} {random}:10000-100000'In-Game Command Example:
Section titled “In-Game Command Example:”/crazyvouchers give money 1 badbones69 {random}:1-1000Voucher Commands
Section titled “Voucher Commands”Description
Section titled “Description”These placeholders apply to all “Command:” options for vouchers in both the vouchers folder and VoucherCodes.yml files.
| 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} |
{z} | X coordinate of the player. | - 'tp {x} {y} {z}' |
{y} | Y coordinate of the player. | - 'tp {x} {y} {z}' |
{x} | Z coordinate of the player. | - 'tp {x} {y} {z}' |
{random} | Allows you to get a random number between any number | - {random}:10000-100000 |