Effects

EffectLib is used for particle effects. Please make sure you have EffectLibarrow-up-right installed on your server.

This feature is for advanced users. If you want to create your own effects, please read https://github.com/elBukkit/EffectLib/wiki/Parametric-Equationsarrow-up-right for more information.

Please visit here if you need a brief explanation.

effects.yml
Effects:
  EffectLib:
    vortex:
      class: VortexEffect
      iterations: 1
      particle: smoke
      helixes: 16
      circles: 1
      grow: 0.0
      radius: 1
      period: 10
      pitch: 90
    equation:
      class: EquationEffect
      xEquation: 0
      yEquation: "0.5t"
      zEquation: 0
      duration: 10000
      particles: 10
      cycle: true
      x2Equation: "sin((0.3141) * t2)"
      y2Equation: 0
      z2Equation: "cos((0.3141) * t2)"
      particles2: 20
    equation2:
      class: EquationEffect
      xEquation: "sin(0.3141 * t)"
      yEquation: "0.5t"
      zEquation: "cos(0.3141 * t)"
      duration: 10000
      particles: 20
      cycle: true

Explanation

The effects listed herearrow-up-right can be used in the section class below. You can add/remove options mentioned herearrow-up-right.

Remember only public variables can be added/removed and class is REQUIRED. In addition, effect-specific options can be added, it depends on what kind of effects you have used. You may check effect-specific options herearrow-up-right.

The example below creates a DnaEffect named DNA with period of 1 and effect-specific option length of 15, then the file will look like this:

Last updated