Installation
Page dedicated to how to install our DOJ MDT [V2]
Step #1 - Drag & Drop
Just Drag & Drop the qf_mdt_doj_v2 folder into your resources folder.
Step #2 - SQL Installation
Step #3 - Job
By default the tablet opens for the job named doj. If your court uses another job name, change it in Config.Jobs and Config.Society (see Configuration).
Step #4 - Items (optional)
The tablet, court IDs, court papers and identity cards can be inventory items. Item definitions for ox_inventory are in ox_inventory_items.md inside the resource. On qb-inventory, ps-inventory, codem-inventory, tgiann-inventory and qs-inventory use that inventory's own item format with the same names and unique = true, useable = true, shouldClose = true.
Step #5 - Script start
Make sure oxmysql and your framework start before the MDT:
If you also run our Police MDT [V2], start it before the DOJ MDT so the bridge finds its tables on the first check:
The order is a convenience, not a requirement: the bridge checks again on every poll.
Step #6 - Admin permissions
Two admin commands are protected by aces. Add them to your server.cfg:
After the first start run /mdt doctor. It checks your configuration and tells you which option to fix, for example a picture missing from artwork/ or an option that no longer exists.
Requirements
ESX, QBCore or QBox (detected automatically)
oxmysqlFiveM server build 4752 or newer
screenshot-basicfor the identity photo booth and gallery photos. Without it cards use the stored mugshot instead.
Optional:
ox_inventory, qs-inventory, tgiann-inventory, codem-inventory, ps-inventory or qb-inventory for papers and cards as items
ox_targetorqb-targetfor the e-office clerk and the photographer. Without them a key prompt on E is used.qf_mdt_police_v2for the bridge that turns police charges into DOJ cases
Last updated

