> For the complete documentation index, see [llms.txt](https://docs.vames-store.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vames-store.com/assets/vms_coinshop/installation.md).

# Installation

## 1. Download Resource

Download the purchased resource from [**CFX Portal**](https://portal.cfx.re/assets/granted-assets) - the official site of FiveM with purchased resources.

***

## 2. Install Required Dependencies

This script needs a few extra resources to work properly.\
Below you will find a list of things to download - click the link, download and upload to your server just like other resources.

<table><thead><tr><th width="231.6182861328125">Resource</th><th data-type="content-ref">Download Link</th></tr></thead><tbody><tr><td><strong>Tebex-FiveM</strong></td><td><a href="https://github.com/tebexio/Tebex-FiveM">https://github.com/tebexio/Tebex-FiveM</a></td></tr></tbody></table>

***

## 3. Environment Requirements

{% stepper %}
{% step %}

### Setup Tebex API

1. Enter your [Tebex Creator panel](https://creator.tebex.io/dashboard).
2. Go to **Integrations**, then go to [**Game Servers**](https://creator.tebex.io/game-servers).
3. You will see your created server, click **Instructions** button

<figure><img src="/files/trMPdfIRGCC7fE0r3M6l" alt=""><figcaption></figcaption></figure>

4. Copy your tebex secret api key.

<figure><img src="/files/wSMhBqHoTTZ2IoKB17RQ" alt=""><figcaption></figcaption></figure>

5. Go to **Tebex-FiveM/config.json** file.
6. Set your tebex secret key

<figure><img src="/files/X57Zd5vt05VwEuN916r1" alt=""><figcaption></figcaption></figure>

7. Go to your **server.cfg**
8. Add these lines:

```
sv_tebexSecret YOUR_TEBEX_SECRET_KEY # HERE YOU HAVE TO SET YOUR SECRET KEY
add_ace resource.Tebex-FiveM command allow
```

{% endstep %}

{% step %}

### Configure Packages on your Tebex

1. Enter your [Tebex Creator panel](https://creator.tebex.io/dashboard) again.
2. Go to [**Packages**](https://creator.tebex.io/packages).
3. Press the **Add New** button or edit the product you have.

<figure><img src="/files/Yhiy9H88l82VpHkGzI8l" alt=""><figcaption></figcaption></figure>

4. Set the name, descriptions, image and price then go below and the **Game Server Command** section.
5. Enter one of the commands corresponding to you

{% hint style="success" %}
**Generating 20,000 Coins:**

`generateTbx {transaction} coins 20000`

**VIP Status for 28 days:**\
`generateTbx {transaction} vip 28`\
\
**Permament VIP Status:**\
`generateTbx {transaction} vip -1`\
\
\
These commands are only usable from the server console so don't worry, no admin will use it
{% endhint %}

<figure><img src="/files/oDsswXlJ8PqQfNnfuFMl" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Keep in mind that once the player buys the package, the tbx code can be used according to the information provided to us by tebex (5-10 minutes), it may be faster, but it will not be immediate.
{% endhint %}

***

## 4. Start Resource

To start a resource in your `server.cfg`, ensure that it begins after your framework has been initiated. For instance, if you are using a framework like `es_extended`, you should start resource after it, like so:

```python
start [core] # For example, here is your framework (esx/qb-core)

# VMS Resources
start Tebex-FiveM
start vms_coinshop
```

Ensure there are no syntax errors or incorrect paths in your `server.cfg`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vames-store.com/assets/vms_coinshop/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
