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

# Configuration

Detailed explanation of the config file to adapt the resource to your player needs.

## The config.lua

```lua
Config = {}
Config.Framework = "qb" -- "esx"
Config.FrameworkPseudo = "qb-core" -- The name of the resource that contains the core object
Config.Inventory = "qb" -- Options: qb, tgiann, ox
Config.Target = "qb" -- Options: qb, ox, interact

Config.Items = {
    printer     = {
        item = "printer",
        prop = "v_res_printer",
        copy = false, -- can be copied or not
        photo = false, -- we can put photo in
        document = false, -- we can put document in
    },
    document    = {
        item = "document",
        prop = nil,
        copy = true, -- can be copied or not
        photo = false, -- we can put photo in
        document = false, -- we can put document in
    },
    camera    = {
        item = "camera",
        prop = nil,
        copy = false, -- can be copied or not
        photo = false, -- we can put photo in
        document = false, -- we can put document in
    },
    photo    = {
        item = "photo",
        prop = nil,
        copy = true, -- can be copied or not
        photo = false, -- we can put photo in
        document = false, -- we can put document in
    },
    photo_album = {
        item = "photo_album",
        prop = nil,
        copy = false, -- can be copied or not
        photo = true, -- we can put photo in
        document = false, -- we can put document in
    },
    document_folder = {
        item = "document_folder",
        prop = nil,
        copy = false, -- can be copied or not
        photo = true, -- we can put photo in
        document = true, -- we can put document in
    },
    envelope = {
        item = "envelope",
        prop = nil,
        copy = false, -- can be copied or not
        photo = true, -- we can put photo in
        document = true, -- we can put document in
    },
}

Config.Webhook = {
    printer = "https://discord.com/api/webhooks/PRINTER_WEBHOOK_HERE",
    camera = "https://discord.com/api/webhooks/CAMERA_WEBHOOK_HERE",
}
```
