# Config File

{% code title="config.lua" lineNumbers="true" %}

```lua
Config = {}

Config.CountAllDeath = true -- If 'false' then the "Death Counter" will count only when player is killed by another player.
Config.CountOnlyActivePlayers = false -- If 'true' then only the active players will be showed on the player list.
Config.EnableKdResetForPlayers = true -- If false then disabled.
Config.MenuCommand = "kd" -- If 'false' then disabled.
Config.DefMenuBind = "HOME" -- The default binding to open the leaderboard, players can change it in their settings.
Config.BlurBackground = false -- If 'false' then disabled.
Config.EnableGlobalStats = true -- If 'false' then the global statistics are disabled.

Config.Locales = {
    wrong_use = "Wrong use!",
    kd_reset = "K/D resetted!",
    menu_description = "K/D Leaderboard",
    reset_disabled = "K/D reset is disabled!"
}

function notify(msg)
    --- YOUR CODE FOR NOTIFY ---
	ESX.ShowNotification(msg)
    --- FOR EXAMPLE ---
    --exports['mythic_notify']:SendAlert('inform', msg)
end
```

{% endcode %}


---

# Agent Instructions: 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://dvscripts.gitbook.io/documentation/resources/k-d-system-v3/config-file.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.
