Docs/Yecoyz MDT

Installation

Dependencies and setup for Yecoyz MDT.

1. Dependencies

Resource Notes
oxmysql Required
yecoyz_core Required. Handles the framework, jobs and notifications
ESX, QBCore or Qbox Your framework
ox_inventory Optional. Weapon registry and evidence lockers
Yecoyz Tablet Optional. The MDT as an app on the tablet
Yecoyz Radar Optional. BOLOs, plate reader alerts and speed reports
yecoyz_duty Optional. Hours on duty in the roster

2. Download

Download yecoyz_mdt from Keymaster and extract it into your resources folder. See Getting started for the details.

Important

Don't rename the resource folder.

3. server.cfg

Start it after its dependencies and your framework:

cfg
ensure oxmysql
ensure yecoyz_core
ensure yecoyz_tablet    # optional
ensure yecoyz_radar     # optional
ensure yecoyz_mdt

The tables (mdt_*) are created on the first start, and the penal code and report templates are filled in from config.lua.

4. Departments

Set your jobs in Config.Departments (see Configuration). The defaults are police and sheriff for the police department and ambulance for EMS.

5. Opening the MDT

Way Setup
Command and key /mdt and F11 by default (Config.Open). Players can rebind the key
Only in vehicles Config.Open.Where = 'vehicle' limits the command to emergency vehicles
Computers Station computers in Config.Computers, used with E
Item Config.Open.Item. With ox_inventory, add export = 'yecoyz_mdt.useItem' to the item
Tablet An app on Yecoyz Tablet, added by itself when the tablet runs (Config.Tablet)

6. Logs to Discord (optional)

Set the webhook as a convar so it never ends up in a file you share:

cfg
set yecoyz_mdt_webhook "https://discord.com/api/webhooks/..."

Updating

Replace the folder with the new version from Keymaster. Keep your config.lua and compare it with the new one. Database changes are applied on start.

Stuck on this step?

Open a ticket in the Discord with what you tried and what you see, and I'll help you get it running.

Ask on Discord
Up nextConfigurationThe main options in the Yecoyz MDT config file.