Script API - v1.26.20.22
    Preparing search index...

    Contains apis that are only available when in Bedrock Dedicated Server.

    Index

    Constructors

    Properties

    allowList: AllowList

    Returns an object that manages the server's allow list.

    This property can't be read in early-execution mode.

    levelStorage: LevelStorage

    Returns an object that manages the level's storage.

    This property can't be read in early-execution mode.

    Methods

    • Returns void

      Reloads the script configuration for the server from disk.

      This function can throw errors.

      minecraftcommon.EngineError

      This function can't be called in early-execution mode.

    • Returns void

      Shuts down the dedicated server.

      This function can't be called in early-execution mode.