EffectLibπ
If you install this plugin on your server you will be able to play particle effects on NPCs and locations.
You can also use the particle action to trigger particle.
Info
EffectLib is not a normal plugin, it's a powerful developer tool - there are no official docs. However, the Magic plugin has a wiki for EffectLib. It does contain a few magic specific settings though so please don't be confused if some stuff does not work. There is also a magic editor with autocompletion for EffectLib.
effectlib: #(1)!
farmer: #(2)!
class: VortexEffect #(3)!
iterations: 20 #(4)!
particle: crit_magic
helixes: 3
circles: 1
grow: 0.1
radius: 0.5
pitch: -60 #(9)!
yaw: 90 #(10)!
interval: 30 #(8)!
checkinterval: 80 #(11)!
npcs: NPC1,NPC2 #(5)!
locations: 171;72;-127;world #(6)!
conditions: '!con_tag_started,!con_tag_finished' #(7)!
- All effects need to be defined in this section.
- Each effect is defined as a separate subsection. You can choose any name for it.
- Any EffectLib effect class.
- This and all following options until
intervalare EffectLib parameters. You can find them in the 3rd party documentation linked above. - A list of all NPCs on which this effect is displayed. This section is optional.
- A list of all locations on wich the effect is displayed. Optional.
- The conditions that must be true so that the player can see this effect.
- Controls after how many ticks the effect is restarted. Optional, default: 100 ticks
- Controls the vertical direction of the effect.
- Controls the horizontal direction of the effect.
- Controls how often the conditions should be checked (in ticks). Optional, default: 100 ticks
Actionsπ
Particle: particleπ
This action will load an effect defined in effects section
and display it on player's location. The only argument
is the name of the effect. You can optionally add loc: argument
followed by a location written like 100;200;300;world;180;-90 to put
it on that location. If you add private argument the effect will only
be displayed to the player for which you ran the action.
effects:
beton:
class: HelixEffect
iterations: 100
particle: smoke
helixes: 5
circles: 20
grow: 3
radius: 30
actions:
playEffect: "particle beton loc:100;200;300;world;180;-90 private"