Event creation
A system designed to manage world events and disasters
Example
events:
fire_drop:
eventType: AIR_DROP
world: world
timeMinutes: 15 #Cooldown event
color: BLACK #Color home
random: true #true | false
randomCord:
x1: 5300
x2: 5301
z1: 5300
z2: 5301
speedBlock: 1 #Falling speed
message: |-
&c[&lAir Drop&f] &fAn air drop has appeared in the world &6%world&f!
&fCoordinates: &cX:&l%randomCord.x1 - %randomCord.x2 &cZ:&l%randomCord.z1 - %randomCord.z2
loot:
'1':
==: org.bukkit.inventory.ItemStack
v: 2586
type: DIAMOND
amount: 64
'2':
==: org.bukkit.inventory.ItemStack
v: 2586
type: NETHERITE_INGOT
'3':
==: org.bukkit.inventory.ItemStack
v: 2586
type: ENCHANTED_BOOK
meta:
==: ItemMeta
meta-type: ENCHANTED
stored-enchants:
LOOT_BONUS_BLOCKS: 3
'4':
==: org.bukkit.inventory.ItemStack
v: 2586
type: NETHERITE_CHESTPLATE
'5':
==: org.bukkit.inventory.ItemStack
v: 2586
type: ARROW
amount: 64
'6':
==: org.bukkit.inventory.ItemStack
v: 2586
type: BOW
'7':
==: org.bukkit.inventory.ItemStack
v: 2586
type: NETHERITE_PICKAXE
timeMinutes - cooldown in minutes.
block - Block, default is
STONE
.eventType - Type of event.
world - World specified by name.
randomCord - Coordinates for random placement.
radius - Radius.
radiusCrashBlock - Radius for crash block.
time - Time (in seconds).
max_size - Maximum size.
randomSpawn - Flag for random spawning.
chest_name - Name of the chest.
x - X coordinate.
y - Y coordinate.
z - Z coordinate.
loot - List of loot items.
speedBlockInTick - Speed of block per tick.
color - Color.
message - Message.
particle - Particle.
level - Level.
type - Meteorite type.
crator - Crater size.
item - Relic.
hologram - Hologram (not implemented yet).
timeInMinute - Time in minutes.
chanceSuperLinghing - Chance of superlinghing.
chanceSuperVortex - Chance of supervortex.
customMob - Mob.
block - Block specified in the configuration.
If you want to set spawn not in range, but at exact coordinates
events:
fire_drop:
x: 2000
y: 200
z: 2000
Setting up event messages
%name
%x
%y
%z
%world
%type
%radius
%cratorSize
%relic
%time
%speedBlock
%chestname
%chanceSuperLinghing
%chanceSuperVortex
%randomCord.x1
%randomCord.x2
%randomCord.z1
%randomCord.z2|
All event types
AIR_DROP
BLACK_HOLE
METEORIT
RELICS_DROP
SECRET_CARGO
STORM
HUNTING_DAY
BOSS
ZOMBIE_APOCALYPSE
ORE_FEVER
NETHER_PORTAL_MOBS
EARTHQUAKE
SUPER_NOVA
BLOCK_RAIN
FROST
INFINITY_NIGHT
QUICK_HARVEST
BLACK_HOLE
You can find examples of everyone’s work in the YouTube video (it hasn’t been filmed yet)
Last updated