Installation
From Keymaster to a running resource
va_policemdtView the product →
Five minutes from Keymaster to a running resource. Read the dependencies first — nine out of ten support tickets are a missing ox_lib.
Install it
Download the resource
Download
va_policemdt.zipfrom your Cfx Keymaster and unzip it intoresources/[va].The folder must be named
va_policemdt— rename it if it unzips under a different name (e.g. with a version number). The script will not start under any other name.Add it to server.cfg
Order matters —
ox_libandoxmysqlmust start before the tablet.ensure ox_lib ensure oxmysql ensure va_policemdtRestart and log in
Restart the server. Join as a police job and press
O— the tablet should open. On first run, set the terminal up with/mdtsetup.
Dependencies
Install these before the tablet. Versions below are the minimums we test against.
| Resource | Version | Required |
|---|---|---|
ox_lib | 3.20.0 | Yes |
oxmysql | 2.9.0 | Yes |
es_extended | 1.9.0 | Yes |
screenshot-basic | — | Optional — mugshots |
Configuration
config.lua is plain text and escrow-free. Edit it before the first start.
Config = {}
Config.Locale = 'da'
Config.OpenKey = 'O'
Config.AllowedJobs = { 'police', 'sheriff', 'pet' }
Config.RequireOnDuty = true
Config.Modules = {
records = true,
warrants = true,
anpr = true,
dispatch = true,
reports = true,
}Turn a module off and its tab disappears from the tablet for every officer — no client cache to clear.
Troubleshooting
Your job name is not in Config.AllowedJobs, or RequireOnDuty is on and you are off duty.
The tables were not created. The resource creates them itself on first start — check the server console for an oxmysql error on start and restart the resource.
Your users table is missing the ssn column. Run the migration from Første login.
Open a ticket in the Discord with your config and console output. Median reply is four hours.