Accessible code

Config = {
    locales = 'en',
    versionChecking = true,

    useInventory = false, -- if you want to use inventory for shops
    inventoryType = '', -- ox, qs, qb, core, lj, ps

    useTarget = false,
    targetType = '', -- ox, qb
    targetDistance = 2.5,
    targetImages = {
        ped = 'fa-solid fa-cart-shopping',
        safe = 'fa-solid fa-lock',
        menu = 'fa-solid fa-briefcase',
    },


    RobberyMiniGame = { -- you can add your custom minigame in utils/client/main.lua
        UseCircle = true,
        UsePureMinigame = false, -- https://github.com/purescripts-fivem/pure-minigames
        UseMhacking = false, -- https://github.com/qbcore-framework/mhacking
        UseLockpick = false, -- https://github.com/baguscodestudio/lockpick
    },

    imgPatch = '',
    -- ox inv 'nui://ox_inventory/web/images/%s.png'
    -- qb inv 'nui://qb-inventory/html/images/%s.png'
    -- qs inv 'nui://qs-inventory/html/images/%s.png'
    -- core inv 'nui://core_inventory/html/img/%s.png'
    
    logs = { -- logging with discord
        enable = false,
        botName = 'UNIQ TEAM',
        webhook = '',
        steamName = true,
        colors = {
            ['info'] = 1209030,
            ['success'] = 5024796,
            ['error'] = 12980754,
        }
    },

    menuAlign = 'top-right', -- https://overextended.dev/ox_lib/Modules/Interface/Client/menu
    textUIAlign = 'right-center', -- https://overextended.dev/ox_lib/Modules/Interface/Client/textui

    maxShopPerPlayer = 1, -- max stores per player

    drawMarkerDistance = 10.0,
    interactionDistance = 2.0,

    nameChangePrice = 5000,

    whitelistedJobs = { 
        'police'
    },

    robAmount = { -- reward
        min = 1000,
        max = 5000
    },
    robProgressTime = 5000,
    robAnim = {
        dict = 'anim@amb@clubhouse@tutorial@bkr_tut_ig3@',
        anim = 'machinic_loop_mechandplayer'
    },

    currencyType = { -- only works with menu
        ['cash'] = 'Cash',
        ['bank'] = 'Bank'
    },

    controls = { -- https://docs.fivem.net/docs/game-references/controls/
        rotateRight = 307,
        rotateLeft = 308,
        finish = 201,
        cancel = 194,
        interact = 38,
    },

    commands = {
        {
            name = 'shops',
            permission = 'group.admin',
            help = 'Shops Menu (create shop, shop list, delete shop, refresh data ...)'
        },
        {
            name = 'deleteshop',
            permission = 'group.admin',
            help = 'Delete shop'
        }
    }d

Last updated