# Configuration

* <mark style="color:yellow;">**General Settings**</mark>

```lua
Config.EnableMaskRemoval = true
Config.EnableAFKKick = true
Config.SpeedLimit = 50 -- km/h
```

* <mark style="color:yellow;">**Police Settings**</mark>

```lua
Config.PoliceJobs = {
    'police',
    'sheriff'
}
```

* <mark style="color:yellow;">**AFK Settings**</mark>

```lua
Config.AFKKickTime = 10 -- 10 minutes
Config.AFKCheckInterval = 30 -- 30 seconds
```

* <mark style="color:yellow;">**Notify Settings**</mark>

```lua
Config.Notification = "ox_lib" -- qb, okok, mythic, ps-ui, ox_lib
Config.NotifyCooldown = 5000 -- 5 seconds
```

* <mark style="color:yellow;">**Notify Message**</mark><br>

  ```lua
  Config.Messages = {
      enterZone = "You entered a safezone!",
      exitZone = "You left the safezone!",
      maskRemoved = "Your mask has been automatically removed in the safezone.",
      maskRestored = "Your mask has been restored outside of the safezone.",
      weaponHolstered = "You can't use weapons here!",
      speedLimited = "Speed limit enforced (%d km/h)",
      afkWarning = "You will be kicked in %d seconds for being AFK in safezone!",
      afkKicked = "You were kicked for being AFK in safezone!"
  }
  ```

* <mark style="color:yellow;">**Zones Settings**</mark>

```lua
Config.Locations = {
    {
        name = "Hospital", 
        coords = vector3(283.56, -580.91, 43.13),
        size = vector3(80.0, 80.0, 40.0),
        heading = 70.0,
        debug = false
    },
    {
        name = "Lspd", 
        coords = vector3(445.31, -983.43, 30.69),
        size = vector3(90.0, 110.0, 40.0),
        heading = 90.0,
        debug = false
    },
    {
        name = "City Hall", 
        coords = vector3(-542.32, -207.56, 37.65),
        size = vector3(130.0, 170.0, 40.0),
        heading = 26.0,
        debug = false
    },
    {
        name = "Hostel", 
        coords = vector3(-266.28, -960.08, 31.22),
        size = vector3(120.0, 150.0, 40.0),
        heading = 70.0,
        debug = false
    }
```
