# Configuration

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

Select the framework you are using on your server.

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

## Cooldown

Cooldown at the end of an announce

```lua
cooldown = 30, -- Cooldown seconds
```

## Jobs Configuration

```lua
jobs = {
        ['police'] = { -- job
            profile = "https://i.ibb.co/CsTcwTGD/Uwu-cafe-logo111.webp", -- nil | 'url'
            title = "UwU Coffe", -- 'text'
            timer = {
                duration = 10, -- Duration of announce in seconds
            },
            sound = {
                sound = "./music/uwu.mp3", -- nil | ./music/1.wav | Add sound here => gx_announcejobv2\web\music\1.wav
                soundVolume = 0.2, -- recommend 0.2  | Volume min 0.1 max 0.5
            },
            style = {
                theme = 2, -- 1 | 2 | 3 | 4 | 5 | 6 | 7  
                sizeNui = 0.7, -- Aument size Nui : min 0.5 max 1.5 
                position = "topCenter", -- topLeft | topRight | middleLeft | middleRight | bottomLeft | bottomRight | center | topCenter | bottomCenter
                background = "rgba(208, 88, 162, 0.59)", -- 'url' | 'color' | 'rgb' | 'rgba' | '#HEX'  
                colors = {
                    color1 ="rgba(255, 0, 157, 0.97)", -- 'color' | 'rgb' | 'rgba' | '#HEX'
                    title = "rgb(255, 0, 200)", -- 'color' | 'rgb' | 'rgba' | '#HEX'
                    description= "white",  -- 'color' | 'rgb' | 'rgba' | '#HEX'
                },
                anim = {
                    _start = "bounceInDown", -- effect start nui : https://www.theappguruz.com/tag-tools/web/CSSAnimations/
                    _end   = "bounceOutUp", -- effect end nui: https://www.theappguruz.com/tag-tools/web/CSSAnimations/
                },
            }
        },
        -- add more infinity!!
```

## Translate

```lua
Translate = {
    ["cooldown"] = "You must wait %s second/s",
    ["notJob"] = "Your Work is not allowed to use this",
}
```

## WebHook

WebHook Url or nil

```lua
Webhook = "https://discord.com/api/webhooks/..."
or
Webhook = nil
```
