> For the complete documentation index, see [llms.txt](https://docs.lostdev.store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lostdev.store/races/common-issues.md).

# Common Issues

<details>

<summary>The <code>/races</code> menu doesn't open.</summary>

Confirm `Config.Enabled = true`, that `ox_lib` started before `ld_races`, and check the server console for framework-detection warnings. If `Config.UI.useSharedTablet = true` but `ld_tablet` isn't installed/running, the standalone menu is used automatically — this shouldn't block opening it, but confirm the resource actually started with `ensure ld_races` or `start ld_races` and no errors appear in the console.

</details>

<details>

<summary><code>/racecreator</code> says I'm not authorized.</summary>

Check `Config.Admin.permission` and `Config.Admin.allowedGroups` — you need to match at least one. Confirm `Config.Admin.enabled` is `true`.

</details>

<details>

<summary>Dispatch alerts aren't firing for illegal races.</summary>

The auto-detected adapter for your dispatch resource may not match your installed version/fork — see [Dispatch Integration](broken://pages/6d8e99f6eb84e31fb9f2b96d0e079e343a4aa0b3) for a custom adapter you can write yourself. Also confirm the route is actually marked illegal and that its per-route or default dispatch chance isn't rolling against you (chance is randomized per race).

</details>

<details>

<summary>A route I saved isn't showing up / an old version is showing.</summary>

Run `/race_reload` (or `exports.ld_races:ReloadRaces()`). If you also have that same `raceKey` defined in `Config.Routes`, check `Config.DatabaseOverridesConfig` — it decides which copy wins.

</details>

<details>

<summary>Do I need Node.js / npm to run this?</summary>

No. The NUI ships as a prebuilt production bundle in `web/dist/`. `web/` (the source) is only needed if you want to customize the tablet UI yourself.

</details>

<details>

<summary>Players are being disqualified unexpectedly.</summary>

Review `Config.AntiAbuse` — in particular `maxRouteDistance`, `checkpointRadius`, `minRaceTimeMs`, and `maxAverageSpeedKmh`. These are anti-cheat thresholds; a route with very long checkpoint gaps or a deliberately fast vehicle may need them loosened.

</details>

<details>

<summary>Can I run this without QBCore/ESX/QBX?</summary>

Yes — set `Config.Framework.type = 'standalone'` (or leave auto-detect, which falls back to it automatically when no supported framework is running). See [Framework & Identity](broken://pages/cf897db0b7091e18ab04e3a93b4625a3c253c0c0).

</details>

<details>

<summary>Where do I change the text players see (notifications, UI labels)?</summary>

`config/locales/en.lua` (or add your own locale file) for in-game notifications, and `web/src/labels.js` for NUI text. Not in `config/config.lua` or anywhere else in the code.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.lostdev.store/races/common-issues.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
