Eligibility modes
Config.Wearers.EligibilityMode supports three values:
The shipped mode is
permission. RequireOnDuty is true, so a framework player explicitly reported as off duty is denied even if another enabled check would otherwise pass.
Shipped configuration
Permission and job eligibility
The permission check accepts bodycam.use through ACE. When Events Core is configured for ESX, QBCore, or Qbox, an on-duty job listed in eventsBodycam/config/permissions.lua can also satisfy the check. The shipped job list contains police, sheriff, ambulance, and fire. Review both the wearer policy and Permissions before launch; bodycam.use alone does not grant bodycam.record or evidence access.Inventory eligibility
Inventory eligibility is disabled by default, and the shipped adapter intentionally returns false until it is connected to your inventory system. To enable it:- Set
Config.Wearers.Inventory.Enabledto true. - Set
Itemto the exact server-side inventory item name. - Edit eventsBodycam/integrations/inventory.lua so
HasBodycamItemchecks the trusted server inventory for the supplied player source. - Select
anyorallaccording to your policy. - Test adding, removing, and transferring the item.
EUP eligibility
EUP rules match a component slot, one or more drawable IDs, and optional texture IDs on the server-observed player ped. An empty texture table accepts every texture for an allowed drawable. Example structure:Choose a policy
Common configurations include:permission: trusted department members can use Bodycam regardless of uniform or inventory.anywith EUP enabled: a bodycam uniform component can qualify a wearer even without bodycam.use.allwith inventory and EUP enabled: the player needs bodycam.use, the configured inventory item, and an approved uniform component.
all is the strictest option but depends on every enabled adapter being available. Test resource restarts and clothing/inventory failures so the policy denies access predictably.
Test the policy
After restarting Events Core and Bodycam:- Test an authorized on-duty wearer and start a recording.
- Test an off-duty player when RequireOnDuty is enabled.
- Test an unauthorized player with no inventory item or approved EUP component.
- If inventory is enabled, add and remove the configured item.
- If EUP is enabled, test every allowed drawable and texture plus one disallowed variation.
- Change ped, uniform, duty state, or routing bucket and confirm Bodycam re-evaluates the binding.

