> For the complete documentation index, see [llms.txt](https://kierandev.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kierandev.gitbook.io/documentation/free/small-commands/config-options.md).

# Config Options

## Toggle

```lua
-- Disables the whole script
Config.MasterToggle = true
```

## Framework

```lua
Config.Framework = 'TMC' -- TMC / Qbox
```

## TMC Commands

```lua
-- If using TMC As Config.Framework
Config.TMCCommands = {
    PoliceDuty = {
        -- Enable / Disable Police Command
        enabled = true,
        -- The Command The PLayer Does
        command = "policeduty",
        -- The Description in the Command
        commanddescription = "Check how many police there is on duty",
        -- Job it checks
        job = "police",
        -- Notify it sends (%s is the number of people)
        notify = "There is %s Police Officer(s) On Duty",
        -- Permissions to do the command
        permission = "user"
    },
    EMSDuty = {
        -- Enable / Disable EMS Command
        enabled = true,
        -- The Command The PLayer Does
        command = "emsduty",
        -- The Description in the Command
        commanddescription = "Check how many EMS there is on duty",
        -- Job it checks
        job = "ambulance",
        -- Notify it sends (%s is the number of people)
        notify = "There is %s EMS Worker(s) On Duty",
        -- Permissions to do the command
        permission = "user"
    },
    Notify = {
    -- Type of notify (error, success, info)
    type = "info",
    -- Duration in ms it stays on the players screen
    duration = 2000
    }
}
```

## Qbox Commands

```lua
-- If using Qbox as Config.Framework
Config.QboxCommands = {
    Jobs = {
        police = {
            name = "Police",
            jobs = {"police"},
            command = "policecount"
        },
        ems = {
            name = "EMS",
            jobs = {"ambulance"},
            command = "emscount"
        }
    }
    -- notification, can change to what you like
    Config.Notify = function(src, msg)
        TriggerClientEvent('ox_lib:notify', src, {
            title = "Duty Count",
            description = msg,
            type = "inform"
        })
    end
    -- if your server uses duty system
    Config.RequireDuty = true
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kierandev.gitbook.io/documentation/free/small-commands/config-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
