First Setup
Once you have installed MDT Dispatch V2, you need to configure your departments, set up clearances/permissions, and configure page access. Follow this step-by-step guide to get everything configured correctly.
🎥 Video Guide: Department Setup & Configuration
1. Open the Admin Panel
Log in to your server as a player with admin permissions and open the MDT Admin Panel using the following command in chat:
/mdt-admin2. Create a Department
- Navigate to the Departments tab inside the
/mdt-adminpanel. - Click on Create Department (or select an existing one to edit).
- Fill in the required general details, such as name, logo/icon, and styling themes.
3. Link Framework Jobs (Clearance Tab)
To ensure the correct players can access this department, you must configure their job clearance:
-
Click on the Clearance tab in the top-right corner of the department configuration menu.
-
Add the job(s) that should have access to this department.
-
CRITICAL: Use the Job ID, Not the Display Name!
When adding a job, make sure you enter the exact Job ID (e.g.,
police,sheriff,ambulance) and NOT the display name or label.This must match the exact identifier used by your framework (e.g., the job ID you use when running the
/setjob [id] [job_id] [grade]command).
🔄 Assigning Multiple Departments & Sharing Data
MDT Dispatch V2 offers flexible options for mapping framework jobs to virtual MDT departments:
- Multiple Departments under One Job: You can link multiple departments to a single framework Job ID.
-
Setting a Primary Department: To ensure that dispatch and other core features function correctly, you must set one department as the primary department for the job.
Inside the department configuration in
/mdt-admin, look at the job list in the top right. Click the star icon next to the department to set it as primary, and then click Save.
-
- Switching Departments in
/mdt: If a player's job is assigned to multiple departments, they will see a dropdown in the header of the main/mdtinterface. This allows them to switch between their assigned departments seamlessly. - Sharing Data (e.g., Police and BCSO sharing the same MDT database): If you want different framework jobs (such as
policeandsheriff/bcso) to share all of their MDT records, dispatch data, dashboard, and roster:- Create a single common department in
/mdt-admin(e.g., "Law Enforcement"). - Go to the Clearance tab of that department.
- Add both Job IDs (
policeandsheriff) to the clearance list of this same department. - Set this department as the primary department for both jobs using the star icon next to the job entry in
/mdt-admin.
- Create a single common department in
4. Set Permissions in Capabilities
Inside /mdt-admin for the department, navigate to the Capabilities section:
- Configure the general capabilities and access rights for the department.
- Ensure you assign and set the Department Manager Rank (the command rank). This rank will have the authority to manage their own department's internal settings and ranks.
5. Rank-Specific Page Permissions (In-Game Setup)
Once the configurations are saved in /mdt-admin and a user with the Department Manager Rank logs in:
- The department manager should open the main MDT interface:
/mdt - Navigate to the Department Settings / Command section.
- Set the permissions per rank.
- Assign access to specific pages (such as Dashboard, Criminal Records, CCTV, SOPs, etc.) according to what the department has access to and what matches each rank's responsibilities.
Installation
Thank you for choosing MDT Dispatch V2, your ultimate solution for a modern, efficient, and customizable MDT (Mobile Data Terminal) and Dispatch system for your FiveM server.
OX Inventory
For servers using ox_inventory, you need to define the MDT items in your ox_inventory/data/items.lua file.