Prepare your database
The MDT needs a modern database engine to create its tables correctly. Use one of these versions or newer:Before you start the script, delete any old MDT tables left behind by another MDT resource (tables whose name starts with mdt_). If a table with the same name already exists, the script can’t create its own schema and some features won’t work.
To check your version, run this query in HeidiSQL:
Upgrading from redutzu-mdt V2? Keep your tables. The script migrates V2 data automatically on first start.
Install all dependencies
Download and install the following dependencies:
- redutzu-mdt-prop (included with the script)
- oxmysql
- ox_lib
- Up to date server artifacts
Add the items
The MDT uses five inventory items. It doesn’t create them, so add them to your inventory. The
[items] folder included with the script has ready-made definitions and images.- ox_inventory / Qbox
- qb-core
- ESX
Add the items to Copy the images from
ox_inventory/data/items.lua:ox_inventory/data/items.lua
[items]/images to ox_inventory/web/images.Tape and markers use the Scene page of the interactions menu by default. To use the items too, set
TapeMethod and MarkerMethod to 'item' or 'both' in Config.Police.Scene, or in Field in /mdtadmin.Add the script to your server.cfg
Start the prop resource before the MDT. We suggest you start the MDT last.
server.cfg
Set up uploads
The MDT uploads recordings, screenshots, and gallery images to Fivemanage, Qbox, Discord, or your own provider.Open Then open
config/config.lua and choose your provider:config/config.lua
config/credentials.lua and paste your key next to that provider:config/credentials.lua
See Media uploads for a step-by-step setup of each provider.
Start the script
Restart your server. The MDT creates its tables on first start, so there’s no SQL file to import. If you’re upgrading from an older version, the migration converts your existing data automatically.Once it’s running, use
/mdtadmin in-game to configure the MDT. Changes apply instantly without a restart, sync to every player, and stay intact when you update the script./mdtadmin opens for the admin and god groups by default, set in Config.AdminGroups. On standalone servers, add add_ace group.admin redutzu_mdt.admin allow to your server.cfg.Configure the MDT
See everything you can change from the
/mdtadmin panel.