Hierarchy

  • IIslandEvents

Methods

  • Called when the island is activated This means a player loaded onto the island

    Returns void

  • Called when the world is created

    Parameters

    Returns any

  • CValled when the island is deactivated This means there are no longer players on the island

    Returns void

  • Called when the island is deleted

    Returns void

  • Called when determining how many ticks to process when fast forwarding an island during traveling

    Parameters

    • fastForwardAmount: number

      Fast forward amount

    • travelTime: number

      Travel time

    Returns undefined | number

  • Called when item references are loaded

    Returns void

  • Emitted when island ports have changed

    Parameters

    Returns any

  • Called after the world is generating

    Parameters

    • generateNewWorld: boolean

      True if a new world is being generated

    Returns void

  • Called when right before the world is loaded

    Parameters

    Returns any

  • Called before loading world differences Loading differences involving setting up corpses, creatures, doodads, and related things onto the world

    Parameters

    • generateNewWorld: boolean

      True if a new world is being generated

    Returns void

  • Emitted when an island is renamed

    Parameters

    • human: default<number>
    • Optional newName: string
    • Optional oldName: string

    Returns any

  • Called when a tile type changes.

    Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Called when a tile is updated (tile type changed, doodad created on it, etc)

    Parameters

    Returns void

  • Called when the island is unloaded

    Returns void

Generated using TypeDoc