pay_price
Deducts a price of the specified type from the player.
Categories: economy
Required arguments
| Key(s) | Description | Type |
|---|---|---|
value | The amount to deduct from the player. Supports expressions and placeholders. | STRING |
type | The price type identifier (e.g. coins, xp, xpl, item). | STRING |
Trigger parameters required
PLAYER
Example
effects:
- id: pay_price
args:
value: %level% * 10
type: coins
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |