Skip to content

2. Configuration

TreemanKing edited this page May 24, 2024 · 1 revision

The configuration for the plugin uses maps/lists which need to be accurately typed, otherwise the event/effect will not fire.

Example

An example of an armor set is structured is as follows:

Events:
  DAMAGED:
    Chance: 0.1
    Effects:
      - CANCEL_EVENT:
          Boolean: true
      - PLAY_SOUND:
          Sound: ENTITY_ENDERMAN_TELEPORT
          Pitch: 1.0
          Volume: 1.5
      - PARTICLE:
          Particle: DRAGON_BREATH
          Count: 40
          Offset: 1.0
      - ACTION_BAR:
          Text: "Attack Evaded!"

Have a look at Events and Effects to see the variety of Event and Effects types and their requirements.

Clone this wiki locally