> 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/chess-v2/configuration.md).

# Configuration

***

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

```lua
Config = {}

Config.Language = 'en' -- en, de, fr, es, pt, it, nl, pl, sv, ar, jp, zh, he, fi, no
Config.TargetSystem = 'auto' -- 'auto', 'ox-target', 'qb-target', or false to disable
Config.Item = 'stg_chess'

-- Prop models from the BzZz chess pack
Config.Models = {
    table = 'bzzz_chess_table_a',
    board = 'bzzz_chess_board_a',
    chair = 'bzzz_chess_chair_a',
}

Config.Animation = {
    Dict = 'bzzz_chess_animations',
    SitClip = 'bzzz_chess_sit_a',  -- idle "waiting" pose while seated
    MoveClip = 'bzzz_chess_sit_b', -- "making a move" gesture, played once when a move is made
}

-- Scripted camera that looks at the board while seated (towerblocks style)
Config.Camera = {
    Height = 0.72, -- how far above the board the camera sits
    Back = 0.8,    -- how far toward the player's seat the camera pulls back
    Fov = 45.0,
}

Config.Functions = {
    Notify = function(type, message)
        lib.notify({ type = type, description = message })
    end,
    ShowHelpNotify = function(message)
        lib.showTextUI(message, { position = 'left-center' })
    end,
    HideHelpNotify = function()
        lib.hideTextUI()
    end,
}
```
