> For the complete documentation index, see [llms.txt](https://mstudio-1.gitbook.io/mstudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mstudio-1.gitbook.io/mstudio/kz-resources/editor/config.md).

# Config

{% code title="config.lua" %}

```lua
Config = {}

Config.Settings = {
    Framework = 'esx',                  -- 'esx' | 'qb' | 'qbx'
    Locale = 'en',                      -- 'it' | 'en' | 'es' | 'fr'
    Webhook = 'https://discord.com/api/webhooks/YOUR_WEBHOOK',
    Notify = 'ox',                      -- 'esx' | 'qb' | 'ox'
    Target = 'ox',                      -- 'ox' | 'qb'
    TextUI = 'ox',                      -- 'ox' | 'gta'
    Commands = {
        enable = true,                  -- enable or disable commands
        idcard = 'create_idcard',
        weapon = 'create_weapon_card',
        license = 'create_drive_license'
    },
    DocumentTypes = {
        ["idcard"] = {
            type = "idcard", 
            label = "Identity Card",
            header = "CITY OF LOS SANTOS",
            expiration = "1Y",--[[
                D, -- day
                M, --month
                Y, --year
                H, --hours
                m, --minutes
                s --seconds
            ]]
            theme = {
                accentColor = "#2a8c6c",
                backgroundColor = "#0b0f0d",
                borderColor = "#18221d",
                labelColor = "#6a8074",
                valueColor = "#ffffff",
                logoImage = "https://i.ibb.co/CpXpsrVH/mstudio-logogreen.png", 
                sealImage = "https://i.ibb.co/Zz0dSM7h/los-santos-seal.webp"
            }
        },
        ["drive_license"] = {
            type = "drive_license", 
            label = "Driving License",
            header = "SAN ANDREAS DRIVING LICENSE",
            expiration = "2Y",
            theme = {
                accentColor = "#2a5c8c",
                backgroundColor = "#0b0d10",
                borderColor = "#181d22",
                labelColor = "#6a7680",
                valueColor = "#ffffff",
                logoImage = "https://i.ibb.co/jvG7HNYY/mstudio-logoblue.png",
                sealImage = "https://i.ibb.co/Zz0dSM7h/los-santos-seal.webp"
            }
        },
        ["firearm_card"] = {
            type = "firearm_card", 
            label = "Firearm License",
            header = "LOS SANTOS WEAPON LICENSE",
            expiration = "6M",
            theme = {
                accentColor = "#8c2a2a",
                backgroundColor = "#100b0b",
                borderColor = "#221818",
                labelColor = "#806a6a",
                valueColor = "#ffffff",
                logoImage = "https://i.ibb.co/xqsc6jCg/mstudio-logored.png",
                sealImage = "https://i.ibb.co/Zz0dSM7h/los-santos-seal.webp"
            }
        }
    },
    CreateDocuments = {
        enable = true,
        model = 'a_m_m_business_01',
        coords = vector4(-262.347, -975.264, 31.219, 247.1),
        account = 'money',              -- Name item
        price = 5000,
        type = 'idcard',
        scenario = 'WORLD_HUMAN_CLIPBOARD'
    },
    FakeDocuments = {
        enable = true,
        model = 'a_m_m_soucent_01',
        coords = vector4(2122.304, 4784.766, 40.970, 291.35),
        account = 'black_money',        -- Name item
        price = 15000,
        type = 'idcard',
        scenario = 'WORLD_HUMAN_SMOKING'
    }
}
```

{% endcode %}
