pay_price

Deducts a price of the specified type from the player.

Categories: economy

Required arguments

Key(s)DescriptionType
valueThe amount to deduct from the player. Supports expressions and placeholders.STRING
typeThe 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

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue