Skip to content

Dependencies ​

Required ​

ResourceWhy
ox_libCallbacks, shared helpers, UI utilities
oxmysqlAll database access
screenshot-basicScreenshot capture and Discord upload
ESX or QBCore/QBoxPlayer identity + admin checks

Declared in fxmanifest.lua as:

lua
dependencies {
    'ox_lib',
    'oxmysql',
    'screenshot-basic',
}

The framework is not listed as a hard dependency so you can run ESX or QB, but one of them must be started before leno_reports. Setting Config.Framework explicitly chooses a bridge; it does not start the framework for you.

Framework (Config.Framework) ​

ValueBehavior
'auto' (default)Prefer qbx_core / qb-core → QB; else es_extended → ESX
'esx'Force ESX bridge
'qbcore'Force QB / QBox bridge

If nothing is found, the resource logs an error and bridges do not load correctly.

Inventory (Config.Inventory) — optional ​

Used for nearby / involved player inventory snapshots. With 'auto', the first started resource wins, in this order:

  1. ox_inventory
  2. core_inventory
  3. one_inventory
  4. codem-inventory
  5. tgiann-inventory
  6. qs-inventory
  7. hex_4_inventory
  8. qb-inventory (also recognizes lj-inventory / ps-inventory)
  9. else 'custom'

Use the bridge names listed in Config.Inventory when selecting a value explicitly. lj-inventory and ps-inventory are detected aliases for the qb-inventory bridge, not separate bridge names.

Detection selects an adapter; verify that inventory snapshots contain the expected items with your inventory version. CodeM and Tgiann adapters implement the documented full-inventory exports used by report snapshots. See Customization.

Notify (Config.Notify) — optional ​

ValueBackend
'default' (default)Built-in bridge notify
'ox_lib'ox_lib notify
'okokNotify'okokNotify
'qb'QB notify
'esx'ESX notify
'custom'Your bridge implementation

Aliases such as okok, oxlib, qbx are accepted by the bridge init.

Select the backend explicitly; notifications do not use the inventory-style automatic detection. For editable integrations, see Customization.

Screenshot stack ​

Always loaded via bridge/screenshot/*. Requires:

  • screenshot-basic started
  • Config.Screenshots.enabled = true (default)
  • leno:discord_images_webhook set for uploads

screenshot-basic remains a manifest dependency even when captures are disabled in configuration.