đ Modular Integration Bridge (bridge.lua) â
dynadev-vip includes an unlocked, open-source integration file (bridge.lua). It is whitelisted in escrow_ignore, granting server developers 100% freedom to hook any custom inventory or alert system without encryption limitations.
đ Supported Inventories Out-Of-The-Box â
| Inventory System | Config Key | Supported Methods |
|---|---|---|
| ox_inventory | 'ox_inventory' | SetMaxWeight & SetSlotCount with 0ms relog sync |
| qb-inventory | 'qb-inventory' | Standard QBCore inventory & lj-inventory capacity hooks |
| ps-inventory | 'ps-inventory' | Project Sloth inventory dynamic weight updates |
| qs-inventory | 'qs-inventory' | Quasar Inventory SetMaxWeight & SetInventorySlots |
| core_inventory | 'core_inventory' | Core Roleplay setWeight & setSlots |
| codem-inventory | 'codem-inventory' | CodeM m-Inventory SetMaxWeight & SetMaxSlots |
| Custom Adapter | 'custom' | Calls your own Bridge.CustomInventory() function |
đ Supported Notifications Out-Of-The-Box â
| Notification System | Config Key | Description |
|---|---|---|
| ox_lib | 'ox_lib' | Overextended modern toast notifications |
| okokNotify | 'okokNotify' | okokNotify sleek UI alert popups |
| wasabi_notify | 'wasabi_notify' | Wasabi notification system |
| mythic_notify | 'mythic_notify' | Mythic HUD alerts |
| t-notify | 't-notify' | T-Notify modern alerts |
| Framework Native | 'framework' | Native Qbox, QBCore (QBCore:Notify), or ESX |
| Custom Adapter | 'custom' | Calls your own Bridge.CustomNotify() function |
đ ī¸ Adding Your Own Custom Inventory Adapter â
Open bridge.lua and simply fill in your server's custom exports:
lua
-- In bridge.lua (Server-Side):
function Bridge.CustomInventory(source, targetWeight, targetSlots, isVIP, vipData)
-- Insert your custom inventory exports:
exports['my_inventory']:SetPlayerMaxWeight(source, targetWeight)
exports['my_inventory']:SetPlayerSlots(source, targetSlots)
return true
end