Config

Config = {
    -- Inventory backend selection
    -- type: 'auto' (detect), 'ox' or 'qb'
    inventory = {
        type = 'auto',
        moneyAccount = 'cash', -- for qb-core money account; ox uses money item by default
    },

    blip = {
        enabled = true,
        coords = vec3(-1082.2974, -247.6841, 37.7595), -- or use Config.marketCoords
        sprite = 605, -- Store icon
        scale = 0.9,
        colour = 26, -- Blue
        name = "Marketplace"
    },

    useMarker = true,
    textUiLabel = '[E] Mercado',
    marketCoords = vec3(-1082.2974, -247.6841, 37.7595),

    target = {
        enabled = true,
        size = vec3(1.5, 1.5, 2.0),
        icon = 'fa-solid fa-store',
        label = 'Marketplace'
    },

    tradeCoin = {
        enabled = true,           -- Set to true to require a trade coin for trades
        playerInvitedNeedsCoin = true,           -- Set to true to require a trade coin for trades
        itemName = "tradecoin",   -- The item name in your inventory system
        consumeItem = true, -- Set to true if you want to consume the trade coin when making a trade
        notify = "You need a Trade Coin to make trades!" -- Notification message
    },

    useWhitelist = false, -- if true, only items in the whitelist can be listed for sale
    whitelistedItems = { 
        ["WEAPON_PISTOL"] = true,
        ["WEAPON_PISTOL_MK2"] = true,
        ["WEAPON_SMG"] = true,
        ["WEAPON_ASSAULTRIFLE"] = true,
        ["WEAPON_CARBINERIFLE"] = true,
        ["WEAPON_SPECIALCARBINE"] = true,
        ["WEAPON_BULLPUPRIFLE"] = true,
        ["WEAPON_COMBATMG"] = true,
        ["WEAPON_SNIPERRIFLE"] = true,
        ["WEAPON_HEAVYSNIPER"] = true,
        ["WEAPON_GRENADELAUNCHER"] = true,
        ["WEAPON_MINIGUN"] = true,
        ["WEAPON_RPG"] = true,
        ["WEAPON_GRENADE"] = true,
        ["WEAPON_STICKYBOMB"] = true,
        ["WEAPON_PROXMINE"] = true,
        ["WEAPON_SMOKEGRENADE"] = true,
        ["WEAPON_MOLOTOV"] = true,
        ["WEAPON_PIPEBOMB"] = true,
        ["WEAPON_FLASHBANG"] = true,
        ["WEAPON_BZGAS"] = true,
        ["WEAPON_FIREEXTINGUISHER"] = true,
        ["WEAPON_PETROLCAN"] = true,
        ["WEAPON_SNOWBALL"] = true,
        ["WEAPON_FLAREGUN"] = true,
        ["WEAPON_MARKSMANRIFLE"] = true,
        ["WEAPON_COMBATPISTOL"] = true,
        ["WEAPON_APPISTOL"] = true,
        ["WEAPON_REVOLVER"] = true,
        ["WEAPON_DOUBLEACTION"] = true,
        ["WEAPON_SAWNOFFSHOTGUN"] = true,
        ["WEAPON_PUMPSHOTGUN"] = true,
        ["WEAPON_ASSAULTSHOTGUN"] = true,
        ["WEAPON_BULLPUPSHOTGUN"] = true,
        ["WEAPON_HEAVYSHOTGUN"] = true,
        ["WEAPON_ASSAULTSMG"] = true,
        ["WEAPON_COMBATPDW"] = true,
        ["WEAPON_GUSENBERG"] = true,
        ["WEAPON_MACHINEPISTOL"] = true,
        ["WEAPON_MINISMG"] = true,
        ["WEAPON_SNSPISTOL"] = true,
        ["WEAPON_VINTAGEPISTOL"] = true,
        ["WEAPON_HEAVYPISTOL"] = true,
        ["WEAPON_MARKSMANPISTOL"] = true,
        ["WEAPON_KNUCKLE"] = true,
        ["WEAPON_BAT"] = true,
        ["WEAPON_CROWBAR"] = true,
        ["WEAPON_GOLFCLUB"] = true,
        ["WEAPON_HAMMER"] = true,
        ["WEAPON_HATCHET"] = true,
        ["WEAPON_POOLCUE"] = true,
        ["WEAPON_WRENCH"] = true,
        ["WEAPON_BOTTLE"] = true,
        ["WEAPON_DAGGER"] = true,
        ["WEAPON_FLASHLIGHT"] = true,
        ["WEAPON_NIGHTSTICK"] = true,
        ["WEAPON_STUNGUN"] = true,
        ["WEAPON_BALL"] = true,
        ["WEAPON_FIREWORK"] = true,
        ["WEAPON_RAILGUN"] = true,
        ["WEAPON_HOMINGLAUNCHER"] = true,
        ["WEAPON_COMPACTLAUNCHER"] = true,
        ["WEAPON_COMPACTRIFLE"] = true
    },

    -- Optional: maximum allowed sell price per item (by name)
    -- Example:
    -- maxItemPrices = {
    --     diamond = 50000,
    --     WEAPON_PISTOL = 10000,
    -- }
    maxItemPrices = {
        ["diamond"] = 50000,
        ["WEAPON_PISTOL"] = 10000
        -- Add entries like ["gold"] = 50000
    },

    -- Car blacklist configuration
    useCarBlacklist = false, -- if true, cars in the blacklist cannot be listed for sale
    blacklistedCarModels = {
        -- Emergency vehicles
        ["police"] = true,
        ["police2"] = true,
        ["police3"] = true,
        ["police4"] = true,
        ["policeb"] = true,
        ["policeold1"] = true,
        ["policeold2"] = true,
        ["policet"] = true,
        ["sheriff"] = true,
        ["sheriff2"] = true,
        ["fbi"] = true,
        ["fbi2"] = true,
        ["ambulance"] = true,
        ["firetruk"] = true,
        
        -- Military vehicles
        ["rhino"] = true,
        ["crusader"] = true,
        ["barracks"] = true,
        ["barracks2"] = true,
        ["barracks3"] = true,
        ["apc"] = true,
        ["insurgent"] = true,
        ["insurgent2"] = true,
        ["insurgent3"] = true,
        ["technical"] = true,
        ["technical2"] = true,
        ["technical3"] = true,
        ["halftrack"] = true,
        ["oppressor"] = true,
        ["oppressor2"] = true,
        ["khanjali"] = true,
        ["chernobog"] = true,
        ["akula"] = true,
        ["hunter"] = true,
        ["savage"] = true,
        ["valkyrie"] = true,
        ["valkyrie2"] = true,
        
        -- Aircraft
        ["hydra"] = true,
        ["lazer"] = true,
        ["buzzard"] = true,
        ["buzzard2"] = true,
        ["annihilator"] = true,
        ["cargobob"] = true,
        ["cargobob2"] = true,
        ["cargobob3"] = true,
        ["cargobob4"] = true,
        ["maverick"] = true,
        ["polmav"] = true,
        ["frogger"] = true,
        ["frogger2"] = true,
        ["supervolito"] = true,
        ["supervolito2"] = true,
        ["volatus"] = true,
        ["swift"] = true,
        ["swift2"] = true,
        
        -- Boats (if you don't want boats on car marketplace)
        ["dinghy"] = true,
        ["dinghy2"] = true,
        ["dinghy3"] = true,
        ["dinghy4"] = true,
        ["jetmax"] = true,
        ["marquis"] = true,
        ["seashark"] = true,
        ["seashark2"] = true,
        ["seashark3"] = true,
        ["speeder"] = true,
        ["speeder2"] = true,
        ["squalo"] = true,
        ["submersible"] = true,
        ["submersible2"] = true,
        ["suntrap"] = true,
        ["toro"] = true,
        ["toro2"] = true,
        ["tropic"] = true,
        ["tropic2"] = true,
        
        -- Special/Admin vehicles (add any custom admin vehicles here)
        -- ["customadmincar"] = true,
        
        -- VIP/Custom Vehicles
        ["6x6"] = true,
        ["eve"] = true,
        ["h2m"] = true,
        ["mi8"] = true,
        ["M4CC"] = true,
        ["c8p1"] = true,
        ["evox"] = true,
        ["g63c"] = true,
        ["r34h"] = true,
        ["sex6"] = true,
        ["sian"] = true,
        ["x6wz"] = true,
        ["488sp"] = true,
        ["TTSTO"] = true,
        ["a90sh"] = true,
        ["ben17"] = true,
        ["gtr50"] = true,
        ["gxone"] = true,
        ["jes21"] = true,
        ["nsx17"] = true,
        ["terzo"] = true,
        ["2ncsx7"] = true,
        ["G63Sam"] = true,
        ["abhawk"] = true,
        ["amgone"] = true,
        ["bmw8mm"] = true,
        ["cx30wz"] = true,
        ["gemera"] = true,
        ["gmcev2"] = true,
        ["gt63mt"] = true,
        ["lbwk35"] = true,
        ["neonp1"] = true,
        ["nitro9"] = true,
        ["p1lbwk"] = true,
        ["rocket"] = true,
        ["sinacp"] = true,
        ["600ltwb"] = true,
        ["77Monte"] = true,
        ["amggtbs"] = true,
        ["autobio"] = true,
        ["crownbp"] = true,
        ["e63test"] = true,
        ["fxxkevo"] = true,
        ["machewb"] = true,
        ["nismo20"] = true,
        ["nitro11"] = true,
        ["rmodgtr"] = true,
        ["rmodsvj"] = true,
        ["rs7c821"] = true,
        ["wmfenyr"] = true,
        ["812mnsry"] = true,
        ["Rolls6x6"] = true,
        ["mansurus"] = true,
        ["q8hycade"] = true,
        ["2ncsbmwm8"] = true,
        ["911turbos"] = true,
        ["GODz95GSX"] = true,
        ["bentaygam"] = true,
        ["choilambo"] = true,
        ["hycadesti"] = true,
        ["impronta4"] = true,
        ["mercec63s"] = true,
        ["mk4hycade"] = true,
        ["ramtrx6x6"] = true,
        ["rmod240sx"] = true,
        ["rmodjeepg"] = true,
        ["teslaroad"] = true,
        ["1016rwdevo"] = true,
        ["2019chiron"] = true,
        ["KillerHwak"] = true,
        ["amrevu23mg"] = true,
        ["hycadeurus"] = true,
        ["jagoffroad"] = true,
        ["ocnetrongt"] = true,
        ["rallytruck"] = true,
        ["rmodfordgt"] = true,
        ["rrghostbyv"] = true,
        ["rs7c8beast"] = true,
        ["zentenario"] = true,
        ["zlay_gtz35"] = true,
        ["488animated"] = true,
        ["AmgGtrLight"] = true,
        ["GODzNINJAH2"] = true,
        ["rmodr8alpil"] = true,
        ["suprapandem"] = true,
        ["GODzDRIFTCAT"] = true,
        ["GODzRB26SUBI"] = true,
        ["manscountach"] = true,
        ["17mansorypnmr"] = true,
        ["GODzRAMTRX6x6"] = true,
        ["RufusVanquish"] = true,
        ["g900przemo6x6"] = true,
        ["rmodskyline34"] = true,
        ["Urus_Stretch_6"] = true,
        ["manssupersnake"] = true,
        ["fenyrsupersport"] = true,
        ["ferrari812super"] = true,
        ["gcmlamboultimae"] = true,
        ["GODzKSTERZOTACHA"] = true,
        ["chironspeedhunter"] = true,
        ["g700brabusretuned"] = true,
        ["chironsupersport22"] = true,
        ["gta5rp_veh_ferrari19"] = true,
    },

}


-- npc
-- trade coin VIP consume only after trade confirmation
-- reset trade offer items in the negotiate page in a trade after a successful trade.

Last updated

Was this helpful?