# Configuration

### config.lua:

```lua
Config = {}

Config.Locale = "de" -- "de" oder "en"

Config.AllowedPlacerGroups = {
    ['admin'] = true,
    ['superadmin'] = true
}

Config.RingCooldown = 180 -- in Sekunden (3 Minuten)

Config.KlingelRadius = 1.0 -- Nur innerhalb dieses Radius kann geklingelt werden

Config.CommandPlaceBell = "placebell"

Config.PlaceSpeed = 0.005 -- bestimme die Geschwindigkeit beim platzieren der Klingel


Config.EnableAntiSpam = false
Config.MaxRingsPerPlayer = 3
Config.TimeWindow = 300 -- in Sekunden (5 Minuten)



Config.EnableBlips = true

Config.BellBlip = {
    sprite = 280,            -- Blip-Symbol
    color = 1,               -- Blip-Farbe
    scale = 0.8,             -- Blip-Größe
    name = "Klingel",        -- Blip-Name
    flash = true,            -- Blip blinkt (true/false)
    duration = 60000         -- Dauer bis der Blip wieder verschwindet (in ms) - 60 Sekunden
}
```

### doorbells.json

```json
[
    {
        "heading": 271.0,
        "label": "LSPD Klingel",
        "job": "police",
        "coords": {
            "z": 31.13537788391113,
            "x": 434.1874694824219,
            "y": -985.2444458007813
        }
    },
    {
        "heading": 343.0,
        "job": "cartel",
        "coords": {
            "z": 141.3883819580078,
            "x": -1887.7939453125,
            "y": 2051.159423828125
        }
    },
    {
        "heading": 248.0,
        "label": "LSMD Klingel",
        "job": "ambulance",
        "coords": {
            "z": 43.67611312866211,
            "x": 298.59893798828127,
            "y": -587.2755737304688
        }
    }
]
```
