# Configuration

## Framework <a href="#framework" id="framework"></a>

Select the framework you are using on your server.

```lua
Framework   = "auto", -- "esx" / "qb" / "auto"
```

## Command <a href="#framework" id="framework"></a>

Edit the command for announcement

```lua
Command     = "anuncio", -- /anuncio Welcome testing
```

## Duration <a href="#framework" id="framework"></a>

Duration of announce in seconds

```lua
Duration    = 5, -- seconds
```

## Sound and Volume <a href="#framework" id="framework"></a>

Edit sound for announcement

```lua
Sound       = "./music/nofity_positive.mp3", --  "none" <- no sound | for add sounds here => web/music/(here)
SoundVolume = 0.2, -- recommend 0.2  | Volume min 0.1 max 0.5a
```

## Config\["jobs"] <a href="#framework" id="framework"></a>

Here add config for announcements! is unlimited!

```lua
        { 
            job = "police", -- job
            tittle = "LSPD", 
            cooldown = 30, -- this is in seconds: 0 <- no cooldown 
            style = {
                logo = "https://static.wikia.nocookie.net/diamond-city/images/c/c0/LSPD.png",
                message = "rgba(255, 255, 255, 0.9)", --  https://rgbacolorpicker.com/
                background = {
                    image = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRawkD3_tjgjpdPsebcb5ppOq3MomxKW4TAzE6Um6-j2A&s",
                    box_shadow = "inset 0 0 15px 10px rgba(50, 0, 255, 0.4)", --  https://rgbacolorpicker.com/
                    border_color = "2px solid rgba(50, 0, 255, 0.836)",  --  https://rgbacolorpicker.com/
                },
                tittle = {
                    h2 = "rgb(255, 255, 255)", --  https://rgbacolorpicker.com/
                    txtshadow = "-5px 2px 3px rgb(134, 134, 134)", --  https://rgbacolorpicker.com/
                },
            }
        },
        -- add more... infinity announcement!
```

## WebHook

Discord logs!

```lua
discord = {
    -- ['webhook'] = false,     -- false log
    ['webhook'] = 'https://discord.com/api/webhooks/1273119857445175378/aVvMCATWW6nq2Z8wa69P9WRiu3WRBm8F715--Ju2MDlcGaHaZoY-60stiUA9pWIz7mWh',
    -- profile
    ['name'] = 'gx_announcejob (LOG)',
    ['image'] = 'https://i.imgur.com/iBmE208.jpeg',
    --- information...
    ['title'] = 'gx_announcejob - (Announce Send!) ',
    ['name_label'] = ' 😶‍🌫️**Player Name : **',
    ['id_label'] = '🆔**ID : **',
    ['job_label'] = ' 💼**Job : ** ',
    ['Message_label'] = ' 💭**Message : **_',
    ['section_information'] = '•  || **Identifiers** || ',
    ['ip_label'] = ' **🛜IP : **',
    ['discord_label'] = ' **💿Discord : **',
    ['steam_label'] = ' **📀Steam : **',
    ['fivem_label'] = ' **🕹️Fivem : **',
    ['license_label'] = '🪪**License : **',
    ['My_info'] = ' [Tebex.io](https://guxfiz.tebex.io)\n [Discord](https://discord.gg/kncN7Fr5KT)\n [GitHub](https://github.com/Nestor36)',
    -- color
    ['color'] = '16715466',
    -- image embed
    ['image_embed'] = 'https://i.pinimg.com/originals/ab/0c/7c/ab0c7c3eafcb0c31f620178403bd2415.gif',
}
```


---

# 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://guxfiz.gitbook.io/docs/resources/gx_announcejob/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.
