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

# Config

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

```
Config = {}

Config.Framework = 'auto' -- 'auto', 'qbcore' or 'esx'
Config.Locale = 'es' -- 'en', 'es', 'fr', 'de'

Config.ThemeColor = '#6BD425' -- Main UI accent color (change this to re-theme the whole UI)
Config.BackgroundColor = '#0A0A0A' -- Base background color (dark shades are derived from this)

Config.Icons = { --Icons for jobs in the menu. Use job name(Case sensitive). Can use FontAwsome or Bootstrap Icons
    ['police'] = 'bi bi-shield-shaded',
    ['ambulance'] = 'fas fa-ambulance',
    ['tow'] = 'bi bi-truck-flatbed',
    ['taxi'] = 'fas fa-taxi',
    ['lawyer'] = 'bi bi-briefcase',
    ['judge'] = 'fas fa-gavel',
    ['realestate'] = 'bi bi-house',
    ['cardealer'] = 'fas fa-car',
    ['mechanic'] = 'bi bi-tools',
    ['reporter'] = 'bi bi-newspaper',
    ['trucker'] = 'fas fa-truck-moving',
    ['garbage'] = 'fas fa-recycle',
}

Config.DefaultIcon = "fas fa-briefcase" --The default icon shown if the job isn't defined above

Config.BlackListedJobs = { --jobs that won't automatically be added to the multijob menu
    'unemployed',
    'examplejob2'
}

Config.Keybind = "F4" --Keybind used to open the menu

-- Jobs that must use their own duty system at the station (QBCore only)
Config.StationDutyJobs = { 'police', 'ambulance' }

-- ESX duty: toggling swaps between job and 'off'..job (esx_duty style)
-- Requires the off-jobs (offpolice, offambulance etc.) to exist in your jobs table
Config.ESXDuty = true -- set false to hide the duty row on ESX

-- Internal: framework auto-detection (do not edit)
function GetFramework()
    if Config.Framework ~= 'auto' then return Config.Framework end
    if GetResourceState('qb-core') == 'started' then return 'qbcore' end
    if GetResourceState('es_extended') == 'started' then return 'esx' end
    return 'qbcore'
end

```

{% endcode %}
