add_holder
Temporarily applies a set of effects and conditions to the dispatcher for a given duration.
Categories: meta
Required arguments
| Key(s) | Description | Type |
|---|
effects | The effects to apply temporarily. | EFFECT_LIST |
duration | How long to apply the holder, in ticks. Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
conditions | The conditions the holder requires to be active. | CONDITION_LIST | |
Example
effects:
- id: add_holder
args:
effects:
- id: <effect>
args:
<arg>: <value>
duration: 20 * %level%
conditions:
- id: <condition>
args:
<arg>: <value> # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |