Skip to main content

Supported Scripts

XR-MDT dynamically embraces a highly versatile bridge architecture in editable/ to conform natively with your stack.

🛠️ Framework Support

[!NOTE] Framework is detected automatically at startup. Priority: qbx_coreqb-corees_extended. You can override this with Config.Framework = 'qb' in config.main.lua.

💼 Inventory Support

[!TIP] When ox_inventory is detected, the Bridge automatically uses OxInventory:GetItemCount(), AddItem(), and RemoveItem() instead of framework-specific methods. This overrides all other inventory methods.

💵 Finance / Banking Integrations

The Bridge.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

The Bridge.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.