Addon ID

  • skymen_save_manager

Info

Statistics

  • Download count9 total downloads
  • Latest download count 9 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

File system

  • Actions

    Reveal save location

    Open the folder containing the save in the operating system's file manager. Only works on backends that store real files

  • Conditions

    Is using {0} backend

    Check which backend was actually resolved, which is useful when Method is Auto

  • Expressions

    Backend

    The backend actually in use: localstorage, nodejs, webview, pipelab or custom. Empty until the first operation resolves one

    SaveName

    The resolved save file name, which is this object type's name plus the extension. Also the local storage key

    SavePath

    The path the save is written to for file based backends. Empty for local storage and custom backends

    SaveRelativePath

    The save's path from the selected folder down, e.g. MyGame/PlayerSave.sav. Pass this to the File System plugin along with a picker tag

Save Manager

  • Actions

    Check if save data exists

    Ask the backend whether a save exists, then read the result with the Has save data condition

    Delete save data

    Remove the stored save from the selected backend. The JSON object is left as is

    Load save data

    Load the default data, then merge the stored save on top of it, into the JSON object

    Start a new save

    Load only the default data into the JSON object. Nothing is written until you use Save

    Save data

    Write the JSON object's current contents to the selected backend

  • Conditions

    Has save data

    True if the last load or check found an existing save. Conditions cannot do IO, so use Check if save exists first to refresh this

    Is loaded

    True once data has been loaded into the JSON object at least once

    On deleted

    Triggered after the stored save has been deleted

    On loaded

    Triggered after save data has been loaded and merged into the JSON object

    On new save

    Triggered after a new save has been started from the default data

    On save checked

    Triggered after Check if save exists finishes

    On saved

    Triggered after save data has been written successfully

Errors

  • Conditions

    On any error

    Triggered when any load, save, delete or check fails. Read LastError for the message and LastErrorOperation for which operation it was

    On check error

    Triggered when Check if save exists fails

    On delete error

    Triggered when deleting the save fails

    On load error

    Triggered when a load fails. The default data is still applied so the game is playable, and the previous save has been backed up where the backend allows it

    On new save error

    Triggered when starting a new save fails, which means the default data could not be read

    On reveal error

    Triggered when revealing the save location fails, which usually means the backend has no folder to open

    On save error

    Triggered when a save fails. Nothing was written, so the stored save is unchanged

  • Expressions

    LastError

    The message from the most recent failure, or an empty string if the last operation succeeded

    LastErrorOperation

    Which operation the last error came from: "load", "save", "delete" or "check". Empty if the last operation succeeded