> For the complete documentation index, see [llms.txt](https://fb-scripts.gitbook.io/fb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fb-scripts.gitbook.io/fb-scripts/scripts/fb-chat/faq-and-troubleshooting.md).

# FAQ & Troubleshooting

<details>

<summary><strong>Chat doesn't open when pressing T</strong></summary>

Stop any other chat resource. Only one can run at a time.

</details>

<details>

<summary><strong>GIFs not loading</strong></summary>

Paste your Tenor API key in `editable/keys.lua`: `Keys.TenorApiKey = 'YOUR_KEY'`

</details>

<details>

<summary><strong>How to give staff access</strong></summary>

Auto-detected from your framework's admin groups. For standalone, add to server.cfg: `add_ace group.admin chat.staff allow`

</details>

<details>

<summary><strong>MySQL instead of JSON</strong></summary>

Install any supported MySQL driver (oxmysql, mysql-async, or ghmattimysql) and set `Config.Database.mode = 'mysql'` — tables are created automatically.

</details>

<details>

<summary><strong>Where are messages stored</strong></summary>

JSON mode: `database.json`&#x20;

MySQL mode: `fb_chat_data` table.&#x20;

Both include auto-backup.

</details>
