For the complete documentation index, see llms.txt. This page is also available as Markdown.

Troubleshooting

Use these fixes when rcore_drugs does not work as expected.

The admin panel opens, but there is no default data.

Cause: Default data was not imported.

Fix: Run this from your server console:

drugs_seed

Then restart rcore_drugs or restart the server.

Players cannot use items or production rewards are missing.

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
Labs do not show target interactions.

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:

Config.DrugLabEntryPoint = LAB_ENTRY.TARGET
Admin command does not work for my admin.

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

Fix: Check Commands and Permissions. For Standalone, add the rcore_drugs.admin ACE permission.

Something is wrong, but there is no clear error.

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

Config.Debug = true

Last updated