> For the complete documentation index, see [llms.txt](https://wqual-development.gitbook.io/wqual-burger-shop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wqual-development.gitbook.io/wqual-burger-shop/configuration.md).

# Configuration

> ***Configuration Notify in shared/config.lua***

{% code overflow="wrap" fullWidth="false" %}

```lua
Config = {

Notification = {
    Enable = true,

    Type = "ESX",
    String = "Acquisto andanto a buon fine! Goditi i prodotti ottenuti."        

    }
}

RegisterNetEvent('wql_burger_king:notify')
AddEventHandler('wql_burger_king:notify', function(source)
    if Config.Notification.Type == 'ESX' then
        ESX = exports['es_extended']:getSharedObject()
        ESX.ShowNotification(Config.Notification.String)
    elseif Config.Notification.Type == 'OKOK' then
        exports['okokNotify']:Alert("Notification", Config.Notification.String, 3000, 'information', playSound)
    elseif Config.Notification.Type == 'OXLIB' then
        lib.notify({
            title = "Notification",
            description = Config.Notification.String,
            type = 'inform'
        })
    elseif Config.Notification.Type == 'CUSTOM' then
        print('[WARNING] Imposta la tua notifica in shared/config.lua') 

    else
        print('[ERRORE] Il tipo di notifica non è valido')
    end
end)
```

{% endcode %}
