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