Documentation
Optional Addon

PDAddons

Modular VCORE police tooling contained in one resource: cuff visuals, evidence camera, bodycams, PD/civilian drones, fingerprinting, community service, radar/BOLO and identification cards. 1. Import sql/pdaddons.sql into the VCORE database. 2. Keep core, inventory, logs and oxmysql before PDAddons in the boot order. The camera additionally needs a running resource that provides the standard screenshot-basic export. 3. Configure jobs, supervisor grades, modules and controls in config.lua. 4. Put the evidence Discord webhook in the private config: set vcorepdaddonscamerawebhook "". 5. Add matching inventory images for the item filenames registered in core/shared.gta5.lua. Do not put the Discord webhook in config.lua; shared resource files are downloaded by clients.

v1.0.0VCore FrameworkNot enabled in supplied server.cfg

Introduction

Modular VCORE police tooling contained in one resource: cuff visuals, evidence camera, bodycams, PD/civilian drones, fingerprinting, community service, radar/BOLO and identification cards. 1. Import sql/pdaddons.sql into the VCORE database. 2. Keep core, inventory, logs and oxmysql before PDAddons in the boot order. The camera additionally needs a running resource that provides the standard screenshot-basic export. 3. Configure jobs, supervisor grades, modules and controls in config.lua. 4. Put the evidence Discord webhook in the private config: set vcorepdaddonscamerawebhook "". 5. Add matching inventory images for the item filenames registered in core/shared.gta5.lua. Do not put the Discord webhook in config.lua; shared resource files are downloaded by clients.

9Client Lua
9Server Lua
13Exports
33Events
3SQL tables

UI page: web/index.html

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
logsManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite
screenshot-basicReferenced by sourceExternal / optional reference

Cross-resource export calls

ResourceFunctions called
coregetCoreObject
inventoryAddItem
logsLog
screenshot-basicrequestClientScreenshot

Installation / Start Order

The updated server.cfg explicitly classifies PDAddons under Addons and extras. It is optional and is not started by default.

server.cfg
ensure PDAddons

Keep the addon after its required framework dependencies. Global Vcore prerequisites and database setup are documented in Getting Started.

Configuration

Config files

  • config.lua

Top-level config keys detected

No Config/VCOREConfig keys detected by the audit.

Events, Exports & Callbacks

Exports

Client exports6
  • DeployCivDrone
  • DeployPDDrone
  • OpenEvidenceCamera
  • RequestFingerprint
  • ToggleBodycam
  • TogglePoliceRadar
Server exports7
  • AddBoloPlate
  • AssignCommunityService
  • GetCommunityService
  • PresentID
  • ReleaseCommunityService
  • RemoveBoloPlate
  • VerifyEvidencePhoto

Callbacks

No Vcore callback registrations were detected.

Registered network events

Client registered events20
  • PDAddons:client:bodycam:forceOff
  • PDAddons:client:bodycam:list
  • PDAddons:client:bodycam:toggle
  • PDAddons:client:bodycam:watch
  • PDAddons:client:camera:captureResult
  • PDAddons:client:camera:open
  • PDAddons:client:comserv:return
  • PDAddons:client:comserv:sync
  • PDAddons:client:cuffs:set
  • PDAddons:client:drone:deploy
  • PDAddons:client:drone:forceReturn
  • PDAddons:client:fingerprint:consent
  • PDAddons:client:fingerprint:result
  • PDAddons:client:fingerprint:scan
  • PDAddons:client:fingerprint:start
  • PDAddons:client:ids:show
  • PDAddons:client:menu
  • PDAddons:client:notify
  • PDAddons:client:radar:alert
  • PDAddons:client:radar:toggle
Server registered events13
  • PDAddons:server:bodycam:list
  • PDAddons:server:bodycam:set
  • PDAddons:server:bodycam:watch
  • PDAddons:server:camera:capture
  • PDAddons:server:comserv:assign
  • PDAddons:server:comserv:escaped
  • PDAddons:server:comserv:start
  • PDAddons:server:comserv:task
  • PDAddons:server:drone:set
  • PDAddons:server:fingerprint:complete
  • PDAddons:server:fingerprint:consent
  • PDAddons:server:fingerprint:request
  • PDAddons:server:radar:scan

Commands

Client commands2
  • fingerprintaccept
  • fingerprintdeny
Server commands5
  • bodycams
  • comserv
  • pdaddons
  • pdbolo
  • releasecomserv

Database / SQL

FileType
sql/pdaddons.sqlResource SQL file
pdaddons_bolospdaddons_community_servicepdaddons_evidence_photos

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua9
Server Lua9
Other/shared Lua3
JavaScript1
HTML1
CSS1
SQL1

Troubleshooting

  • Confirm all manifest dependencies are started before PDAddons.
  • This addon is intentionally commented out in the supplied server.cfg. Enable it only after its dependencies are installed.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.