# 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="https://737274200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1US2IqenUQWypVR7rbp2%2Fuploads%2F7I8I5o4JJpeEhbI2Rd1d%2Fui-web-source-development-mode.png?alt=media&#x26;token=2051e4da-ba08-4783-910f-4864d1f0c070" 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`
