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

# Configuration

## Permissions

Add this permission in server.cfg

```editorconfig
add_ace group.admin "biyei_carwipe.admin" allow
```

## Config File

```lua
Config = {}

Config.Debug = true

Config.SpawnEvent = 'QBCore:Client:OnPlayerLoaded'

Config.Countdown = 60 -- Time in seconds

Config.Permission = 'biyei_carwipe.admin'

Config.Schedule = {
    Enabled = false, --- Disable if you are using the interval time
    Times = {
        "00:00",
        "08:00",
        "12:00",
        "20:00"
    }
}

Config.IntervalTime = {
    Enabled = true, --- Disable if you are using the schedule
    Time = 60 --- Time in minutes
}

Config.Lang = {
    Notify = {
        AlreadyActive = 'Ya hay una grúa en curso',
        NotActive = 'No hay una grúa en curso',
        NotAllowed = 'No tienes permisos para usar esta grúa'
    }
}


Config.ForceStart = 'grua' -- Set in false it you don't want to use the command to start the carwipe
Config.CommandCancel = 'cgrua' -- Set in false it you don't want to use the command to cancel the carwipe
```
