Dragon Events

Dragon Events Tutorial

During Dragon game certain events will run while ender dragon still alive, they follow an order and have specific configurations.

Event Types:

  • DRAGON_FIREBALLS - Dragon will throw purple fireballs to all players

  • FIREBALLS - Dragon will throw classic fireballs to all players

  • LIGHTNING - Dragon will throw strikes to all players

  • GUARDIANS - Dragon Guardians (Custom mobs) will appear in the map

/plugins/TheDragon/events.yml
# ================================
#        Dragon Events      
# ================================
events:
  ancient_dragon:
    dragon-event-map:
      1:
        general-settings:
          event-type: DRAGON_FIREBALLS
          seconds-duration: 2
          keep-dragon-afk: false
          dragon-speed-amplifier: 0
          repeat-event-after-seconds: 5
        dragon-fireball-settings:
          dragon-fireballs-per-second: 3
        fire-balls-settings: null
        lightning-settings: null
        guardian-settings: null
      2:
        general-settings:
          event-type: FIREBALLS
          seconds-duration: 2
          keep-dragon-afk: false
          dragon-speed-amplifier: 0
          repeat-event-after-seconds: 5
        dragon-fireball-settings: null
        fire-balls-settings:
          fireballs-per-second: 3
          fireball-damage: 100.0
          show-particle: true
        lightning-settings: null
        guardian-settings: null
      3:
        general-settings:
          event-type: LIGHTNING
          seconds-duration: 2
          keep-dragon-afk: false
          dragon-speed-amplifier: 0
          repeat-event-after-seconds: 5
        dragon-fireball-settings: null
        fire-balls-settings: null
        lightning-settings:
          lightning-damage: 100.0
        guardian-settings: null
      4:
        general-settings:
          event-type: GUARDIANS
          seconds-duration: 10
          keep-dragon-afk: false
          dragon-speed-amplifier: 0
          repeat-event-after-seconds: 5
        dragon-fireball-settings: null
        fire-balls-settings: null
        lightning-settings: null
        guardian-settings:
          guardians:
          - id: epic_zombie
            chance: 100
            mythic-mob-level: 0
            is-from-mythic-mobs: false
          guardians-amount: 10
  • As you seen in the example file above, all events are configured per each dragon, and the number in the key "1", "2", "3" or "4" is the order that will follow (min to max) you can add as much event as you want.

All Events should have "general-settings"

Events also should have specific settings depending of the type of event you setup.

  • GUARDIANS:

  • FIREBALLS:

  • DRAGON_FIREBALLS:

  • LIGHTNING:

Last updated