Installation

Welcome to the Quasar Banking installation guide, here you can learn how to completely install our asset, following each step we will achieve a clean and fluid installation where you will not find any problems, as long as the documentation has been completed in full.

If you do not have programming experience, we recommend that you read each step completely without skipping any lines, since all documentation is important and should not be ignored under any circumstances. If you have a trusted developer, you can install this quickly, easily and safely if you complete this documentation step by step.

If at the end of this documentation you still have any problems, review each step again, after having checked that everything is correct, you can obtain more information about common errors in the Common Problems section within this same documentation to seek help independently.


Asset download

To find the asset, you must have made the purchase using your own keymaster account. Otherwise, you can use the transfer system to move the asset to a different keymaster account.

If you need to make an update you must also do this step again, download the asset and you will get the complete update.

Once the purchase is made on our official website, you will receive your asset directly in your Keymaster, in your own panel you can download the asset and install it following the following documentation.

If you have more problems regarding Fivem Escrow, accounts or asset startup errors you can go here and see if any of them match your case, since Escrow requires some basic things for its operation, such as your keymaster account, your licensekey , etc.

FiveM Asset Escrow System

Asset positioning

Correctly position the assets by following this step, if something goes wrong you will probably get errors about exports not found, do not skip this step.

For the correct execution of the asset, we will place the asset and its dependencies inside a folder called [tradingcards], then we will execute it entirely using "ensure" as in the example.

The startup order is not very critical for this asset, but just to be safe, we will include the basics to avoid any general errors when using it. Always adhere to the framework and inventory that are above this asset.

-- First we will start the cores, never below
ensure es_extended or qb-core

-- The inventory should be executed above
ensure [inventory]

-- Run qs-tradingcards package here along with its dependencies
ensure [tradingcards]

Items and their metadata

This system is natively compatible with qb-inventory, qs-inventory, and ox_inventory. However, support has been extended to newer systems such as codem-inventory, tgiann-inventory, core_inventory, and others. It is the responsibility of the respective inventory creators to ensure compatibility for these additional systems.

Below, you will find the item lists for all natively supported inventories.

Items for qs-inventory
    ['tradingcard_psa']              = {
        ['name'] = 'tradingcard_psa',
        ['label'] = 'Card Psa',
        ['weight'] = 50,
        ['type'] = 'item',
        ['image'] = 'tradingcard_psa.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Letter verified with PSA, lets wait for your qualification!'
    },
    ['tradingcard_stash']              = {
        ['name'] = 'tradingcard_stash',
        ['label'] = 'Card Book',
        ['weight'] = 50,
        ['type'] = 'item',
        ['image'] = 'tradingcard_stash.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Album for collectible cards!'
    },
    ['tradingcard_basic']            = {
        ['name'] = 'tradingcard_basic',
        ['label'] = 'Card Basic',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'tradingcard_basic.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Basic letter, it will serve for your collection'
    },
    ['tradingcard_rare']             = {
        ['name'] = 'tradingcard_rare',
        ['label'] = 'Card Rare',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'tradingcard_rare.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'This letter is strange, how crazy...'
    },
    ['tradingcard_legendary']        = {
        ['name'] = 'tradingcard_legendary',
        ['label'] = 'Card Legendary',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'tradingcard_legendary.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'A card of peculiar rarity, I would say legendary!'
    },
    ['tradingcard_booster_pack']    = {
        ['name'] = 'tradingcard_booster_pack',
        ['label'] = 'Card Booster Pack 1',
        ['weight'] = 50,
        ['type'] = 'item',
        ['image'] = 'tradingcard_booster_pack.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Pack with random TCG cards'
    },
Items for qb-inventory
['tradingcard_psa']              = {
        ['name'] = 'tradingcard_psa',
        ['label'] = 'Card Psa',
        ['weight'] = 50,
        ['type'] = 'item',
        ['image'] = 'tradingcard_psa.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Letter verified with PSA, lets wait for your qualification!'
    },
    ['tradingcard_stash']              = {
        ['name'] = 'tradingcard_stash',
        ['label'] = 'Card Book',
        ['weight'] = 50,
        ['type'] = 'item',
        ['image'] = 'tradingcard_stash.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Album for collectible cards!'
    },
    ['tradingcard_basic']            = {
        ['name'] = 'tradingcard_basic',
        ['label'] = 'Card Basic',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'tradingcard_basic.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Basic letter, it will serve for your collection'
    },
    ['tradingcard_rare']             = {
        ['name'] = 'tradingcard_rare',
        ['label'] = 'Card Rare',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'tradingcard_rare.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'This letter is strange, how crazy...'
    },
    ['tradingcard_legendary']        = {
        ['name'] = 'tradingcard_legendary',
        ['label'] = 'Card Legendary',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'tradingcard_legendary.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'A card of peculiar rarity, I would say legendary!'
    },
    ['tradingcard_booster_pack']    = {
        ['name'] = 'tradingcard_booster_pack',
        ['label'] = 'Card Booster Pack 1',
        ['weight'] = 50,
        ['type'] = 'item',
        ['image'] = 'tradingcard_booster_pack.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Pack with random TCG cards'
    },
Items for ox_inventory
    ['tradingcard_basic'] = {
        label = 'Trading Card Basic',
        weight = 150,
        stack = false,
        consume = 0,
        server = {
            export = 'qs-tradingcards.OpenInterationMenu',
        }
    },

    ['tradingcard_rare'] = {
        label = 'Trading Card Rare',
        weight = 150,
        stack = false,
        consume = 0,
        server = {
            export = 'qs-tradingcards.OpenInterationMenu',
        }
    },

    ['tradingcard_legendary'] = {
        label = 'Trading Card Legendary',
        weight = 150,
        stack = false,
        consume = 0,
        server = {
            export = 'qs-tradingcards.OpenInterationMenu',
        }
    },

    ['tradingcard_booster_packs'] = {
        label = 'Trading Card Booster',
        weight = 150,
        stack = false,
        consume = 0,
        client = {
            export = 'qs-tradingcards.OpenBoosterPack',
        }
    },

    ['tradingcard_psa'] = {
        label = 'Trading Card Psa',
        weight = 150,
        stack = false,
        consume = 0,
        client = {
            export = 'qs-tradingcards.openPsa'
        },
    },

    ['tradingcard_stash'] = {
        label = 'Trading Card Stash',
        weight = 150,
        stack = false,
        consume = 0,
        server = {
            export = 'qs-tradingcards.openAlbum',
        },
    },

Basic asset configuration

We do not recommend editing frameworks unnecessarily, since almost all assets depend exclusively on your framework and exports on the name of your framework. Otherwise and if you edited your framework, read these steps carefully.

If you still require more open codes for the configuration, you can check within client/custom and server/custom to adapt the asset to your personal taste.

Please expand each part to see information about the configuration of the asset, this way you will understand the general operation of the asset on the framework and editable files side.

Basic framework configuration

The asset will work automatically if your framework is called es_extended or qb-core, it will automatically detect if any of them are started. In case your framework has been renamed, you can modify it in config.lua to edit the name of your framework.

Advanced framework configuration

If your framework is completely modified, both in events and name, you should access client/custom/framework or server/custom/framework to adapt the native events of your framework to the codes you have created. If this step doesn't work, we ask that you ask your framework modifier or trusted developer for help.

More general settings

This asset contains multiple configurations within the config folder. But you can also access more open source and configurations within client/custom or server/custom. We do not recommend using these configurations if you do not have the basics of programming.

Last updated