Disaster Action
# A '*' in front of a comment means the following field below it must be included for the action to function properly
# This is placed inside an event just like any other action is
disaster 1:
# * Type must be defined, the type of the disaster to start (names are the same as they are in game)
type: 'sinkhole'
# Level of the disaster occurring (default will be random level)
level: 3
# Size of the sinkhole (default will be size value set in users config)
size: 0.5
# Target is the location where the disaster will start at (types of targets: 'player', 'random', 'all', 'startPos') (default: 'player')
target: 'player'
# The offset is the disaster offset from the target, the radius in blocks from the target that the disaster will randomly occur inside of (default: 0)
offset: 5# This is placed inside an event just like any other action is
disaster 2:
type: 'earthquake'
# Force modifier of the earthquake
force: 0.5
target: 'random'
# * If you define a target as 'random' then you must also define the amount of targets, a value of 5 means this action will occur to 5 random players on the world (If you want all players then use target 'all')
targetAmount: 5
# Instead of offset you can define a location where the disaster begins like this. Putting a tilde sign `~` before a coordinate means that the coordinate will be relative to the targets position
location:
# This means that the earthquake will start at the X + 10 coordinate of the target
x: ~10
# Since there is no '~' in front of the coordinate it will start on exact coordinate so the earthquake will start a Y=60
y: 60
# This means that the earthquake will start at the Z - 10 coordinate of the target
z: ~-10Disaster Modifiers
Disaster ModifiersLast updated