firework

Launches a firework at the trigger location with configurable colors, shape, and effects.

Categories: visual

Optional arguments

Key(s)DescriptionTypeDefault
powerThe flight duration of the firework (0–255). Defaults to 0.INT0
effectsA list of firework effect subsections, each with type, colors, fade-colors, trail, and flicker.DYNAMIC

effects entries

KeyDescriptionTypeRequired
typeThe explosion shape: ball, ball_large, star, burst, creeper.
Choices: ball, ball_large, star, burst, creeper
STRING_LISTyes
colorsThe hex colors of the explosion.STRING_LISTno
fade-colorsThe hex colors the explosion fades to.STRING_LISTno
trailWhether the firework leaves a trail.BOOLEANno
flickerWhether the explosion flickers.BOOLEANno

Trigger parameters required

  • LOCATION

Example

effects:
  - id: firework
    args:
      power: 1 # ← Optional
      effects: 
        - type: ball|ball_large|star|burst|creeper
          colors: <value> # ← Optional
          fade-colors: <value> # ← Optional
          trail: <value> # ← Optional
          flicker: <value> # ← Optional # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue