⚙️Configuration

⚙️ Marketplace Configuration

File: 0bug_MarketPlace/Customize.lua

🧠 Edit the following configuration to customize how the legal marketplace works in your server.

Customize = {
    -- General settings
    TestLogin = false,
    Lang = "en",
    Debug = false,

    -- Commands to open/close UI
    OpenUICommand = "marketPlace",
    CloseUICommand = "closeMarketPlace",
    BlackMarketPlaceOpenUi = true, -- provides access to the black market from the marketplace

    -- Storage options
    Storage = "json", -- or "mysql"
    StorageAutoCreateTables = true, -- Automatically creates SQL tables if using MySQL

    -- Item image path
    ToolsImagePath = "nui://qb-inventory/html/images/",

    -- Payment settings
    CarBuyType = "cash",
    AdvertiseBuyType = "cash",
    AdvertisePrice = 500,
    DurationInMinutes = 1,

    -- Restrictions
    BlackListItem = { "twerks_candy", "snikkel_candy" },
    JobBlackList = { "ambulance", "police" },

    -- Marketplace zone(s)
    Location = {
        {
            id = "MarketPlace_1",
            name = "Market Place 1",
            coords = vector4(-1704.35, -17.29, 63.96, 131.1),
            target = true,
            targetIcon = "fas fa-lock",
            keyWorld = "E",
            ped = "a_m_m_farmer_01",
            blip = {
                sprite = 52,
                scale = 0.5,
                colour = 69
            },
            eventSettings = {
                eventType = "client",
                event = "0bug-marketplace:OpenUI"
            }
        }
    }
}

💡 You can add multiple marketplace locations and change interaction methods freely.

🕵️ Black Market Configuration

File: 0bug_BlackMarketPlace/Customize.lua

🔐 Configure your black market UI, locations, protection modes, and minigames here.

🕹️Find More Minigames Here : https://docs.byte-labs.net/bl_ui/hackingarrow-up-right

📃Translations

All UI and system messages can be translated by editing the locales/en.lua file inside the script. You can duplicate it to create other language files (e.g., locales/fr.lua) and update Lang in the config to match.

Last updated