- Added particle_line effect to draw a line of particles between you and the target location
- Fixed particle offsets / movement with spawn_particle effect
- Fixed send_title effect not translating placeholders
- (API, Maybe some effects too) Location will now automatically be attached as victim location, or player location (whichever is available, prioritizing victim) even if not specified from triggers
- Added support for chain arguments
These allow you to pass parameters to your chains, which makes effect chains far, far more useful and more reusable - your logic can get a lot more complex with this!
In any chain effect (run_chain, run_chain_inline), there is now an extra option you can put under args:
chain_args:
<name>: <value>
<name 2>: <value 2>
You can add as many arguments as you like. You use these values in chains just like other placeholders, with %<name>%, for example if you had an argument called strength, you would reference it with %strength% in your chain. Chain arguments support placeholders, too - just like anything else.
This is huge, and if you want to make something extremely powerful with effects, this will make it even easier and quicker with less repetition!
- Added placeholder_contains condition
- Added set_velocity effect
- Fixed any_of condition showing the wrong parameter name when provided with an invalid config
- Fixed riding_entity condition not using entity lookup strings and optimized the isMet function via CompileData
- Added not_ as a prefix for filters to invert them, and added the documentation for inverse filters; using ! as a prefix will still work, however this isn't recommended as yaml treats ! as a special character
- Fixed default config preventing the plugin from loading since last version
- Added support to create your own custom stats in config!
Just like customeffects.yml, customstats.yml lets you make as many custom stats as you want using libreforge - the same system behind the other plugins!
This is another huge update that opens the door to all kinds of new gameplay possibilities for your server, and again it comes with a custom stat for demo purposes (Saturation) that isn't enabled on any skill by default