add_holder_in_radius

Temporarily applies a set of effects and conditions to all nearby entities within a radius.

Categories: meta

Required arguments

Key(s)DescriptionType
effectsThe effects to apply temporarily to nearby entities.EFFECT_LIST
durationHow long to apply the holder, in ticks. Supports expressions.EXPRESSION
radiusThe radius to apply effects within. Supports expressions.EXPRESSION

Optional arguments

Key(s)DescriptionTypeDefault
apply-to-selfWhether to also apply the effects to the dispatcher.BOOLEANfalse
conditionsThe conditions the holder requires to be active.CONDITION_LIST

Example

effects:
  - id: add_holder_in_radius
    args:
      effects: 
        - id: <effect>
          args:
            <arg>: <value>
      duration: 20 * %level%
      radius: 5 + %level% * 0.5
      apply-to-self: true # ← Optional
      conditions: 
        - id: <condition>
          args:
            <arg>: <value> # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue
Permanentfalse