ktoxktox docs
ktx_dispatch

Settings

Every setting in config.lua.

Every setting in config.lua, taken from the file itself. The comments in the file and this page always say the same thing.

Config.Framework

Your framework: "esx", "qb-core", "qbox", "ox" or "custom". With "custom" the resource loads public/framework.lua instead.

SettingDefaultWhat it does
name"esx"
esxMode"legacy"Only when name is "esx": "legacy" uses the export, "old" waits for the shared object event that older forks still use.
esxSharedObjectEvent"esx:getSharedObject"

Config.UI

Notifications: "ox_lib" or "custom" (loads public/ui.lua).

SettingDefaultWhat it does
name"ox_lib"

Config.Language

Any file in languages/, without the extension.

Config.Language = "english"

Config.Debug

Prints what the resource is doing to the console.

Config.Debug = false

Config.Command

The command that opens the interface. restricted turns it into an ACE restricted command; left false the job decides who gets the list.

SettingDefaultWhat it does
enabledtrue
name"dispatch"
restrictedfalse

Config.Dispatch

All of these are enforced on the server. The interface only displays what it is told.

KeyWhat it does
callCooldownSecondshow long a player waits between two own calls
resolvedVisibleSecondshow long a resolved call stays in the list
notifyOnNewCallnotify players with the job and no interface open
notifyCallertell the caller when their call is taken and done
SettingDefaultWhat it does
callCooldownSeconds300
resolvedVisibleSeconds180
notifyOnNewCalltrue
notifyCallertrue

Config.Priorities

Low to high, in this order. The list is the ramp, so there is nothing to sort and nothing to switch off: a dispatch without a top level is not a dispatch.

Config.EmergencyServices

Maps a job to a service, in the order they appear in the create call form. job may be one name or a list of names if several jobs share a dispatch, for example sheriff. The other way round a job belongs to one service: named under two, the first enabled one takes it.

enabled decides whether the service exists at all: not every server runs a fire department. A player without a matching job can still create calls, they just do not get the dispatch list.

Config.Database

Every call is written here: who called, what for, where, who took it, and when it was accepted and resolved. Created on first start.

SettingDefaultWhat it does
enabledtrue
table"ktx_dispatch_history"