> For the complete documentation index, see [llms.txt](https://tru-development.gitbook.io/tru-development-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tru-development.gitbook.io/tru-development-docs/troubleshooting-2.md). Agents can also search and read this documentation through its [MCP server](https://tru-development.gitbook.io/tru-development-docs/~gitbook/mcp).

# Troubleshooting

Documentation / Tru-LootCases

## Troubleshooting

**Nothing happens on item use:** Verify the client event in the inventory item and restart the inventory after editing.

**Missing reward:** Verify the item exists and inventory can accept it.

**Missing images:** Check filenames and inventory image directories.

**Wrong framework:** Review `Config.Framework` and `Config.Inventory` (lootcases uses `ox` and `qb` inventory identifiers).

### Diagnostic checklist <a href="#diagnostic-checklist" id="diagnostic-checklist"></a>

1. Confirm the resource folder contains its manifest directly, rather than another nested resource folder.
2. Check that dependencies are started and the configured framework matches your server.
3. Review `config.lua` for syntax errors and incorrect integration settings.
4. Reproduce the issue with a normal test player. Give a test player a common case, open it, confirm one case is consumed and the reward is received. Repeat with each case type.
5. Capture the first relevant client or server error, not only subsequent errors.

### Contact support <a href="#contact-support" id="contact-support"></a>

If the issue persists, provide the resource version, framework, inventory, relevant configuration (with secrets removed), console error and exact reproduction steps via [Discord](https://discord.gg/JDaHDxcJwt).

### Escalating an issue <a href="#escalating-an-issue" id="escalating-an-issue"></a>

If the checks above do not resolve the problem, reproduce it with the smallest possible set of resources. Record the exact steps, expected behavior and actual behavior. Include the resource version, framework, inventory, relevant configuration and the first server or F8 error. Remove license keys, tokens and personal information before sharing logs.

### Diagnosing rewards and assets <a href="#diagnosing-rewards-and-assets" id="diagnosing-rewards-and-assets"></a>

If the interface opens but an item is missing, check the exact configured reward identifier and the inventory registration. If the case does not open, check the case item event and resource startup. Missing images are a separate issue from missing inventory items: verify the actual image filename and location. Preserve console errors and the case identifier when reporting an issue.
