Char slots & integration

Quasar Multicharacter allows you to use slots blocked through Tebex Store, with this system you can sell slots in your official Tebex server store.

Can I sell slots outside of Tebex?

No, it is not possible since Tebex is the only legal method of selling within FiveM.

Can I give slots by command?

You can give slots through administrative command using /addslot id.


How to connect Tebex to your server?

To start the integration, we must go to "Integrations" within our panel on the left in Tebex. Once inside, we will see the "Game Servers" option, that is the way to go.

Once inside this part of our Tebex store, we will go to the button that says "Connect Game Server" to continue.

We will create a PLUGIN in this new section, where we will click to continue.

In this step, we can give it a custom name, but we must ignore the "Packages" part, we will simply continue.

Click copy command and paste it to server.cfg then restart your server and when Not Connected indicator turns green and says connected click "Continue".

Once this is done, we have our integration ready, which we will add within the package that we will sell as Multicharacter slot in our store. To do this, we will go to "Packages" in the menu on the left of Tebex.

We will click on "Add New" and then "Package" to create our package.

We will give you a title, description, image and all the details you want to create a unique package.

Once the details have been given, we will go further down and create a "Game Server Commands".

Within "Game Servers" we will select the integration that we did previously in the previous steps and we will click on the button on the right that says "Add Command".

Inside, we will leave the default option "When the package is purchased" and add the following text.

 addslot {transaction}

Once all these steps have been completed, everything is ready. When a player purchases this package, they will receive a tbx-id, which they will copy and use within our Multicharacter to unlock new slots.


Give slot via command

You can give slots through administrative command using /addslot id.

CommandDescription

/addslot id

Add a slot to the selected player id


How to add blocked slots?

This step is simple, in config.lua we will have access to the "tebex" option, as in the following example.

Config.CharacterPositions = {
    [0] = {
        coords = vec3(-1009.081299, -475.674713, 48.495923),
        heading = 201.259842,
        lookAt = vec3(-1005.929688, -478.549438, 50.021973),
        animation = {
            [0] = { dict = 'anim@amb@office@boardroom@boss@male@', anim = 'base' },
            [1] = { dict = 'anim@amb@office@boardroom@boss@male@', anim = 'base' }
        },
        tebex = false -- If set to true, the slot will not be automatically playable and will be managed by tebex. You can also manage it yourself by command: /addslot [id]
    },
    ...
} 

Last updated