Create new cards

Please do not edit the rarity of cards as this could break multiple things.

If you give yourself a card item, it will have no value, since for the item metadata to be applied, you must open it through a tradingcard_booster_pack, otherwise, this card will not work.

Quasar Trading Cards brings you a modern and innovative system of creating collectible cards that will surprise you too. Learn how to add your own cards with this guide.


Creating new cards

Please do not use Discord to host your images as it is not compatible with FiveM.

Inside the config.lua file we can find the Config.Cards, where we can create our own cards. To edit them we can follow the multiple examples but here you have the base code:

Config.Cards = {
    [1] = { -- Order number (important)
        color = 'rare', -- Rarity of the card: Only basic, rare, legendary
        rank = 'rare', -- Rank of the card, matches with color: basic, rare, legendary
        label = 'Corrado Cattani', -- The name or title of the character
        images = 'https://i.ibb.co/HVL3nYP/2021-05-02-30.webp', -- URL to the image representing the character
        term = 'Corrado Cattani, son of a smuggler, candidate for general after a pandemic. Defender of his city against walkers.', -- Brief backstory or tagline for the character
        -- description = 'A secondary description?', -- Placeholder for additional description
        health = 200, -- Character's health value
        attack = 99, -- Character's attack power
        height = '168', -- Character's height in cm
        weight = '80', -- Character's weight in kg
        quality = 100, -- Quality rating of the card, likely out of 100
    },
    -- Other cards
}

Last updated