Skip to main content

Main Configuration

The config.lua file contains the main system settings.
config.lua
Config = {}

Config.Locale = 'en'              -- System language
Config.Debug = true               -- Enable debug logs
Config.EnableCommand = true        -- Enable /skins command
Config.CommandName = 'skins'       -- Command name

-- Debug Categories
Config.DebugCategories = {
    ['Init'] = true,
    ['Events'] = true,
    ['Database'] = true,
    ['Bridge'] = true,
    ['Market'] = true,
    ['DailyShop'] = true,
}

Config.UI = {
    Logo = 'https://your-logo.com/logo.png',
    Colors = {
        Primary = '#8257e5',       -- Primary color (Purple)
        Background = '#09090A',    -- Background
        Card = '#121214',          -- Cards
        CardHover = '#202024',     -- Cards (hover)
        Text = '#FFFFFF',          -- Main text
        TextSecondary = '#A1A1AA', -- Secondary text
        Success = '#10B981',       -- Success
        Error = '#EF4444',         -- Error
        Warning = '#F59E0B',       -- Warning
        Info = '#3B82F6'           -- Info
    }
}

Config.DailyShop = {
    Enabled = true,
    RotationHour = 0, -- Rotation hour (0 = midnight)
    ItemCount = 4,
    Discount = { Min = 5, Max = 15 }, -- Discount in %
}

Config.NightMarket = {
    StartDate = '2025-12-21 00:00:00',
    DurationDays = 7,
    Discount = { Min = 10, Max = 50 },
    Schedule = { Enabled = true }, -- Auto rotation via server config.json
}

Config.Webhooks = {
    Purchase = "DISCORD_WEBHOOK_URL", -- Purchases
    Transfer = "DISCORD_WEBHOOK_URL", -- Transfers
    Admin = "DISCORD_WEBHOOK_URL",    -- Admin Actions
    Security = "DISCORD_WEBHOOK_URL", -- Security Alerts
}

Bridge Configuration

Framework

Set the framework in the bridge/config.lua file:
BridgeConfig = {}
BridgeConfig.Framework = "qbcore"

Screenshot Configuration

Configure the image provider in modules/screenshot/config.lua:
ScreenshotConfig = {}

-- Provider: 'fivemerr' or 'fivemanage'
ScreenshotConfig.Provider = 'fivemerr'

-- Fivemerr Configuration
ScreenshotConfig.Fivemerr = {
    Token = "YOUR_API_KEY_HERE"
}

-- Fivemanage Configuration (alternative)
ScreenshotConfig.Fivemanage = {
    Token = "YOUR_TOKEN_HERE"
}
The Screenshot and Image Converter modules are Open Source. You can adapt them to your own CDN.

Color Customization

The system uses CSS variables that can be customized via Config.UI.Colors:
VariableDescriptionDefault
PrimaryMain highlight color#8257e5
BackgroundBackground color#09090A
CardCard color#121214
CardHoverCard color (hover)#202024
TextMain text color#FFFFFF
TextSecondarySecondary text color#A1A1AA

Supported Languages

CodeLanguage
pt-brPortuguese (Brazil)
enEnglish
To add a new language, create a file in locales/[code].json.