Config

return {
    ---@type boolean
    disableVersionCheck = false,

    --- true = phone app (lb-phone, yphone, etc.), false = standalone item (opens via useable item)
    ---@type boolean
    usePhone = false,

    --- Item name used to open the marketplace in standalone mode (usePhone = false)
    ---@type string
    openItem = 'shady_device',

    --- Prop and animation settings for standalone mode
    ---@type table
    attachment = {
        animation = {
            dict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
            name = 'idle_a',
            flag = 49,
        },
        model = 'prop_cs_tablet',
        bone = 28422,
        coords = {
            position = vector3(-0.05, 0.0, 0.0),
            rotation = vector3(0.0, -90.0, 0.0),
        },
    },

    ---@type string
    appId = 'fd_blackmarket',

    ---@type string
    appName = 'DealMe',

    ---@type string
    appDescription = 'Underground peer-to-peer marketplace',

    ---@type boolean
    defaultApp = true,

    ---@type boolean
    isDevelopment = false,

    ---@type boolean
    debug = false,

    --- Exchange rate: 1 BC = $exchangeRate
    ---@type number
    exchangeRate = 100,

    --- Seconds before an active drop location is automatically freed
    ---@type number
    dropDuration = 300,

    --- Seconds before a listing return drop is automatically freed (items removed)
    ---@type number
    returnDuration = 300,

    --- Seconds before a pickup location is automatically freed
    ---@type number
    pickupDuration = 600,

    --- Categories available in the marketplace
    ---@type table[]
    categories = {
        { id = 'weapons',     name = 'Weapons',         icon = 'fa-solid fa-gun' },
        { id = 'electronics', name = 'Electronics',     icon = 'fa-solid fa-microchip' },
        { id = 'vehicles',    name = 'Vehicle Parts',   icon = 'fa-solid fa-car' },
        { id = 'drugs',       name = 'Pharmaceuticals', icon = 'fa-solid fa-pills' },
        { id = 'materials',   name = 'Materials',       icon = 'fa-solid fa-cubes' },
        { id = 'misc',        name = 'Miscellaneous',   icon = 'fa-solid fa-box' },
    },

    --- Items allowed to be sold on the marketplace
    --- Use item spawn names (e.g. 'lockpick', 'weapon_pistol')
    ---@type string[]
    allowedItems = {
        'WEAPON_PISTOL', 'WEAPON_PISTOL_MK2',
        'lockpick', 'advancedlockpick',
        -- ... add your items here
    },

    --- Blip settings for drop locations
    ---@type { sprite: number, color: number, scale: number, shortRange: boolean }
    dropBlip = {
        sprite = 501,
        color = 1,
        scale = 0.7,
        shortRange = true,
    },

    --- Blip settings for pickup locations
    ---@type { sprite: number, color: number, scale: number, shortRange: boolean }
    pickupBlip = {
        sprite = 501,
        color = 2,
        scale = 0.7,
        shortRange = true,
    },

    --- Alias generation settings
    ---@type table
    alias = {
        prefixes = {
            'Shadow', 'Dark', 'Ghost', 'Phantom', 'Cipher', 'Raven', 'Void',
            'Neon', 'Crypto', 'Stealth', 'Viper', 'Onyx', 'Apex', 'Zero',
            'Blaze', 'Frost', 'Storm', 'Flux', 'Nova', 'Drift',
        },
        suffixes = {
            'Walker', 'Runner', 'Dealer', 'Trader', 'Hunter', 'Hawk', 'Fox',
            'Wolf', 'Blade', 'Strike', 'Byte', 'Core', 'Pulse', 'Wire',
            'Node', 'Proxy', 'Agent', 'Shift', 'Grid', 'Link',
        },
    },
}

Copyright © 2025 Felis Development