> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_drugs/troubleshooting.md).

# Troubleshooting

Use these fixes when `rcore_drugs` does not work as expected.

<details>

<summary>The admin panel opens, but there is no default data.</summary>

**Cause:** Default data was not imported.

**Fix:** Run this from your server console:

```cfg
drugs_seed
```

Then restart `rcore_drugs` or restart the server.

</details>

<details>

<summary>Players cannot use items or production rewards are missing.</summary>

**Cause:** Inventory items are missing from your inventory resource.

**Fix:** Add the item definitions to your inventory and copy item images from:

```
rcore_drugs/assets/inventory_images
```

</details>

<details>

<summary>Labs do not show target interactions.</summary>

**Cause:** The target resource is not detected or lab entry is still set to marker mode.

**Fix:** Check `Config.Target` and set lab entry to target mode:

```lua
Config.DrugLabEntryPoint = LAB_ENTRY.TARGET
```

</details>

<details>

<summary>Admin command does not work for my admin.</summary>

**Cause:** The player does not have admin permission for the active framework.

**Fix:** Check [Commands and Permissions](/paid-resources/rcore_drugs/features/commands-and-permissions.md). For Standalone, add the `rcore_drugs.admin` ACE permission.

</details>

<details>

<summary>Something is wrong, but there is no clear error.</summary>

**Fix:** Enable debug in `config.lua`, reproduce the issue, then check F8 and server console.

```lua
Config.Debug = true
```

</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:

```
GET https://documentation.rcore.cz/paid-resources/rcore_drugs/troubleshooting.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.
