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

# Configuration

<details>

<summary>View Full Config</summary>

```lua
--[[
    ███╗   ██╗ █████╗ ██╗   ██╗███████╗███████╗███████╗███████╗
    ████╗  ██║██╔══██╗╚██╗ ██╔╝╚══███╔╝██╔════╝██╔════╝██╔════╝
    ██╔██╗ ██║███████║ ╚████╔╝   ███╔╝ █████╗  █████╗  █████╗  
    ██║╚██╗██║██╔══██║  ╚██╔╝   ███╔╝  ██╔══╝  ██╔══╝  ██╔══╝  
    ██║ ╚████║██║  ██║   ██║   ███████╗███████╗███████╗███████╗
    ╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚══════╝╚══════╝╚══════╝╚══════╝
                                                                
    ██████╗ ███████╗██╗   ██╗███████╗██╗      ██████╗ ██████╗ ███╗   ███╗███████╗███╗   ██╗████████╗
    ██╔══██╗██╔════╝██║   ██║██╔════╝██║     ██╔═══██╗██╔══██╗████╗ ████║██╔════╝████╗  ██║╚══██╔══╝
    ██║  ██║█████╗  ██║   ██║█████╗  ██║     ██║   ██║██████╔╝██╔████╔██║█████╗  ██╔██╗ ██║   ██║   
    ██║  ██║██╔══╝  ╚██╗ ██╔╝██╔══╝  ██║     ██║   ██║██╔═══╝ ██║╚██╔╝██║██╔══╝  ██║╚██╗██║   ██║   
    ██████╔╝███████╗ ╚████╔╝ ███████╗███████╗╚██████╔╝██║     ██║ ╚═╝ ██║███████╗██║ ╚████║   ██║   
    ╚═════╝ ╚══════╝  ╚═══╝  ╚══════╝╚══════╝ ╚═════╝ ╚═╝     ╚═╝     ╚═╝╚══════╝╚═╝  ╚═══╝   ╚═╝   
                                                                                                      
    NAYZEEE INVENTORY MANAGER - 1.0.0
    Discord: discord.gg/nayzeeedev
]]


Config = {}

--[[ 
    ███████╗██████╗  █████╗ ███╗   ███╗███████╗██╗    ██╗ ██████╗ ██████╗ ██╗  ██╗
    ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝██║    ██║██╔═══██╗██╔══██╗██║ ██╔╝
    █████╗  ██████╔╝███████║██╔████╔██║█████╗  ██║ █╗ ██║██║   ██║██████╔╝█████╔╝ 
    ██╔══╝  ██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝  ██║███╗██║██║   ██║██╔══██╗██╔═██╗ 
    ██║     ██║  ██║██║  ██║██║ ╚═╝ ██║███████╗╚███╔███╔╝╚██████╔╝██║  ██║██║  ██╗
    ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝ ╚══╝╚══╝  ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
]]

Config.Framework = 'auto'
--[[
    Options:
    - 'qbcore'  → QBCore / QBox Framework
    - 'esx'     → ESX Legacy (latest)
    - 'oldesx'  → ESX 1.0 Final or older
]]

--[[ 
     █████╗ ██████╗ ███╗   ███╗██╗███╗   ██╗
    ██╔══██╗██╔══██╗████╗ ████║██║████╗  ██║
    ███████║██║  ██║██╔████╔██║██║██╔██╗ ██║
    ██╔══██║██║  ██║██║╚██╔╝██║██║██║╚██╗██║
    ██║  ██║██████╔╝██║ ╚═╝ ██║██║██║ ╚████║
    ╚═╝  ╚═╝╚═════╝ ╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝
]]

Config.AdminGroups = { 'admin', 'superadmin', 'god', 'owner' }

--[[ 
    ███████╗███████╗████████╗████████╗██╗███╗   ██╗ ██████╗ ███████╗
    ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗  ██║██╔════╝ ██╔════╝
    ███████╗█████╗     ██║      ██║   ██║██╔██╗ ██║██║  ███╗███████╗
    ╚════██║██╔══╝     ██║      ██║   ██║██║╚██╗██║██║   ██║╚════██║
    ███████║███████╗   ██║      ██║   ██║██║ ╚████║╚██████╔╝███████║
    ╚══════╝╚══════╝   ╚═╝      ╚═╝   ╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚══════╝
]]

Config.Command = 'inventorymanager'
Config.CommandDescription = 'Open the Inventory Manager panel'

-- How many days to keep logs in the database (0 = keep forever)
Config.LogRetentionDays = 0

-- Maximum logs loaded per page in the NUI panel
Config.LogsPerPage = 50

-- Allow admins to remotely open inventories (trunks, gloveboxes, stashes, backpacks)
-- from the logs panel without needing to be near the vehicle/item
Config.AllowRemoteOpen = true

--[[ 
    ██╗    ██╗███████╗██████╗ ██╗  ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗
    ██║    ██║██╔════╝██╔══██╗██║  ██║██╔═══██╗██╔═══██╗██║ ██╔╝██╔════╝
    ██║ █╗ ██║█████╗  ██████╔╝███████║██║   ██║██║   ██║█████╔╝ ███████╗
    ██║███╗██║██╔══╝  ██╔══██╗██╔══██║██║   ██║██║   ██║██╔═██╗ ╚════██║
    ╚███╔███╔╝███████╗██████╔╝██║  ██║╚██████╔╝╚██████╔╝██║  ██╗███████║
     ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝  ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝
    
    Leave a URL empty ('') to disable that specific webhook
]]

Config.Webhooks = {
    ['drop']            = '',   -- Player drops item on ground
    ['pickup']          = '',   -- Player picks up item from ground
    ['give']            = '',   -- Player gives item to another player
    ['stash_put']       = '',   -- Player puts item into stash
    ['stash_take']      = '',   -- Player takes item from stash
    ['trunk_put']       = '',   -- Player puts item into vehicle trunk
    ['trunk_take']      = '',   -- Player takes item from vehicle trunk
    ['glovebox_put']    = '',   -- Player puts item into glovebox
    ['glovebox_take']   = '',   -- Player takes item from glovebox
    ['shop']            = '',   -- Player purchases from a shop
    ['craft']           = '',   -- Player crafts an item
    ['container_put']   = '',   -- Player puts item into a container
    ['container_take']  = '',   -- Player takes item from a container
    ['evidence_put']    = '',   -- Player puts item into police evidence
    ['evidence_take']   = '',   -- Player takes item from police evidence
    ['backpack_put']    = '',   -- Player puts item into backpack (wasabi_backpack)
    ['backpack_take']   = '',   -- Player takes item from backpack (wasabi_backpack)
    ['weapon']          = '',   -- Weapon-related transfers
}

--[[ 
    ████████╗ ██████╗  ██████╗  ██████╗ ██╗     ███████╗███████╗
    ╚══██╔══╝██╔═══██╗██╔════╝ ██╔════╝ ██║     ██╔════╝██╔════╝
       ██║   ██║   ██║██║  ███╗██║  ███╗██║     █████╗  ███████╗
       ██║   ██║   ██║██║   ██║██║   ██║██║     ██╔══╝  ╚════██║
       ██║   ╚██████╔╝╚██████╔╝╚██████╔╝███████╗███████╗███████║
       ╚═╝    ╚═════╝  ╚═════╝  ╚═════╝ ╚══════╝╚══════╝╚══════╝
    
    Set to false to completely disable a log type
]]

Config.EnabledLogs = {
    ['drop']            = true,
    ['pickup']          = true,
    ['give']            = true,
    ['stash_put']       = true,
    ['stash_take']      = true,
    ['trunk_put']       = true,
    ['trunk_take']      = true,
    ['glovebox_put']    = true,
    ['glovebox_take']   = true,
    ['shop']            = true,
    ['craft']           = true,
    ['container_put']   = true,
    ['container_take']  = true,
    ['evidence_put']    = true,
    ['evidence_take']   = true,
    ['backpack_put']    = true,
    ['backpack_take']   = true,
    ['weapon']          = true,
}

--[[ 
     ██████╗ ██████╗ ██╗      ██████╗ ██████╗ ███████╗
    ██╔════╝██╔═══██╗██║     ██╔═══██╗██╔══██╗██╔════╝
    ██║     ██║   ██║██║     ██║   ██║██████╔╝███████╗
    ██║     ██║   ██║██║     ██║   ██║██╔══██╗╚════██║
    ╚██████╗╚██████╔╝███████╗╚██████╔╝██║  ██║███████║
     ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝
]]

Config.WebhookColors = {
    ['drop']            = 0xE74C3C,  -- Red
    ['pickup']          = 0x2ECC71,  -- Green
    ['give']            = 0x3498DB,  -- Blue
    ['stash_put']       = 0xF39C12,  -- Orange
    ['stash_take']      = 0xE67E22,  -- Dark Orange
    ['trunk_put']       = 0x9B59B6,  -- Purple
    ['trunk_take']      = 0x8E44AD,  -- Dark Purple
    ['glovebox_put']    = 0x1ABC9C,  -- Teal
    ['glovebox_take']   = 0x16A085,  -- Dark Teal
    ['shop']            = 0xF1C40F,  -- Yellow
    ['craft']           = 0xE91E63,  -- Pink
    ['container_put']   = 0x607D8B,  -- Blue Grey
    ['container_take']  = 0x455A64,  -- Dark Blue Grey
    ['evidence_put']    = 0xFF5722,  -- Deep Orange
    ['evidence_take']   = 0xBF360C,  -- Dark Deep Orange
    ['backpack_put']    = 0x795548,  -- Brown
    ['backpack_take']   = 0x5D4037,  -- Dark Brown
    ['weapon']          = 0xD32F2F,  -- Dark Red
}

Config.WebhookAuthor = 'Inventory Manager'
Config.WebhookFooter = 'Inventory Manager Logging System'
Config.WebhookAvatar = '' -- URL to avatar image (optional)

```

</details>
