OrigenNetwork
Docs

Configuration · origen_tradingcards

All settings live in shared/config.lua.


General

VariableDefaultDescription
Config.DebugfalseEnable debug logging to server console
Config.Locale'es'UI language — 'es' | 'en'
Config.Framework'auto'Framework — 'auto' | 'qb' | 'qbx' | 'esx'
Config.Inventory'origen'Inventory system — 'origen' | 'ox' | 'qb' | 'qs'
Config.Menu'auto'Menu system — 'auto' | 'qb-menu' | 'ox_lib'
Config.AdminGroups{ 'admin', 'superadmin' }ESX group names with admin access

Items

Maps the logical item roles to their actual inventory item names. Change these if your server uses different item name conventions.

lua
Config.Items = {
    album = 'album',
    pack  = 'albumpack',
}

Pack behavior

VariableDefaultDescription
Config.PackSize5Number of cards delivered when a pack is opened
Config.MaxGiveCount100Maximum number of items an admin can give in a single operation

Shop

VariableDefaultDescription
Config.Shop.InteractionRadius2.5Distance in meters to activate a shop NPC
Config.Shop.InteractionKey38Control key used to open the shop (38 = E)

Rarities

Defines the drop probability and visual CSS filter for each card rarity. Chances must always sum to 100.

lua
Config.Rarities = {
    { name = 'Common',    chance = 60, filter = 'grayscale(1) brightness(1.1)' },
    { name = 'Uncommon',  chance = 25, filter = 'sepia(1) hue-rotate(65deg) saturate(2.5) brightness(1)' },
    { name = 'Rare',      chance = 10, filter = 'sepia(1) hue-rotate(185deg) saturate(3) brightness(1)' },
    { name = 'Epic',      chance = 4,  filter = 'sepia(1) hue-rotate(245deg) saturate(3.5) brightness(1.1)' },
    { name = 'Legendary', chance = 1,  filter = 'sepia(1) hue-rotate(-28deg) saturate(4) brightness(1.4) contrast(1.1)' },
}
FieldDescription
nameInternal rarity name — must match the suffix of the card item (e.g. Commonalbumcardcommon)
chanceDrop weight — all chances must sum to 100
filterCSS filter string applied to the card image in the UI

If a rarity has no cards defined for a given album, the system falls back to Common and then to the full card pool. Always keep Common populated with cards.