> For the complete documentation index, see [llms.txt](https://stg-store.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stg-store.gitbook.io/documentation/scripts/tower-blocks/configuration.md).

# Configuration

***

<mark style="color:$success;">Config.lua</mark>

```lua
Config = {}

Config.Locale = 'en' -- en, de, fr, es, pt, it, nl, pl, sv, ar, jp, zh, he, fi, no
Config.MaxPlayers = 4 -- max players per table
Config.Target = 'auto' -- 'auto' (detect), 'ox_target' or 'qb-target'

Config.Layers = 18      -- starting tower height in layers

Config.Play = {
    HoverRadius = 0.045,  -- block hit precision (screen ratio)
    PullSpeed = 12.0,     -- pull response speed
    OutDist = 0.55,       -- distance for a block to count as out
    MaxPullSpeed = 4.0,   -- max speed a block can reach
    PlayDist = 4.5,       -- interface closes past this distance
    PlaceRadius = 1.25,   -- horizontal range to place on top
    PlaceBelow = 1.2,     -- placement band (lower tolerance)
    PlaceAbove = 3.0,     -- placement band (upper tolerance)
    LiftTrigger = 1.2,    -- layers lifted before a block counts as pulled
}

Config.Physics = {
    Grace = 500,          -- wait after physics wake before checking (ms)
    SettleMs = 1400,      -- wait for wobbling blocks to settle (ms)
    CalmVel = 0.06,       -- below this speed a block counts as still
    ContactLimit = 0.5,   -- friction/contact threshold
    ContactGain = 1.8,    -- contact build-up rate
    ContactDecay = 0.6,   -- contact decay rate
    HitHard = 2.5,        -- hitting the tower at this speed topples it
    ToppleTilt = 20.0,    -- tilt angle that counts as toppled
    ToppleMove = 0.22,    -- slide distance that counts as toppled
    CollapseCount = 2,    -- toppled blocks needed for a collapse
}

Config.Functions = {
    CustomNotify = false,
    Notify = function(notifyType, message)
        lib.notify({
            type = notifyType,
            description = message
        })
    end,
}
```
