> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/always-spawn-treasures/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/always-spawn-treasures/getting-started/configuration.md).

# Configuration

### Configuration

All configurable options are loaded from the `{game}/x64/scripts/config/AlwaysSpawnTreasuresConfig.lua` file when opening the game.

This configuration file can be modified via any text editor. The following configuration is the default:

<details>

<summary>Default Configuration</summary>

```lua
local uniqueState = false

return uniqueState
```

</details>

Below is a list of all configurable options and what they are used for:

#### Unique State

If set to `true`, only spawn unique treasures if they haven't been opened before.
