Resources / Guides / Setup

QBCore MDT setup

Install Solvora MDT on a QBCore server: database and grants, resource placement, server.cfg order, first-start checks, permissions, and the failures that stop a first install.

Updated 17 November 2026 9 min read Solvora Studios

This guide is for QBCore. Running Qbox instead? Use the Qbox setup guide; the database and resource steps are the same, the framework lines are not.

Explore Solvora MDT

Preflight

Before you start.

Solvora MDT installs on a QBCore server as a set of FiveM resources. You do not need to write code, but you do need access to the server and its database. Use a staging server first if you have one.

RequirementWhat you need
FiveM artifact5181 or newer for Cfx Asset Escrow. Current artifacts are recommended.
Frameworkqb-core, and only QBCore. Do not run Qbox at the same time.
DatabaseMariaDB 10.11 or newer with oxmysql.
Inventoryox_inventory is required for printed-document items.
Targetingox_target is optional and adds printer, armory, and world-interaction targets.
Accessserver.cfg, the resources/ directory, and a database user that can run migrations.
OwnershipThe Cfx.re account that owns the assets. The server license key must belong to that account.
  • Take a verified backup of the database and note who can roll it back.
  • List the exact provider names for your prison, dispatch, evidence, banking, and phone scripts.
  • Keep passwords and API keys in convars or protected environment files, never in a resource file or a support ticket.

Step 1

Create the database and runtime user.

Create a dedicated MariaDB database and a user for the MDT. Do not reuse your framework user if you can avoid it: separate credentials make backups, audits, and recovery cleaner.

The runtime user needs create, alter, index, references, and trigger privileges because the MDT applies ordered migrations on start. Keep the connection string in server.cfg or a protected environment file.

Do not edit the migration ledger

Applied migrations are checksum-protected. Changing the ledger to force an upgrade will break future upgrades. If a migration fails, fix the database permission or state and retry rather than editing the record.

Step 2

Place the resources.

After purchase, authorize the Tebex basket with the Cfx account that should own the MDT. The asset is granted to that account and can be downloaded from Keymaster. Place these folders in your resources/ directory:

  • solvora_core — the MDT runtime, embedded native dispatch and call board, and database migrations.
  • solvora_cms — Premium Edition only; optional outbound transport for CMS. CMS Hosted uses the separately configured cms_bridge. Leave it out if you are not connecting CMS.

Do not add a separate solvora_dispatch folder. Dispatch is embedded in solvora_core, and running both duplicates events.

Keep local configuration in config/local.lua and any documented custom exports outside the files you replace on upgrade.

Step 3

Order server.cfg.

Start the database, inventory, and framework before the Solvora resources. A common QBCore block looks like this:

ensure oxmysql
ensure ox_inventory
ensure ox_target

ensure qb-core

ensure solvora_core

# Premium Edition only, after configuring the bridge:
# ensure solvora_cms

If both Qbox and QBCore resources are present, set solvora_framework explicitly so the MDT fails closed instead of guessing. Add the mysql_connection_string for the database you created in step 1.

Step 4

Start and watch the console.

On first start, solvora_core applies the schema migrations and checks whether the printed-document items exist in ox_inventory. If they are missing, it writes a marked item block into ox_inventory/data/items.lua.

  1. Start the server and watch the console for the migration and item installation result.
  2. If the items were newly installed, restart ox_inventory or the whole server once. The inventory only loads item definitions at startup.
  3. Confirm solvora_print and solvora_warrant_copy exist and can be used from a player inventory.
  4. If the file cannot be written, printing still works, but the document opens directly in the MDT viewer.
Two errors worth knowing

database_unavailable means the core cannot use MariaDB. Check the connection string, grants, and oxmysql output. framework_unavailable means qb-core was not running or was not detected.

Step 5

Configure permissions and roles.

Permissions are checked on the server against job, grade, duty state, and capability. Missing rules deny access. Job-name rules take precedence over job-type rules, and duty is rechecked per action.

Start with your real command structure: which jobs can open the terminal, which grades can approve warrants, who can issue fines, who can dispose of evidence, and who can see classified records. Restrict JobAccess.Identifiers to named owners, and review it after every staff change. The Settings interface stores department permissions, dispatch configuration, fines, printing costs, and armory deployment in solvora_settings, so they survive a resource replacement.

Review the audit log after the first shift. It records privileged actions with the player, target, and outcome, which is the difference between a policy and a hope.

Hiring, rank changes, and termination are handled in Settings > Roles & Access > Personnel. System Admin reaches every division; a manager with staff.manage is limited to their own. See hiring and termination. If your department jobs do not have a type, follow the job-table fallback guidance rather than relabeling a non-LEO job.

Step 6

Verify the install.

  • Open the terminal with an on-duty police character and confirm the correct job and grade are recognized.
  • Create a test dispatch call, assign a unit, and move the call through assignment and clearing.
  • Search a citizen, open a vehicle record, and write an arrest report.
  • Package a test evidence item, transfer it, and confirm the custody history is readable.
  • Issue a fine, route a sentence to your prison provider, and confirm the receiving script handles it.
  • Print a document, hand it to a civilian character, and confirm they can read it without police access.
  • Check the audit log for the actions above and confirm the entries match.

When it fails

Troubleshooting the first install.

SymptomLikely causeWhat to do
database_unavailableConnection string or grantsFix the oxmysql connection, verify the runtime user's privileges, and restart solvora_core.
framework_unavailableQBCore did not start or was not detectedStart qb-core before the MDT and confirm only one framework is running.
Printed item is missingFirst-start item installer did not loadCheck the solvora_core startup log, confirm ox_inventory started first, and restart once.
Commands do nothingJob, grade, or duty check failedConfirm the character is on duty and the job name and grade match the permission rules.
Bridge will not startEndpoint or token failed validationCheck the solvora_bridge_* convars, or remove the bridge if you are not using CMS.

Questions

Common questions.

Do I need to edit Lua to install the MDT?

No coding is required. You need access to server.cfg and the resources directory, plus a database user that can run migrations. Keep local changes in config/local.lua so they survive an update.

What order should the resources start in?

Start oxmysql, ox_inventory, ox_target if used, qb-core, then solvora_core and solvora_dispatch. Add solvora_bridge only if you are connecting CMS. The framework must be running before the MDT core starts.

Will the MDT overwrite my ox_inventory items file?

On first start, solvora_core checks for the printed-document items and writes a marked block only if they are missing. Review the diff, then restart ox_inventory or the server once so the new items load.

Can I run QBCore and Qbox at the same time?

No. Run exactly one framework. If the server has both detected, set solvora_framework explicitly so the MDT fails closed instead of guessing.

What does database_unavailable mean?

The core could not use MariaDB. Check the mysql_connection_string, the runtime user's grants, and the oxmysql console output, then restart solvora_core.

Keep going

Setup

Qbox MDT setup

The Qbox-specific installation path, including qbx_core ordering, qbx_prison fallback, and the differences from QBCore.

Start here

What is a FiveM MDT?

The plain-English guide to what an MDT is, what it replaces, and how to choose one that fits the server you already run.

Operations

FiveM dispatch and MDT: how calls become records

Where dispatch ends and the MDT begins, and how to stop the two from becoming separate silos.