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

    Controls how the server saves to disk. Only available on dedicated server.

    export class LevelStorage {
    private constructor();
    saveHold(): void;
    saveQuery(): LevelStorageQuerySnapshotFile[];
    saveResume(): void;
    }
    Index

    Constructors

    Methods

    • Returns void

      Disables the server writing to the world files and begins creating a snapshot.

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

      This function can throw errors.

      LevelStorageSaveStateChangeError

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

    • Returns void

      Re-enables server writing world state to files and removes snapshot.

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

      This function can throw errors.

      LevelStorageSaveStateChangeError

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