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

# Configuration

Config File

{% code title="Config.lua" overflow="wrap" lineNumbers="true" %}

```lua
--[[

██████╗ ██████╗  ██████╗      ██╗███████╗ ██████╗████████╗      ██████╗ ███████╗
██╔══██╗██╔══██╗██╔═══██╗     ██║██╔════╝██╔════╝╚══██╔══╝     ██╔═████╗╚════██║
██████╔╝██████╔╝██║   ██║     ██║█████╗  ██║        ██║        ██║██╔██║    ██╔╝
██╔═══╝ ██╔══██╗██║   ██║██   ██║██╔══╝  ██║        ██║        ████╔╝██║   ██╔╝ 
██║     ██║  ██║╚██████╔╝╚█████╔╝███████╗╚██████╗   ██║███████╗╚██████╔╝   ██║  
╚═╝     ╚═╝  ╚═╝ ╚═════╝  ╚════╝ ╚══════╝ ╚═════╝   ╚═╝╚══════╝ ╚═════╝    ╚═╝  
                                -- Advanced Death Bag System Configuration File
                                -- Created by Pehesara                                                                                                                                                                                                          
]]
Project07 = {}

-- Framework Selection
Project07.Framework = 'qb' -- 'qb', 'esx', or 'standalone'

-- Inventory System
Project07.Inventory = 'ox' -- 'qb', 'ox', 'esx'

-- Target System
Project07.Target = 'ox' -- 'ox' or 'qb'

-- Restricted Items (won't be added to death bags)
Project07.RestrictedItems = {
    'id_card',
    'driver_license',
    'weaponlicense',
    'lawyerpass',
    'phone'
}

-- NEW: If true, only the owner can loot the bag. If false, anyone can loot.
Project07.OwnerOnlyLoot = true

-- NEW: If true, only the owner can see the blip. If false, all players can see the blip.
Project07.OwnerOnlyBlip = true

-- Bag Settings
Project07.BagModel = 'prop_cs_heist_bag_02'
Project07.BagDeleteTime = 600000 -- 10 minutes in milliseconds (10 min = 600000 milliseconds)
Project07.MaxBagDistance = 2.0 -- Distance to interact with bag

-- Blip Settings
Project07.UseBlips = true
Project07.BlipSprite = 478
Project07.BlipColor = 1
Project07.BlipScale = 0.8
Project07.BlipLabel = 'Death Bag'
Project07.BlipTime = 600000 -- 10 minutes before blip disappears (10 min = 600000 milliseconds)


-- Admin Panel
Project07.AdminCommand = 'opendeathbags'
Project07.AdminGroups = {'admin', 'god'} -- For QBCore/ESX

-- Webhook Settings
Project07.UseWebhook = true
Project07.WebhookURL = 'https://discord.com/api/webhooks/1436029820793524348/ZGmUUr3cv1YyqJBEPl0fGT3Y9gIG0fJmsTLVFHrJbfKQRdBZ08Kia2WIH6n0hYDA4twn'
Project07.LogItemDetails = true -- Include item list in webhook

-- Database table will be created automatically
Project07.DatabaseTable = 'Project07_DeathBags'
```

{% endcode %}
