PS MDT for QBCore: Complete Installation and Configuration Guide

admin

PATRON
Katılım
23 Eki 2022
Mesajlar
14,634
Çözümler
15
Tepkime puanı
19,179
Puanları
113
Yaş
29
Web sitesi
farming-simulator.r10dev.net
29e4ef8e-7b24-4821-a6ce-7c9e3c111fd1

What is PS MDT?


PS MDT is a professional-grade Mobile Data Terminal system for QBCore servers on FiveM. Built with Svelte 5 and Lua, it provides officers with a comprehensive in-game law enforcement computer accessible via F11 or the /mdt command. The system handles citizen lookups, report writing, case management, evidence tracking, warrant issuance, BOLOs, vehicle and weapon searches, security camera feeds, bodycam integration, dispatch management, and department administration—all with granular permission-based access control.

Core Dependencies


Before installation, ensure these resources are running on your server:

  • ps_lib – Framework abstraction layer enabling QBCore and QBX compatibility
  • oxmysql – Database management system
  • ox_lib – Utility library for core functionality
  • screenshot-basic – Mugshot and evidence photo capture system

Highly recommended optional resources include ps-dispatch for dispatch integration and ps-multijob for bodycam support.

Installation Steps


Step 1: Update QBCore Job Definitions


Remove default judge and lawyer entries from qb-core/shared/jobs.lua, then add the DOJ-structured replacements with proper hierarchy and payment grades.

Step 2: Import Database Schema


Execute sql/qbcore.sql against your FiveM database using phpMyAdmin, HeidiSQL, or similar tools. This creates all required MDT tables and structures.

Step 3: Configure FiveManage API Keys


Image uploads and audit log forwarding require FiveManage integration. Add these convars to server.cfg:

Kod:
set ps_mdt_fivemanage_key_images "YOUR_IMAGES_API_KEY_HERE"
set ps_mdt_fivemanage_key_logs   "YOUR_LOGS_API_KEY_HERE"

The images key enables mugshots and evidence photo uploads. The logs key forwards activity trails to FiveManage (optional—local database logging works without it).

Step 4: Build the Frontend


If using a release package, the frontend is pre-built. For development installations, run build commands as specified in the repository documentation.

Configuration and Best Practices


Permission Management


Assign MDT access based on officer rank and department role. Restrict sensitive operations (warrant issuance, evidence handling, case closure) to authorized personnel only.

Common Troubleshooting


  • MDT command not working – Verify ps_lib, oxmysql, and ox_lib are running and loaded before ps-mdt
  • Image upload failures – Confirm FiveManage API keys are valid and correctly set in server.cfg
  • Database errors – Check that qbcore.sql was successfully imported and all tables exist
  • Missing features – Ensure optional resources (ps-dispatch, ps-multijob) are present if needed

Server Performance[/H2]

The Svelte 5 frontend is optimized for minimal client-side overhead. Monitor database query times during peak usage, as high concurrent MDT access can impact oxmysql performance on under-provisioned servers.

Conclusion


PS MDT v3 delivers enterprise-level law enforcement tooling for QBCore ecosystems. Proper dependency installation, database setup, and API configuration ensure smooth deployment. For updates, issues, and community support, consult the official GitHub repository.
7f228a36-5d82-40ba-ade9-d9da78d249fd



📦 İlgili Açık Kaynak Projeler & GitHub Bağlantıları

  • (330 ⭐ | Dil: Svelte | Lisans: NOASSERTION) - MDT for QBCore

Hızlı Kurulum & Klonlama Komutu:

Kod:
git clone https://github.com/Project-Sloth/ps-mdt.git


🔗 Related Topics

 
Üst
Icy Tower Game Reklam Ver