Skip to main content

Locale

Config.Locale = 'en'
Sets the active language for all UI strings.
ValueLanguage
enEnglish
esSpanish
frFrench
deGerman
itItalian
ptPortuguese
ruRussian
arArabic
zhChinese
jaJapanese

Branding

Config.Branding = {
    ServerName  = "Your Server Name",
    DiscordLink = "discord.gg/yourlink",
    LogoImage   = "assets/server_logo.png"
}
  • ServerName — Displayed in the UI header
  • DiscordLink — Shown in UI footer/links
  • LogoImage — Path to your server logo inside html/assets/

Inventory Image Path

Config.InventoryImagePath = "nui://qb-inventory/html/images/"
Points to your inventory script’s image folder for item icons in the shop.
InventoryPath
qb-inventorynui://qb-inventory/html/images/
qs-inventorynui://qs-inventory/html/images/

Discord Integration

Config.Discord = {
    BotToken           = "YOUR_DISCORD_BOT_TOKEN_HERE",
    GuildID            = "YOUR_GUILD_ID_HERE",
    TransactionWebhook = "YOUR_TRANSACTION_WEBHOOK_HERE",
    AdminWebhook       = "YOUR_ADMIN_WEBHOOK_HERE"
}
  • BotToken — Your Discord bot token for role/guild lookups
  • GuildID — Your Discord server ID
  • TransactionWebhook — Webhook URL for purchase/transaction logs
  • AdminWebhook — Webhook URL for admin action logs

Permissions

Config.Permissions = {
    Licenses = {
        "license:YOUR_LICENSE_HASH_HERE"
    }
}
CFX license hashes that have full admin access to the system. Add multiple entries for multiple admins.

Admin Commands

Config.Commands = {
    GiveVIP   = "givevip",
    RemoveVIP = "removevip",
    GivePT    = "givept",
    RemovePT  = "removept"
}
Rename any command to avoid conflicts with existing resources.

Database Sweep

Config.Database = {
    EnableSweep      = true,
    MainPlayerTable  = "players",
    IdentifierColumn = "citizenid"
}
When enabled, automatically purges loyalty data for players who no longer exist in your main player table. Keeps your database clean.