Supported Scripts
XR-MDT dynamically embraces a highly versatile bridge architecture ineditable/ to conform natively with your stack.
🛠️ Framework Support
[!NOTE] Framework is detected automatically at startup. Priority:qbx_core→qb-core→es_extended. You can override this withConfig.Framework = 'qb'inconfig.main.lua.
💼 Inventory Support
[!TIP] Whenox_inventoryis detected, the Bridge automatically usesOxInventory:GetItemCount(),AddItem(), andRemoveItem()instead of framework-specific methods. This overrides all other inventory methods.
💵 Finance / Banking Integrations
TheBridge.Bank in editable/server/main.lua auto-detects your banking resource:
[!IMPORTANT]
All banking transactions (fines paid via LSPD, medical bills via EMS, bonuses via Business) are automatically recorded in the bank_statements table. This powers the BizPad financial dashboard. Make sure this table exists in your database.
🚔 Jail Integrations
TheBridge.JailPlayer() function in editable/server/main.lua auto-detects your jail resource:
For a custom jail resource, override
EditTable.LSPD.Events.JailPlayer in editable/server/lspd.lua:
🎯 Targeting System (ox_target / qb-target)
Used for physical interaction zones (printer zones, armory zones etc.):
The
Bridge.AddBoxZone() function handles all three automatically. No configuration needed.
🛰️ Optional Synergies
[!NOTE]
Have a bespoke architecture you need integrated?
Safely configure all events and integrations via the editable/ folder without breaking the escrow. Navigate to the EditTable Reference for a complete API breakdown.
