# Configuration

## 1. main scripts

Here you must to change this config to work with your server, your Core Name.

```lua
Config['CoreSetting'] = {
    ["Core"] = "l2s-core", -- Your Core Name 
}
```

## 2. Events

you have one event in this config, its a client event.

```lua
Config['InvTrigger'] = 'inventory:client:ItemBox' -- Item Box Event
```

## 3. Webhook

we must add our discord webhook, If you don't know how to get a webhook, it's easy and we explain it in a few steps in the following video. Watch it carefully so you don't miss any step :

{% embed url="<https://www.youtube.com/watch?v=fKksxz2Gdnc>" %}

```lua
Config['Webhok'] = "" -- Discod log Webhook Link
```

## 4. Language

in l2s-spaying you can change the Language to any Language do you want.

```lua
Config['Language'] = {
    ["SearhBar"] = "Searching for the monitoring device...",
    ["InstalBar"] = "Monitoring device is installing...",
    ["ErrorIP"] = "Incorrect input ",
    ["TrackSuccess"] = "The person has been located on GPS",
    ["NoneNearYou"] = "There is no one near you",
    ["HaveOne"] = 'This person has a monitor',
    ["RemoveDone"] = 'The device has been removed successfully',
    ["PlayerIsOffline"] = 'This player is offline'
}
```

## 5. Track Setting Blips

In this short tutorial you will learn how to add and edit a blips, you can change the text and you need to change the numbers and the color of the blips , you need this website to know the blibs and colors :&#x20;

{% embed url="<https://docs.fivem.net/docs/game-references/blips/>" %}

```lua
Config['TrackSetting'] = {
    ["BlipsNumber"] = 458,
    ["BlipsScale"] =  1.2,
    ["BlipsColor"] = 1,
}
```

## 6. ProggersBar

Here you can change the time when you put and remove the monitor device.

```lua
Config['ProggersBar'] = {
    ["Remove_Time"] = 12000, 
    ["Insta_Time"] = 10000, 
}
```


---

# 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://l2s.gitbook.io/l2s-dev-documentations/qbcore/spying/configuration.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.
