# DataPersistence\_SO

*Defines General Settings for the Save & Load. These settings can be configured in the Save & Load Tab of the Cowsins Manager.*

### *-> How to modify Data Persistence Configuration?*

**DataPersistence\_SO** can be configured in the [**Save & Load section**](/save-and-load-add-on/how-to-use-and-guides/working-with-save-and-load-in-cowsins-manager.md) of the **CowsinsManager**. To access the CowsinsManager, go to Cowsins/CowsinsManager or use the shortcut *`Ctrl+Q`*. Then, click on "Save & Load". Data Persistence Settings can be found in the ***"Settings"*** tab.

<figure><img src="/files/Il89PTTFwtPArptBOVT4" alt=""><figcaption></figcaption></figure>

***

### VARIABLES

* <mark style="color:purple;">firstLevelScene:</mark> When starting a new game, this is the first level to play.

### FILE STORAGE CONFIG

* <mark style="color:purple;">fileName:</mark> Assign a name to the file that contains Save Slot Data.

### GLOBAL DATA

* <mark style="color:purple;">savePlayerStats:</mark> If enabled, Player Health & Shield will be saved
* <mark style="color:purple;">saveExperience:</mark> If enabled, Player Level & Experience will be saved
* <mark style="color:purple;">saveCoins:</mark> If enabled, Player currency will be saved
* <mark style="color:purple;">saveHotbar:</mark> If enabled, Weapons in the Hotbar will be saved.
* <mark style="color:purple;">saveInventory:</mark> If enabled ***& The Inventory Pro Add-On is installed***, the entire inventory will be saved.

### SCENE-SPECIFIC DATA

* <mark style="color:purple;">savePlayerTransforms:</mark> If enabled, Player position and orientation will be saved.
* <mark style="color:purple;">saveObjects:</mark>If enabled, Custom Save Data will be saved.

### AUTO SAVING CONFIGURATION

* <mark style="color:purple;">autoSave:</mark> Enables or disables automatic game saving at regular intervals.
  * <mark style="color:purple;">autoSaveTimeSeconds:</mark> Time interval between automatic game saves.

### TOAST SETTINGS

* <mark style="color:purple;">showToastOnGameSaved:</mark> Enables or disables Toast Messages when the game is saved.
  * <mark style="color:purple;">toastMessage:</mark> Toast Message to display on the game being saved.

### NON-SAVEABLE SCENES

* <mark style="color:purple;">nonSaveableScenes:</mark> Stores a collection of scenes in which Save & Load won´t be applied.

### SCENES EXCLUDED FROM SCENE-SPECIFIC SAVE DATA

* <mark style="color:purple;">excludedScenesfromSpecificSaveData:</mark> Stores a collection of scenes in which only [Global Data](#global-data) will be saved.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cowsinss-organization.gitbook.io/save-and-load-add-on/content/03.-content/03.1-datapersistence/datapersistence_so.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
