Minecraft plugin
Commands & placeholders
In-game and console commands, and the placeholders you can use in package commands.
Plugin commands
Requires the permission craftpay.admin (operators have it). /cp works too.
| Command | What it does |
|---|---|
/craftpay status | Shows the connection status and when the queue was last checked. |
craftpay secret <key> | Saves the server's secret key. Console only. |
/craftpay force | Checks for new purchases right now. |
/craftpay reload | Reloads config.yml. |
Placeholders
Use these in a package's commands. Write commands without the leading “/”.
| Placeholder | Replaced with |
|---|---|
{player} | The buyer's Minecraft name. |
{package} | The package name. |
{order} | The order id. |
Example
lp user {player} parent addtemp vip 30d
broadcast {player} bought {package}!Stuck? Write to mail@craftpay.net