> For the complete documentation index, see [llms.txt](https://dexlab-scripts.gitbook.io/dexlab-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexlab-scripts.gitbook.io/dexlab-scripts-docs/redm-free-releases/dex-treasure-hunting/configuration.md).

# Configuration

<figure><img src="https://3628839866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzeH5m2NcpM6wdeyLkzje%2Fuploads%2FBkIzfa88vKA3lgqlMIIR%2Fimage_2026-01-12_202541720.png?alt=media&amp;token=450569fd-6e84-44ce-b3f1-d80e988b3865" alt=""><figcaption></figcaption></figure>

***

{% hint style="danger" %}
Do not make changes to the config if you don't know what you are doing. The script works properly without any configuration. \
Just needs to be setup logs and steam indentifiers.
{% endhint %}

## Config Preview: v1.0

```lua
Config = {}

Config.Locale = "pt"

Config.DiscordLogs = {
    enabled = true,
    webhook = ""
}


-- Chest open animation (player)
Config.ChestOpenAnimDict = "mech_pickup@loot@money_box@counter"
Config.ChestOpenAnimName = "lockbreak"     -- if this clip doesn’t play on your build, change to: "base" or "loop"
Config.ChestOpenAnimDuration = 2500    -- ms
Config.ChestOpenCooldown = 3000        -- ms (prevents spam)

-- Required item unlock progress (only when the chest is locked)
Config.RequiredItemUnlockTime = 10000 -- ms (progress bar time before the chest unlocks)

Config.ChestModel = "s_lootablebedchest"     -- default chest prop
Config.ChestInteractDistance = 2.0 -- Distance to unlock interaction


-- Admin command
Config.AdminCommand = "treasure"

-- Steam whitelist (ONLY these can use the command)
Config.AllowedSteamIdentifiers = {
    "",
}

-- Treasure search radius settings
Config.TreasureRadius = 120.0

-- Radius blip style hash: | Don't mess around, better not
Config.TreasureRadiusBlipStyle = joaat("BLIP_STYLE_AREA")

```
