
Remake BAirDrop for new version
Every airdrop action is accompanied by an event. Listeners can listen to these events and perform specific actions. Here's an example:
alert-start:
description: '&fMessage about the start in 30 seconds' #brief description
event: 'TIMER' #event
requirement:
check-1: #condition
type: 'NUMERICAL_CHECK'
input: '{time-to-start} == 30' #if 30 seconds until start
commands: #execute command
- '[MESSAGE_ALL] {air-name}&7 will appear in 30 seconds!'
You can add as many schematics as you want and thanks to the event system, spawn different schematics based on the biome, for example.
ef=2:
type: CIRCLE
ticks: 36000
timeUpdate: 10
radius: 2
count: 0
viewDistance: 30
step: 0.05
offset-x: 0.5
offset-y: 0.7
offset-z: 0.5
number-of-steps: 6.5
particle: DUST
#only DUST#
size: 3
color-rgb-r: 255
color-rgb-g: 0
color-rgb-b: 255
All effects are objects, and for example, you can copy the effect above, rename it to ef=3, change the settings, and you will get another unique effect.
summoner:
item-1:
material: SOUL_CAMPFIRE #Material
name: '&aAirdrop beacon'
lore:
- '&7line 1'
- '&7line 2'
airdrop: RANDOM #Which airdrop will be summoned
clone: true #Summon a clone of the airdrop?
use-player-location: true #Should the airdrop be summoned at the player's location?
check-up-blocks: false #Should the airdrop check for blocks above before summoning?
flatness-check: false #Should the airdrop check for location flatness when summoned?
call: [] #Listeners to be called upon airdrop summoning
