All products

MDT

A Mobile Dispatch Terminal for roleplay agencies: a Discord bot and a live web board for EMS, police, fire or an agency you name yourself. People clock in from a Discord panel, the shift runs on the board. It's hosted, so you invite the bot, run the setup wizard and start.

free · hostedDiscord bot + web board17 modulesnp_mdt v0.3.0 for FiveM
FreeHosted, nothing to install
Open MDTInvite botDocumentation
Hosting
Hosted at mdt.npdev.eu
You need
A Discord server you can add a bot to, and a browser
Admin
Discord admins and the extra admins you set run the setup, /panel and /apikey
Access
Discord login, members with your employee role
Instances
One per Discord server, fully separate
Modules
17, each switchable, plus the time clock
Templates
EMS, police, fire, neutral
Languages
Interface in German. np_mdt in German and English
API
JSON over HTTPS, OpenAPI 3.1 and a Postman collection
np_mdt
v0.3.0, optional, no hard dependencies
Start page at mdt.npdev.eu with a live demo of the time clock panel: Leitung (dispatchers), Im Dienst (on duty) and Einheiten (units)
Start page at mdt.npdev.eu with a live demo of the time clock panel: Leitung (dispatchers), Im Dienst (on duty) and Einheiten (units)

The web board and the np_mdt NUI. The MDT's interface is in German, so the captions translate the labels you see.

What's in it

Discord and the web board read and write the same data, live. Every Discord server is its own instance with its own data, settings and terms.

Stempeluhr (time clock)

  • A Discord panel to clock in, clock out, take a break and go on standby. It shows the current dispatchers and units and updates live.
  • Badge numbers come from Discord nicknames, e.g. [MD-04] Marlow, in a format you set.
  • Warning and auto clock-out times, statistics with charts posted to Discord on a schedule, and /mystats for everyone.

Dispatch and incidents

  • Leitstellenblatt: who's on duty, units, crews and statuses, live for everyone.
  • Einsätze: incident sheets with a map of Los Santos, people involved, a timeline and handover.
  • Calls from the game wait on the board until a dispatcher takes them as an incident or dismisses them.

Facility and patients

  • Buildings, rooms and beds, or cells and bays, depending on your terms.
  • Person files with triage, location, history and notes, plus queue tickets at the counter.
  • Verletzungen: injuries marked on a 3D body model. With np_mdt, injuries, treatments, vital signs and ECGs arrive from the game.

Records

  • Bürgerregister: citizen records. Which fields others see is decided by the owner's sharing rules.
  • Fallakten: case files that go beyond a single incident (opt-in).

Personnel and training

  • Personal: staff, ranks, qualifications and your own columns.
  • Kalender: absences, appointments and reminders with Discord notifications.
  • Kurse: courses with configurable sign-up fields and pass or fail actions.

Documents and admin

  • Dokumente: guidelines, forms and letterheads with read rights and public read links.
  • Listen: free-form lists with your own columns and counters.
  • Lager for stock and withdrawals, Versicherungen for insurance contracts, quotas and billing.

Your public face

  • Websites: a public site for your agency, or internal pages only for your members (opt-in).
  • Postfach: applications and contact requests from Discord, handled as cases (opt-in).
  • TV: presentations for in-game screens, with live slides.

In the game, with np_mdt

  • Calls to dispatch, unit status and a panic button, clocking in on duty, ranks from job grades.
  • The real web MDT as an in-game tablet with /mdt or F10.
  • An optional medical simulation with treatment, minigames, transport and a hospital.

A closer look

The 17 modules

The time clock is always on. Every other module is switched on or off per server, and a module that's off disappears from the navigation and from the API. The three opt-in modules start switched off because they need setup first.

ModuleWhat it is
LeitstellenblattDispatch board: who's on duty, units, crews, statuses, live for everyone
EinsätzeIncident sheets with a map of Los Santos, people involved, timeline and handover
BürgerregisterCitizen records, fields visible according to the owner's sharing rules
FallaktenCase files beyond a single incident (opt-in)
EinrichtungBuildings, rooms and beds (or cells, bays …), patient files
VerletzungenInjury marking on a 3D body model
PersonalPersonnel sheet: staff, ranks, qualifications, your own columns
KalenderAbsences, appointments and reminders with Discord notifications
KurseCourses with configurable sign-up fields and pass / fail actions
ModuleWhat it is
DokumenteGuidelines, forms, letterheads, read rights and public read links
PostfachApplications and contact requests from Discord as cases (opt-in)
StatistikLeaderboards and charts, posted to Discord on a schedule
ListenFree-form lists with your own columns, including counters
LagerStock and withdrawals
VersicherungenInsurance contracts, quotas and billing
WebsitesA public website for your agency (opt-in)
TVPresentations for in-game screens, with live slides

Your agency, your words

The UI never hard-codes "patient", "unit" or "station". It uses your instance's terms, each with a singular and a plural. The setup wizard starts from one of four templates, and every term, module and the badge prefix can be changed later.

TemplateUnitFacilityPersonBadge
Rettungsdienst (EMS)EinheitEinrichtungPatientMD
Polizei (police)StreifeWacheInsassePD
Feuerwehr (fire)FahrzeugFeuerwacheBetroffenerFD
NeutralEinheitEinrichtungPersonnone

Fifteen terms in all, from building, room and bed to course, dispatcher and documents. The police template leaves out the injuries module.

Permissions and partner agencies

Access is built from capabilities such as einsatz.sheet.close or documents.template.create. A person gets everything that applies to them: ranks linked to Discord roles, ranks set by hand or by the game server, departments, all staff, and the dispatcher seat while they hold it. A suspension replaces normal rights with the ones you set for it.

