sell_container
Sells the sellable contents of the container at the trigger location, like a sell wand.
Categories: economy
Inherited argument blocks
subsection
filters— Which items to sell: shops, whitelist, blacklist, and extra multipliers for matching items.subsection
bypass— Shop checks to skip: dynamic-pricing, player-limits and global-limits. A bypassed check is ignored, and the sale doesn't count towards it.
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
wand | The ID of a sell wand to copy the filters, multiplier, caps, containers, cooldown and period limit from. | STRING | |
multiplier | The sell price multiplier. Supports expressions. | EXPRESSION | 1 |
containers | The container blocks this works on. shulker_box matches every colour. Choices: any Material value | STRING_LIST | [chest, trapped_chest, barrel] |
max-items | The max items sold per use, or -1 for no limit. Supports expressions. | EXPRESSION | -1 |
max-value | The max money earned per use, or -1 for no limit. Only counts eco:economy prices. Supports expressions. | EXPRESSION | -1 |
Trigger parameters required
PLAYERLOCATION
Example
effects:
- id: sell_container
args:
wand: golden # ← Optional
multiplier: 1 + %level% * 0.1 # ← Optional
containers: # ← Optional
- "chest"
- "barrel"
- "shulker_box"
max-items: 1728 # ← Optional
max-value: 50000 # ← Optional
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |