# Potion Effect Format

BattleArena has an potion effect format that is used for in both creating items and applying effects to players.

### Effect Options

<table border="1" id="bkmrk-name-description-typ" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 33.3333%;"></col><col style="width: 33.3333%;"></col><col style="width: 33.3333%;"></col></colgroup><tbody><tr><td>**Name**  
</td><td>**Description**  
</td><td>**Type**  
</td></tr><tr><td>duration  
</td><td>The amount of time (in ticks) to apply the effect for.  
</td><td>&lt;number&gt;  
</td></tr><tr><td>amplifier  
</td><td>How strong the effect is.  
</td><td>&lt;number&gt;  
</td></tr><tr><td>ambient  
</td><td>Whether the effect is ambient (less intrusive)  
</td><td>\[true|false\] (default: false)  
</td></tr><tr><td>particles  
</td><td>Whether the effect should show particles or not.  
</td><td>\[true|false\] (default: true)  
</td></tr></tbody></table>

### Examples

```yaml
events:
  on-start:
    - give-effects{effects=[speed{duration=300;amplifier=1},jump_boost{duration=300;amplifier=2}]}

...

events:
  on-respawn:
    - give-item{item=splash_potion{effects=[speed{duration=300;amplifier=1}]}}
```