Lookups
Citizens, plates, records and warrants.
coe_mdtPolice MDT
Citizen and plate lookup, reports, warrants and calls on the tablet
coe_corecoe_databasecoe_loggingcoe_businessescoe_policecoe_dispatchcoe_tablet
coe_mdt
5 exports · 0 commands
Runs without a NUI: nothing is rendered on the client and the resource stays idle until events arrive.
The police MDT, opened by the MDT app in coe_tablet. It only opens for officers on duty in a police business and revalidates duty, category and rank permission on every action: mdt.access, mdt.lookup (citizens and plates), mdt.reports (reports) and more. Every personal-data lookup is logged.
The police's most sensitive tool: going off duty or losing the rank cuts access immediately, and every lookup lands in the access log.
Citizens, plates, records and warrants.
Filed and searchable reports.
coe_dispatch integration.
Every lookup audited.
Every COE Framework script strictly follows the principle of separation of concerns. Interact with the 3D stack below:
Operates strictly within layers L1–L3 (domain, HAL, and server-authoritative application logic). Visual interactions and management flows are delegated to centralized ecosystem apps (coe_ui / coe_tablet), guaranteeing 0.00 ms idle client overhead in FiveM DX12.
Manage your city without relying on developers. Runtime parameters, auditing, and ACE-protected commands:
IsPlayerAceAllowed(src, "coe.admin")
exports.coe_audit:Record(severity, category, event, context)
Clean Architecture & HAL
Typed contracts to call from other resources. Full types live in types.lua and in the docs reference.
exports['coe_mdt']:AccessLog(subject, limit)
→ any
Returns access records for internal affairs. Restricted to authorized resources.
| Parameter | Type |
|---|---|
subject | any |
limit | any |
local result = exports['coe_mdt']:AccessLog(subject, limit)exports['coe_mdt']:TabletCall(playerId, appId, action, payload)
→ any
Single entry point: coe_tablet:call -> TabletCall(playerId, appId, action, payload).
| Parameter | Type |
|---|---|
playerId | any |
appId | any |
action | any |
payload | any |
local result = exports['coe_mdt']:TabletCall(playerId, appId, action, payload)exports['coe_mdt']:RecordFinancialAnomaly(report)
→ boolean
Registra alerta estatístico COAF/FIB (Welford-CUSUM) de inteligência financeira.
| Parameter | Type |
|---|---|
report | table |
local result = exports['coe_mdt']:RecordFinancialAnomaly(report)exports['coe_mdt']:RecordGridAnomaly(report)
→ boolean
Registra alerta de anomalia energética/térmica (Welford-CUSUM) da malha elétrica.
| Parameter | Type |
|---|---|
report | table |
local result = exports['coe_mdt']:RecordGridAnomaly(report)exports['coe_mdt']:GetIntelligenceReports()
→ table[]
Retorna a lista de relatórios de inteligência financeira e térmica.
No parameters.
local result = exports['coe_mdt']:GetIntelligenceReports()This module registers no commands: it is driven by exports and events.