sell_items
Sells sellable items from the drop trigger.
Categories: economy, inventory
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
multiplier | A multiplier applied to the sell price of each item. Supports expressions. | EXPRESSION | 1.0 |
whitelist | A list of item types that are allowed to be sold. If omitted, all sellable items are sold. | ITEM_LIST |
Trigger parameters required
PLAYER
Example
effects:
- id: sell_items
args:
multiplier: 1 + %level% * 0.05 # ← Optional
whitelist: <value> # ← Optional
Behaviour
| Setting | Value |
|---|---|
| Run order | END |
| Supports delay | true |
| Reloads on plugin reload | true |