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

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

    export class DedicatedServerUtils {
    private constructor();
    readonly allowList: AllowList;
    readonly levelStorage: LevelStorage;
    stopServer(): void;
    }
    Index

    Constructors

    Properties

    Methods

    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

      Shuts down the dedicated server.

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