Framework integrations
Enable supported ESX and QBCore events, then fill any gaps with custom logging.
On this page
Enable your framework
Open Settings for your server, find Framework Integrations, enable the framework you use, and save. The resource registers its listeners at startup and checks the live toggle before recording events.
ESX
The ESX integration listens for supported player lifecycle, account money, inventory, job and group changes, plus selected police, ambulance, banking, billing, shop, and vehicle events.
- esx:playerLoaded → player_loaded in the player category.
- esx:setJob → job_change in the job category.
- esx:addAccountMoney → money_add in the economy category.
- esx:onAddInventoryItem → item_add in the inventory category.
Coverage depends on your framework version and the resources emitting these events. Modified resources and replacement inventory or banking systems may need custom logging at the point where an action succeeds.
QBCore and selected QBox events
The QBCore toggle enables listeners for player lifecycle, money, jobs, gangs, selected inventory and police events, and qb-log:server:CreateLog. It also includes selected qbx_core and ox_inventory listeners.
- QBCore:Server:PlayerLoaded → player_loaded.
- QBCore:Server:OnMoneyChange → money_change.
- QBCore:Server:OnGangUpdate → gang_change.
- qbx_core:server:onGroupUpdate → group_change.
- ox_inventory:usedItem → item_use, with player context when the inventory ID identifies a player.
These are specific event listeners, not a promise that every QBox or ox_inventory action is covered. Test the actions your staff needs to investigate.