Resources / Guides / Setup

Qbox MDT setup

Install Solvora MDT on a Qbox server: qbx_core startup order, MariaDB and ox_inventory requirements, prison routing, permissions, and first-start validation.

Updated 17 November 2026 7 min read Solvora Studios

Already running QBCore? Use the QBCore setup guide. Both frameworks share the database and resource steps but never run together.

Explore Solvora MDT

Preflight

Before you start.

The Qbox install shares most of its steps with QBCore: create a MariaDB database, place the resources, order server.cfg, and validate the first start. This guide focuses on what changes when qbx_core is the framework.

RequirementWhat you need
FiveM artifact5181 or newer for Cfx Asset Escrow.
Frameworkqbx_core, and only Qbox. Do not run qb-core at the same time.
DatabaseMariaDB 10.11 or newer with oxmysql.
Inventoryox_inventory is required for printed documents.
PrisonOptional. qbx_prison is the default fallback; RCore Prison is recommended for a fuller prison loop.

What changes

What is different on Qbox.

  • The framework resource is qbx_core. Start it instead of qb-core. If both are present, pin solvora_framework explicitly.
  • Jobs, grades, and duty come from Qbox. The MDT reads them directly, so your existing Qbox job structure is the source of truth for permissions. Give each police and EMS job type = "leo" or type = "ems"; see job tables the MDT reads for the fallback behavior.
  • Prison routing defaults to qbx_prison. The MDT records and routes the sentence; it does not ship a prison. If you run RCore Prison, configure it as the provider and do not let two systems handle the same sentence.
  • The database and inventory rules do not change. MariaDB, oxmysql, and ox_inventory are still required.
Do not run both frameworks

Qbox and QBCore are separate frameworks. Running both to "support more jobs" creates ambiguous job, grade, and duty data. Pick one and stay on it.

Step 1

Database and resources.

Create a dedicated MariaDB database and runtime user, then set mysql_connection_string in server.cfg or a protected environment file. The user needs create, alter, index, references, and trigger privileges for migrations.

Place solvora_core in resources/; native dispatch is embedded, so do not add a separate solvora_dispatch. Premium Edition customers can add solvora_cms for CMS delivery; CMS Hosted uses the configured cms_bridge. Keep local changes in config/local.lua so they survive an update.

The detailed grants, backup, and secret-handling steps are the same as the QBCore guide; use it for the shared database section if you need the exact checklist.

Step 2

Startup order.

Start oxmysql, ox_inventory, and qbx_core before the Solvora resources:

ensure oxmysql
ensure ox_inventory
ensure ox_target

ensure qbx_core

ensure solvora_core

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

If the server also contains QBCore resources, add setr solvora_framework qbox so the MDT fails closed rather than detecting the wrong framework.

Step 3

First start.

solvora_core applies ordered, checksum-protected migrations on start. It also checks for the printed-document items in ox_inventory and writes a marked block if they are missing.

  1. Watch the console for the migration result and the item installation line.
  2. Restart ox_inventory or the server once if the items were newly installed.
  3. Confirm solvora_print and solvora_warrant_copy are available in a player inventory.
  4. If MariaDB is unreachable, fix the connection string or grants and restart solvora_core; the error is reported as database_unavailable.

Integration

Prison and police jobs.

The MDT reads Qbox jobs, grades, duty, and metadata. Wasabi Police V2 and Randolio Police Job are detected as partner providers. If you use one of them, confirm the job names and grades the MDT reads match what the police script actually assigns.

For prison, RCore Prison is the recommended provider. qbx_prison is the default fallback. TK, xT, Pickle, and the built-in teleport are also supported. Whichever you choose, make sure only one system handles a sentence so a player is not processed twice.

Dispatch sources include Project Sloth, CD Dispatch, RCore, codem, qs, Lation alerts, OP Gangs, and the four Wasabi robbery events. Pin the provider explicitly in production; an explicit provider fails closed if its resource is missing.

Step 4

Verify the install.

  • Open the terminal with an on-duty Qbox police character and confirm the job and grade are recognized.
  • Create a test call, assign a unit, and clear it.
  • Write a report, package evidence, and confirm the custody history is readable.
  • Issue a fine and route a sentence to qbx_prison or your configured prison provider.
  • Print a document and confirm a civilian character can read it.
  • Review the audit log for the test actions.

Questions

Common questions.

Should I choose Qbox or QBCore for a new server?

Both are supported. Pick the framework your server, jobs, and inventory already run on. Migrating a live city to change your MDT is a much larger job than choosing the MDT that fits the framework you have.

Does Solvora MDT replace qbx_prison?

No. The MDT records the sentence and routes it to a prison provider. qbx_prison is the default fallback; RCore Prison is recommended when you want a fuller prison loop.

Do I need to set solvora_framework on Qbox?

Only when detection is ambiguous, for example if both framework resources are present. Setting it explicitly makes the MDT fail closed if the named framework is missing, which is safer than silently switching.

Does Qbox need ox_inventory for the MDT?

Yes. ox_inventory is required because printed documents are delivered as inventory items. ox_target is optional and only adds printer, armory, and world-interaction targets.

Can I use ESX with Qbox?

No. Solvora supports Qbox or QBCore only, and ESX is not a supported framework. Run exactly one of qbx_core or qb-core.

Keep going

Setup

QBCore MDT setup

A step-by-step QBCore installation path, from the MariaDB user to the first dispatch call, with the checks that catch most mistakes.

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 evidence and case management

How to keep evidence attached to the right person, report, and case, and what a governed case file adds after the arrest.