# config.lua

```lua
Config = {}

-- ==========================================
-- FRAMEWORK CONFIGURATION
-- ==========================================
Config.Framework = "auto" -- Options: "ESX", "QBCORE", "QBOX", "auto"

-- ==========================================
-- INVENTORY SYSTEM
-- ==========================================
Config.Inventory = "ox_inventory" -- Options: "ox_inventory", "qb-inventory", "qs-inventory", "lj-inventory", "esx_inventoryhud"

-- ==========================================
-- NOTIFICATION SYSTEM
-- ==========================================
Config.Notification = 'ox_lib' -- Options: 'ox_lib', 'esx', 'qb', 'custom'

-- Custom notification function (if using 'custom')
Config.CustomNotify = function(message, type)
    -- Example implementations:
    -- TriggerEvent('mythic_notify:client:SendAlert', { type = type, text = message })
    -- exports['okokNotify']:Alert("Bodycount", message, 5000, type)
    -- exports['t-notify']:Custom({style = type, message = message})
end

-- ==========================================
-- PROGRESSBAR SYSTEM
-- ==========================================
Config.Progressbar = 'ox_lib' -- Options: 'ox_lib', 'esx', 'qb', 'custom'

-- Custom progressbar function (if using 'custom')
Config.CustomProgressbar = function(duration, label, onFinish, onCancel)
    -- Example implementation:
    -- exports['progressbar']:Progress({
    --     name = "scratching_serial",
    --     duration = duration,
    --     label = label,
    --     useWhileDead = false,
    --     canCancel = true,
    --     controlDisables = {
    --         disableMovement = true,
    --         disableCarMovement = true,
    --         disableMouse = false,
    --         disableCombat = true,
    --     },
    -- }, function(cancelled)
    --     if not cancelled then
    --         onFinish()
    --     else
    --         onCancel()
    --     end
    -- end)
end

-- ==========================================
-- BODYCOUNT SETTINGS
-- ==========================================
Config.TrackBodycount = true -- Enable/disable bodycount tracking
Config.ShowOnHover = true -- Show bodycount when hovering over weapon in inventory
Config.MaxBodycountDisplay = 999 -- Maximum bodycount to display (999+)

-- ==========================================
-- SERIAL NUMBER SETTINGS
-- ==========================================
Config.EnableSerialScratching = true -- Allow players to scratch serial numbers
Config.DremelRequired = true -- Require dremel tool to scratch serial
Config.DremelItemName = 'dremel' -- Item name for the dremel tool
Config.ScratchTime = 10000 -- Time in ms to scratch serial (10 seconds)
Config.RemoveDremelOnUse = true -- Remove dremel after use

-- ==========================================
-- ANIMATION SETTINGS
-- ==========================================
Config.ScratchAnimation = {
    dict = 'amb@world_human_welding@male@base',
    anim = 'base',
    prop = {
        model = `prop_weld_torch`,
        bone = 28422,
        pos = vector3(0.0, 0.0, 0.0),
        rot = vector3(0.0, 0.0, 0.0)
    }
}

-- ==========================================
-- LOGGING SETTINGS
-- ==========================================
Config.EnableLogging = true -- Log bodycount events
Config.LogWebhook = '' -- Discord webhook for logging (optional)

-- ==========================================
-- NOTIFICATIONS
-- ==========================================
Config.Notifications = {
    -- Serial scratching notifications
    serial_scratched = 'Serial number successfully scratched off',
    no_dremel = 'You need a dremel tool to scratch the serial number',
    no_serial = 'This weapon has no serial number to scratch',
    already_scratched = 'This weapon\'s serial number is already scratched',
    no_weapon = 'You need to hold a weapon',
    cancelled = 'Action cancelled',
    
    -- Kill notification settings
    show_kill_notification = false, -- Set to false to disable kill notifications
    kill_recorded = 'Kill recorded! Total: %s' -- %s will be replaced with bodycount number
}

-- ==========================================
-- COMMANDS
-- ==========================================
Config.Commands = {
    bodycount = 'bodycount', -- Command to check weapon bodycount
    scratchserial = 'scratchserial' -- Command to scratch serial number
}

-- ==========================================
-- DEBUG
-- ==========================================
Config.Debug = false -- Enable debug prints
```
