# Installation

## Step 1: <mark style="color:yellow;">Move resource</mark>

Extract the zip you downloaded from keymaster and drop the <mark style="color:blue;">stg\_cardGame</mark> folder in the <mark style="color:blue;">resources</mark> folder.

## Step 2: <mark style="color:yellow;">Install items</mark>

{% tabs %}
{% tab title="ESX" %}

```sql
INSERT INTO `items` (`name`, `label`) VALUES
('uno', 'Uno');
```

{% endtab %}

{% tab title="QB" %}
qb-core/shared/items.lua

```lua
['uno'] 					 = {['name'] = 'uno', 			  	  	  	['label'] = 'Uno', 					['weight'] = 100, 		['type'] = 'item', 		['image'] = 'uno.png', 				['unique'] = false, 	['useable'] = true, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Wallet'},
```

{% endtab %}
{% endtabs %}

## Step 3: <mark style="color:yellow;">Set bot token</mark>

The script needs a bot token to access players' discord profile pictures, you need to place it in the <mark style="color:blue;">botToken</mark> section in <mark style="color:blue;">stg\_cardGame/settings.lua</mark>. if you don't know how to get a discord bot token, you can click [here](/documentation/guide/create-discord-bot-token.md).

<div align="left"><figure><img src="/files/1yuYTGKwMBFjpLCR8C90" alt=""><figcaption></figcaption></figure></div>

## Step 4: <mark style="color:yellow;">Start script</mark>

Start <mark style="color:blue;">stg\_cardGame</mark> in server.cfg.

```
ensure stg_cardGame
```


---

# Agent Instructions: 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://stg-store.gitbook.io/documentation/scripts/card-game/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.
