Dependencies · origen_ilegalv2
Before installing origen_ilegalv2, make sure every dependency is running and properly configured.
Required dependencies
| Resource | Minimum version | Notes |
|---|---|---|
oxmysql | 2.8.0 | Database connection layer |
ox_lib | 3.17.0 | Shared utilities, callbacks, UI |
| Framework | ESX 1.10+ / QBCore 1.2+ / QBX Core | Auto-detected at runtime |
Optional dependencies
| Resource | What it's for | Start before origen_ilegalv2? |
|---|---|---|
origen_inventory / ox_inventory / qs-inventory | Item storage for crafting, stashes, gang vehicles | Yes — required for auto-detection |
pma-voice | Gang radio PTT (push-to-talk) integration | Yes — required for auto-detection |
| Any dispatch resource | Police alerts on drug sales (see bridge/dispatch) | Yes — required for auto-detection |
origen_graffiti | Standalone graffiti system — requires manually disabling the internal graffiti | Yes — must start before origen_ilegalv2 |
origen_police | Robbery Requests handshake + on-duty cop count for drug sales | Recommended (also works at runtime) |
origen_graffiti — manual conflict prevention
If you use origen_graffiti, you must manually disable the internal graffiti system of origen_ilegalv2 to avoid both resources conflicting. Open config/graffiti.lua and set:
Config.Graffiti = {
Enable = false, -- Disable internal graffiti — using origen_graffiti instead
...
}When Enable is set to false, the following are completely disabled: spray can usable, NUI editor, cleaning rag, and placed-graffiti rendering. The territory reputation integration (graffiti_external.lua) remains fully active and continues to process tags placed via origen_graffiti.
Start origen_graffiti before origen_ilegalv2 in server.cfg.
origen_police — Robbery Requests
The Robbery Requests tab in the gang panel requires origen_police to be running. Start it before origen_ilegalv2 so the tab is visible from the first connection. The tab hides and re-appears automatically if origen_police stops or starts while the server is running.
Framework auto-detection
The resource detects which framework is running at boot — no manual Config.Framework key is needed.
Detection priority: qbx_core → qb-core → es_extended
Inventory auto-detection
The bridge resolves the active inventory automatically using the same detection order. Supported inventories:
origen_inventory · ox_inventory · qs-inventory
codem-inventory · qb-inventory · core_inventorymysql-async is not supported. You must use oxmysql as the database layer.
pma-voice is required only if you want gang radio PTT. Without it, the radio tab still shows channels but audio integration is disabled.