> For the complete documentation index, see [llms.txt](https://docs.brutalscripts.com/site/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brutalscripts.com/site/scripts/premium-shop/setting-up-the-shop.md).

# Setting up the shop

Here you can learn how to setup in-game your premium shop.

{% hint style="warning" %}
Only start configuring the shop if you have followed the installation guide and the script works without any issues!&#x20;
{% endhint %}

{% hint style="info" %}
You have to have the right rank to be able to open this setting panel inside of the premium shop panel. You can set it in the config.lua

<img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2FISWq725jQGCOM0opLnSM%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20181205.png?alt=media&amp;token=4a960b29-d4ac-4abe-b41c-0b098a50513d" alt="" data-size="original">
{% endhint %}

<div align="center" data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2FKhBuK0nVjGJuE1I3EeIO%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20181426.png?alt=media&amp;token=b8c4fd59-f2e7-4855-b2ea-e9eb2632556c" alt="" width="83"><figcaption></figcaption></figure></div>

## Create a category

<div align="center" data-full-width="false" data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2FTdglC5mTT0PJZiUfifk6%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20171249.png?alt=media&amp;token=9534272d-a12c-49ec-b4d2-c30c695411b3" alt="" width="375"><figcaption></figcaption></figure></div>

{% stepper %}
{% step %}

### Select a type for the category&#x20;

<div data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2Fjrgzxwo8tFWJxEWpu3F4%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20171606.png?alt=media&amp;token=41942ec0-39d0-4ce9-9904-97a78da3a8a8" alt=""><figcaption></figcaption></figure></div>

<mark style="color:$info;">There are 5 different types you can choose from.</mark>&#x20;

<details>

<summary>Vehicle</summary>

<mark style="color:$info;">This type is for the vehicles. In this category there is a button for test driving the vehicle for the customers. And this type has filter search.</mark>&#x20;

<div data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2F6KwRCYv5xPDnJiCwDQom%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20172203.png?alt=media&amp;token=86cfefde-6bfd-42f1-b25e-956dc1b3e4a3" alt="" width="156"><figcaption></figcaption></figure></div>

</details>

<details>

<summary>Property (with/without filter)</summary>

<mark style="color:$info;">This type is for the properties. In this category there is a button for pinning the location of the proprty for the customers. And this type has a filter search variant and one without the filters.</mark>&#x20;

<div data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2Fk6rDgDVSmwR1szP8G3rs%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20172512.png?alt=media&amp;token=22feab00-6704-4e8d-a506-f0edd705a59b" alt="" width="154"><figcaption></figcaption></figure></div>

</details>

<details>

<summary>Basic (with/without filter)</summary>

<mark style="color:$info;">This type is for everything else. In the category there isn't any special buttons for the customers. And this type has a filter search variant and one without the filters.</mark>&#x20;

<div data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2FFR2zyr4zkfchtMV6lz3Z%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20172711.png?alt=media&amp;token=1db6d823-72b9-4cd2-b98a-a93781713cd2" alt="" width="153"><figcaption></figcaption></figure></div>

</details>
{% endstep %}

{% step %}

### Fill out the name of the category&#x20;

<mark style="color:$info;">All characters lowercase and without space and any special character. This won't be visible to players.</mark>
{% endstep %}

{% step %}

### Fill out the label of the category&#x20;

<mark style="color:$info;">Write here anything you want. This will be visible for players.</mark>&#x20;
{% endstep %}
{% endstepper %}

## Create an item&#x20;

<div data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2FxZtRhvodQiz2teraYozr%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20173001.png?alt=media&amp;token=ab596f44-211f-4049-89ee-873a02139dc9" alt="" width="375"><figcaption></figcaption></figure></div>

{% stepper %}
{% step %}

### Choose the category

<div data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2FjiJaiRhJthqZPcBO4bDr%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20173158.png?alt=media&amp;token=d2020cef-7e9f-4da5-bc40-a59498713aaf" alt="" width="414"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Fill out the name of the item

<mark style="color:$info;">Write here anything you want. This will be visible for players.</mark>&#x20;
{% endstep %}

{% step %}

### Set the price of the item

{% endstep %}

{% step %}

### Fill out the filter type part

<mark style="color:$info;">If the category which contains the item has filter search you have to fill this out. Players will be able to use these to search faster.</mark>&#x20;

<div data-with-frame="true"><figure><img src="https://4039149930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7v0UUR2mr3gc8OlYzKhO%2Fuploads%2FGCsN4kjzlTEINAU0LOTg%2FK%C3%A9perny%C5%91k%C3%A9p%202025-12-31%20173536.png?alt=media&amp;token=3506cfda-4e82-4ef7-88cb-ebe7316dd76e" alt="" width="230"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Fill out the player get part

{% hint style="success" %}
This is where you can set what the player will rechieve when they purchase this item. You can give **anything** to the player. In the sv-utils.lua file you can edit the *GrantPurchase* function if you want to give something which is not pre-configured.
{% endhint %}

#### Here are the things you can set here with the basic sv-utils.lua file

<details>

<summary>Item</summary>

```json
{"type":"item", "name":"water", "amount":1}
```

</details>

<details>

<summary>Vehicle</summary>

```json
{"type":"vehicle", "model":"rapidgt"}
```

</details>

<details>

<summary>Money</summary>

```json
{"type":"money", "amount":1}
```

</details>

<details>

<summary>Property</summary>

```json
{"type":"property", "propertyID":"H101"}
```

Supported property scripts: brutal\_housing, origen\_housing, rx\_housing, tk\_housing

You can add more in the sv-utils.lua *GrantPurchase* function

</details>

<details>

<summary>Gang</summary>

```json
{"type":"gang_business", "gang":"gang_name", "grade":0}
```

{% hint style="danger" %}
The grade is always zero
{% endhint %}

Supported property scripts: brutal\_gangs

You can add more in the sv-utils.lua *GrantPurchase* function

</details>

<details>

<summary>Gang Reputation</summary>

```json
{"type":"gang_reputation", "amount":1}
```

Supported property scripts: brutal\_gangs

You can add more in the sv-utils.lua *GrantPurchase* function

</details>

<details>

<summary>Shop Business</summary>

```json
{"type":"shop_business", "businessID":"BS341"}
```

Supported property scripts: lc\_stores, rx\_playerstores

You can add more in the sv-utils.lua *GrantPurchase* function

</details>

<details>

<summary>Gas Station Business</summary>

```json
{"type":"gas_station_business", "businessID":"BS341"}
```

Supported property scripts: lc\_gas\_stations

You can add more in the sv-utils.lua *GrantPurchase* function

</details>

<mark style="color:$info;">More coming soon...</mark>
{% endstep %}
{% endstepper %}
