# Config

```lua
Config = {}

Config.Webhook = 'WEBHOOK' -- Discord Webhook URL

Config.TUVTime = 15 -- TÜV-Zeit in Tagen (Wie lange dauert es bis der TÜV abgelaufen ist)

Config.GrantTUV = { -- Wer den TÜV vergeben kann
    ['police'] = true,
    ['ambulance'] = true,
    ['mechanic'] = true,
}

Config.RemoveTUV = { -- Wer den TÜV entfernen kann
    ['police'] = true,
    ['ambulance'] = true,
    ['stadtverwaltung'] = true,
}

RegisterNetEvent("wavecore_tuv:notify")
AddEventHandler("wavecore_tuv:notify", function(Type, Time, Text)
    lib.notify({
        title = 'TÜV System',
        position = "top-center",
        description = Text,
        duration = Time,
        type = Type
    })
end)
```

Webhook: Trage dort deinen Webhook ein, um Logs zubekommen, wer einen TÜV Status erteilt oder entfernt

TUVTime: Trage dort die Zeit in Tagen ein, wie lange der TÜV gültig sein soll

GrantTUV: Trage in dieser Tabelle ein, welche Jobs TÜV verteilen können

RemoveTUV: Trage in dieser Tabelle ein, welche Jobs TÜV entfernen können

Unten kann man dann noch sein eigenes Notify System mit einbinden


---

# 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://docs.wavecore.dev/wavecore/tuv-system/config.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.
