> For the complete documentation index, see [llms.txt](https://daddy-studios.gitbook.io/daddy-studios-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daddy-studios.gitbook.io/daddy-studios-docs/scripts/daddy-combatlog/configuration.md).

# Configuration

Two files, both open (not encrypted):

| File                | Contents                                                                                                            |
| ------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `config.lua`        | Display mode, marker and ped settings, panel options. **Sent to players**, keep secrets out of it                   |
| `server/config.lua` | Discord webhook, database, admin permission, identifier, disconnect reasons. **Server only**, never sent to players |

Every setting has a short note next to it in the file.

## `config.lua`

| Setting                                                   | Default                 | Description                                                                                                                          |
| --------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `Locale`                                                  | `'en'`                  | `'en'` or `'tr'`                                                                                                                     |
| `Debug`                                                   | `false`                 | Print debug lines to the console                                                                                                     |
| `Framework`                                               | `'auto'`                | `'auto'`, `'esx'`, `'qb'`, `'qbx'` or `'standalone'`                                                                                 |
| `DisplayMode`                                             | `'marker'`              | `'marker'`, `'ped'` or `'drawtext'`, see [Display Modes](/daddy-studios-docs/scripts/daddy-combatlog/configuration/display-modes.md) |
| `ShowName` / `ShowTime` / `ShowReason` / `ShowIdentifier` | `true`                  | What the panel, menu and text show                                                                                                   |
| `RenderDistance`                                          | `15.0`                  | Meters at which the marker becomes visible                                                                                           |
| `NuiRenderDistance`                                       | `1.0`                   | Meters at which the info panel replaces the marker                                                                                   |
| `NuiWorldOffset` / `NuiScreenOffsetY`                     | `0.30` / `0.035`        | Panel position tweaks                                                                                                                |
| `MarkerType`, `MarkerSize`, `MarkerZOffset`               | `32`, `0.68`, `0.50`    | Marker look and height                                                                                                               |
| `MarkerBobUpAndDown`, `MarkerFaceCamera`, `MarkerRotate`  | `true`, `true`, `false` | Marker animation                                                                                                                     |
| `MarkerColor`                                             | blue                    | Used when `ReasonMarkerColors` is off                                                                                                |
| `ReasonMarkerColors`                                      | `true`                  | Color the marker by disconnect reason                                                                                                |
| `ReasonColors`                                            | see file                | Reason key to marker color. Reasons not listed use `default`                                                                         |
| `PedAlpha`                                                | `180`                   | Ghost ped transparency (0-255)                                                                                                       |
| `PedInteractDistance`                                     | `2.0`                   | Meters for target / E key                                                                                                            |
| `PedNoCollision`                                          | `true`                  | The ghost ped never blocks players                                                                                                   |
| `UseTarget`                                               | `true`                  | Use `ox_target` / `qb-target` when running, else the E key                                                                           |
| `PedAnim`                                                 | lying pose              | Ghost ped animation (`dict`, `name`, `flag`)                                                                                         |
| `AppearanceSync`                                          | `true`                  | Copy the player's look to the ghost ped                                                                                              |
| `SyncInterval`                                            | `30`                    | Seconds between look checks (minimum 5)                                                                                              |

See [Server Settings](/daddy-studios-docs/scripts/daddy-combatlog/configuration/server-settings.md) for `server/config.lua`.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://daddy-studios.gitbook.io/daddy-studios-docs/scripts/daddy-combatlog/configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
