Shared Config
Edit configs/sh_config.lua for the language, framework, permissions, and departments. Restart the resource after any change.
🛠️ Debug
Use debug only when testing or when support asks for more information.
CONFIG.Debug = false💬 Locale
Set the language file loaded from rcore_mdt/locales.
CONFIG.Locale = 'en'Included languages: en, es, and fr. See Locale.
🧩 Framework
CONFIG.Framework = Framework.ESXFramework.ESX
ESX
Framework.QBCore
QBCore
Framework.QBox
QBX
Framework.Standalone
Standalone
🛡️ Permissions
CONFIG.Permissions lists every permission a rank can be given. Ranks receive them in each job's Perms table. See Add Jobs.
incidents
Create and delete incidents, remove criminals from incidents.
profiles
Edit civilian profiles.
bolos
Create, edit, and delete BOLOs.
case_files
Edit and delete case file topics, delete replies.
bulletins
Post and delete bulletins.
penal_codes
Create, update, and delete penal codes.
boards
Create, edit, delete, and take control of evidence boards.
fines
Change a fine's status.
medical
Create, update, and delete medical records.
vehicles
Add and delete vehicle notes, mark and clear wanted vehicles.
Ranks without a permission can still view that section.
🏢 Jobs
CONFIG.JOBS defines every department that can use the MDT, with its ranks, permissions, units, and screens. See Add Jobs.
Last updated