Instances can cooperate, for example EMS with the police. An admin proposes it, the partner's admins get a Discord DM and accept, and then each side decides per module what it shares:

LevelWhat the partner gets
Keine FreigabeNothing. The default
Nur anonymisiertKnows an entry exists. Names and details never leave the server
LesenCan open the sheet but not change it
Lesen & SchreibenA shared incident, run together

Redaction and visibility are enforced on the server. Handing a patient to a partner is an explicit handover step, and a cooperation can be suspended, resumed or revoked.

Set it up

Getting started

You need a Discord server and a browser. Nothing to download, nothing to host.

  1. Invite the bot from mdt.npdev.eu/invite. It greets whoever added it with a link to the setup wizard for this server.
  2. Run the setup wizard after logging in with Discord: template, name and icon, badge format, terms, modules, and optional sample data. Sample data only goes into areas that are still empty.
  3. Pick the employee role in the settings. Members with it can open the web board. Clocking in needs the badge in the nickname, e.g. [MD-04] Marlow.
  4. Publish the panel in the channel where people should clock in:
    /panel
  5. Open the board at mdt.npdev.eu/dispatch, log in with Discord and pick your server. Ranks, modules and terms are under Einstellungen (settings).
CommandWhoWhat it does
/panelAdminPublish the time clock panel in this channel
/setupAdminStatistics channels and schedules, warning and auto clock-out times
/statsAdminPublic statistics, optionally with charts
/mystatsEveryoneYour own statistics, only visible to you
/apikeyAdminCreate, list and delete API keys
/apidocsAdminA short API reference inside Discord

np_mdt: connect your FiveM server

Optional. One resource, one module per use case, switched on in config/core.lua. It has no dependency entries: ESX, qb-core / Qbox, ox_inventory, ox_target, ox_lib and oxmysql are used when running, built-in fallbacks cover the rest. Players need a linked Discord account, because the MDT matches them by Discord id.

ModuleWhat it does in game
dispatchCalls from other resources, /notruf and optional resident reports of shots and crashes. Assigned units get a blip and a route
funk/status for your unit, bindable status keys and a panic button
tabletThe real web MDT in game with /mdt or F10, logged in through a one-time link
ranksJob grades become InGame ranks in the MDT
timeclockOn duty in game means clocked in in the MDT
kioskA queue ticket machine with /wartenummer
ausweisA service ID card item that shows name, badge, rank and duty status
medicSyncs patients, injuries, treatments and vital signs. The simulation itself is off by default
  1. Copy the np_mdt folder into resources/ and keep the name.
  2. Create an API key with /apikey create, or a scoped key for the modules you use, and add it to server.cfg after your framework:
    set np_mdt_url "https://mdt.npdev.eu"
    set np_mdt_api_key "stmp_…"
    ensure np_mdt
    Use set, not setr, so the key never reaches clients.
  3. Pick your modules in config/core.lua. By default only medic and dispatch start.
  4. Restart and check the console. At start the resource asks the MDT what its key may do and prints anything missing. mdtstatus shows the full picture, and set np_mdt_environment "test" marks every call with [TEST].

HTTP API

Everything the MDT stores is reachable over a JSON API at https://mdt.npdev.eu/api/v1: for dashboards, spreadsheets, Discord webhooks or your own scripts. Keys belong to exactly one instance and are stored only as SHA-256 hashes. Scoped keys give a game server only what it needs.

# this week's leaderboard
curl -H "Authorization: Bearer $KEY" \
  "https://mdt.npdev.eu/api/v1/stats/leaderboard?period=weekly"

# clock someone in by badge
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{ "badge": 99 }' https://mdt.npdev.eu/api/v1/admin/clock-in

With np_mdt, server scripts such as alarms or robberies report calls to the board through a server-side export. Clients can't trigger it.

exports.np_mdt:ReportCall({
  externalId = "robbery:fleeca-legion",   -- same id = update
  kind = "alarm",                          -- notruf | panik | alarm | hinweis
  priority = 1,
  title = "Stiller Alarm Fleeca Bank",
  location = { x = 149.9, y = -1040.5, street = "Vespucci Blvd" },
})

Questions

Do I need my own server?

No. The bot and the web board are hosted at mdt.npdev.eu. You invite the bot and run the wizard. A FiveM server is only needed if you want np_mdt in the game.

Is it in English?

The MDT's interface is German. The docs are in English and gloss the German labels. np_mdt's player-facing texts ship in German and English (Config.Locale).

Can we use it as a police or fire department?

Yes. Pick the Polizei, Feuerwehr or Neutral template in the wizard, or change the terms later: unit, facility, person, course and the rest are all yours to name.

Who can open the web board?

Members of your Discord server with the employee role you pick. Without a role, only server admins and the extra admins you set get in. What each person sees depends on their ranks and capabilities.

Can the police see our patient files?

Only if you agree to a cooperation and share that module. Each side picks per module: nothing, redacted, read or read and write. The default is nothing.

What if we want to stop?

The server owner can delete the instance under Einstellungen. That deletes all of the server's data, removes the bot's own messages where Discord allows it, and makes the bot leave.

Does np_mdt replace my ambulance script?

Only if you turn on the medical simulation, which is off by default. Then it detects ambulance scripts like esx_ambulancejob or qbx_medical and stops them, or refuses to start. Without the simulation, np_mdt just syncs to the MDT.

Works well with

Invite the bot, run the wizard, done.

Setup, permissions, the API and np_mdt are in the docs.

Invite bot