# Support

## Getting Help

Join my [Discord](https://discord.gg/dTNWpmPGyc) for support, updates, and feature requests.

***

## Purchases

{% hint style="success" %}
All versions include lifetime access to future updates and monthly sticker set drops!
{% endhint %}

### Open Source

This resource is available through [Tebex as open source](https://madcap-scripts.tebex.io/package/7253423). All source code is unlocked, including the web files.

<details>

<summary>Tech Stack</summary>

* Bun
* Svelte 5
* Tailwind CSS
* Bits UI

</details>

<figure><img src="/files/LiUt90BisOOuQuQhgRCc" alt=""><figcaption><p>mad_collectables web development setup - accessible with open source version</p></figcaption></figure>

***

### Subscription

This resource is available via a monthly subscription through [Tebex with FiveM asset escrow](https://madcap-scripts.tebex.io/package/7253437).

***

### Escrow

This resource is available through [Tebex with FiveM asset escrow](https://madcap-scripts.tebex.io/package/mad-collectables).

#### What's Escrowed

The core logic files are protected:

* `client/cl_main.lua`
* `server/sv_main.lua`
* Module files in `modules/`

#### What's Open

You have full access to:

* `config/shared.lua`
* `config/client.lua`
* `config/server.lua`
* `modules/types.lua`
* `/bridge/../../.lua`
* `locales/*.json`
* `images/*`
* `sql/collectables.sql`

This means you can:

* Configure all settings
* Create custom collectable sets
* Add your own sticker images
* Modify the bridge to use any custom resource
* Translate to any language
* Modify the database schema

***

## Debug

Enable debug prints using [ox\_lib's print system](https://communityox.dev/ox_lib/Modules/Print/Shared).

In your server console:

```
set ox:printlevel debug
```

Replace `debug` with your desired level: `error`, `warn`, `info`, `verbose`, or `debug`.

***

## Localisation

Set your language in `server.cfg`:

```
setr ox:locale en
```

Replace `en` with your [ISO 639 language code](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes).

Localisation is included for:

English, Spanish, French, German, Italian, Russian, Chinese, Korean, Dutch, Japanese, Portuguese (Brazil), Polish, Turkish, Arabic, Swedish, Thai, Vietnamese, Hungarian, Czech, Greek, Lithuanian.

### Adding a Translation

1. Copy `locales/en.json` to `locales/[lang].json`
2. Translate all strings
3. Update `ox:locale` in your `server.cfg`


---

# 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://madcap.gitbook.io/docs/premium-resources/mad_collectables/support.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.
