Skip to main content

MapGenerating

Gets called when the server starts generating map.

Start a script section

!-- OnEvent MapGenerating
-- require $evSeed $evIsAllowed

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: Yes
  • Event data: MapGeneratingEventArgs

Injected variables

VariableTypeDescription
$evSeednumber valueGets or sets seed of next map.
$evIsAllowedbool valueWhether the event is allowed to run.