📚Library
A universal FiveM/RedM framework bridge and utility library. Provides a unified API for inventory, targeting, player data, UI, and more — regardless of which framework or resources you run.
Last updated
A universal FiveM/RedM framework bridge and utility library. Provides a unified API for inventory, targeting, player data, UI, and more — regardless of which framework or resources you run.
dirk_lib is the shared foundation for all DirkScripts resources. It automatically detects your framework, inventory, targeting, and other resources, then provides a single consistent API that works across all of them.
Zero config — Auto-detects ESX, QBCore, QBX, and 60+ other resources on startup.
One API — Write lib.inventory.addItem(...) and it works with ox_inventory, qb-inventory, dirk_inventory, and more.
Lazy-loaded modules — Only loads what you use. No bloat.
Built-in UI — Notifications, context menus, progress bars, dialogs, input prompts, text UI, and more.
In-game config — JSON Schema-based settings system with database persistence, change history, and NUI admin panels.
Developer tools — Polygon creator, entity placer, position grabber, model viewer — all via /devtools.
Cache system — Auto-tracks player ped, vehicle, weapon, job, gang, and more with change listeners.
ox_lib compatible — Drop-in replacement for ox_lib exports. Scripts using ox_lib work without changes.
dirk_lib bridges across 14 systems with support for 60+ resources including:
Framework
es_extended, qbx_core, qb-core, pork_core
Inventory
dirk_inventory, ox_inventory, qb-inventory, qs-inventory, codem-inventory, core_inventory, tgiann-inventory, origen_inventory
Target
ox_target, qb-target, qtarget
Interact
sleepless_interact
Keys
qb-vehiclekeys, wasabi_carlock, Renewed-Vehiclekeys, and 10+ more
Fuel
LegacyFuel, ox_fuel, cdn-fuel, and 8+ more
Last updated