@minecraft/server-admin
    Preparing search index...

    Class LevelStorageBeta

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

    Index

    Methods

    • Beta

      Returns void

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

      This function can throw errors.

      LevelStorageSaveStateChangeError

    • Beta

      Returns void

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

      This function can throw errors.

      LevelStorageSaveStateChangeError