Docs

Quick start

  1. Create your community. Log in with Discord on the home page, pick a name and an address (e.g. yourcity, giving you yourcity.<your domain>). You're its first admin.
  2. Generate a game server key. On your community's Admin page, under "Game server key", click Generate. It's shown once — copy it.
  3. Install the resource for your framework (below), paste the two lines it gives you into server.cfg, and restart.
  4. Approve your members. They log in once with Discord and wait in Admin until you give them a department, role and callsign.

Choosing your framework

The API doesn't assume any framework — duty, characters and vehicles all work the same way regardless of which one your server runs.

FrameworkStatusNotes
QBCoreSupportedThe reference implementation — duty and character sync on QBCore’s own events.
QboxSupportedSame shape as QBCore, using qbx_core.
ESX (Legacy)SupportedCharacter sync is straightforward; duty tracking depends on your job resource’s own duty event — see the resource’s comments.
StandaloneNo resource neededDuty comes from a /duty command on your server; characters are created from the website only.
ox_core / ND_Core / your ownBuild your own bridgeA template resource gives you the two calls to make (duty, character) with TODOs for your framework’s own hooks.

Installing the resource

  1. Drop cad_core (a small shared resource every framework bridge depends on) and your framework's own resource into your server's resources/.
  2. In server.cfg, after the line that starts your framework itself:
    ensure cad_core
    ensure <your-framework-resource>
    
    set cad_url "https://<your-community-address>"
    set cad_key "tf_..."
    (your community's Admin page shows you these exact two set lines with your real address and key — use set, not setr, so players never see the key).
  3. Restart your server. Go on duty in-game and you should see your unit appear on your community's dispatch console within a few seconds.

Owned-vehicle sync (pulling your framework's garage table into the CAD) depends on your server's own SQL setup and isn't wired up out of the box — ask in Discord if you need a hand with it.

Job mapping and departments

Your community starts with six departments (LSPD, BCSO, SASP, Fire & EMS, Communications, Civilian). On the Admin page, "Game jobs" maps your framework's own job names (e.g. police, ambulance) to a department, so duty reports put someone in the right place. Unmapped jobs fall back to common names: police/sheriff/state → LEO, fire/ems/ambulance → Fire & EMS.

Plans and billing

Every community starts on the Free plan. See the pricing section on the home page for what each plan includes. Upgrading, changing plan, or cancelling is all done from the Billing section of your community's Admin page, through Stripe's own billing portal — we never see your card details.

Game API reference

If you're building your own framework bridge (or anything else that talks to the CAD directly), every request is authenticated with the X-CAD-Key header set to your community's game key. All of these are under /api/game/v1:

MethodRouteWhat it does
GET/events?after=NPoll for CAD → game events (call assigned, BOLO, panic acknowledged, …) since event id N.
POST/players/dutyReport a player going on/off duty, with their job and character.
POST/players/statusSet an on-duty player's status (available, en route, on scene, busy).
POST/positionsBatch position update for on-duty players, for the live map.
POST/players/panicTrigger a panic alert for a player, with their location.
POST/callsCreate a 911 call from an in-game /911 command.
POST/charactersCreate or update a character from the game (keyed by your framework’s own citizen id).
POST/vehiclesRegister one vehicle, or sync an array of owned vehicles from your framework’s garage table.

Getting help

Check Status first if something seems down. Otherwise, the Discord link in the footer is the fastest way to reach us — bring your community's address and roughly when the issue happened.