Skip to content

MDT Sheriff

lo_mdtbf is a VORP resource for RedM that gives law enforcement a full mobile data terminal (MDT). Sheriffs, marshals and judicial roles get a single interface to manage the citizen registry, write reports, issue warrants, track investigations and keep jail records — all shared across stations.

Overview

The MDT opens through an inventory item (mdt_bf) or a fallback command. On open, access is filtered by the player's job and grade, and the data shown is automatically scoped to the station the player is attached to.

The interface mimics a period Red Dead Redemption case file: paginated sheets, tabs, signatures and seals. Each record (citizen, report, warrant, court order, investigation, staff) lives in its own tab and is persisted to the database.

Region-wide roles (court, prosecutor, government) can bypass the per-station filter and browse records from every bureau through a dedicated station picker.

Features

  • Citizen registry — Full records: identity, alias, age, distinguishing marks, danger level, status (alive/deceased), last known location, front and side photos, linked members (groups).
  • Reports & notes — Categorized, timestamped reports (auto reference in the STD-1902-1234 format), with status (open/closed), summary, detailed content and notes attached to a citizen.
  • Warrants — Search, arrest, committal or judicial warrants, with suspect, facts, judge, bounty, signature and seal. A physical copy can be issued (item official_warrant).
  • Court orders — Judicial orders and contracts (judgment, marriage, divorce, adoption, sponsorship), signed and sealed, with a physical copy (item official_prescription).
  • Investigations — Case files grouping members, reports, complaints, citations, warrants, notes and an investigation board.
  • Jail records — Reports can be flagged as tied to an incarceration (jail records) to track detentions.
  • Staff records (FDO) — Law enforcement personnel files: grade, weapons, training, diplomas, medical follow-ups and sanctions.
  • Station sharing — Any report, warrant, court order or investigation can be shared with other stations, independently of the edit form.

Compatibility & dependencies

ItemDetail
PlatformRedM (game 'rdr3')
FrameworkVORP
Dependencyvorp_core
Dependencyvorp_inventory
Dependencyoxmysql
DatabaseRequired (auto-installed on start)
Configurationconfig/config.lua

NOTE

The three inventory items used by the MDT (mdt_bf, official_warrant, official_prescription) must already exist in vorp_inventory.items before the resource starts.

Technical overview

The interface (NUI) is a Vue 3 application built with Vite. Only the production build is shipped (web/dist/); the web/src/ sources are development-only and not included.

The resource is translated into 6 languages: fr, en, pt-br, pt, ru, de. The active language is set via Config.Locale.

Data is stored in lo_mdtbf_-prefixed tables (citizens, reports, notes, warrants, court orders, investigations, staff) installed automatically on first start.

Next steps

  • Installation — Add the resource, the database and the start order.
  • Configuration — Language, allowed jobs, RP year, pagination and dev mode.