Configuration

The configuration file can be found in the config.lua file.

Framework

OptionTypeDescription
FrameworkstringFramework support (qbCore, esx or standalone)
config.lua
Config.Framework = "qbCore"

Notification

OptionTypeDescription
useCustombooleanUse custom notifications

Styling

OptionTypeDescription
groupbooleanAllow stacking with a badge instead of repeating
positionstringPosition (top-left, top-right, bottom-left, bottom-right, top, bottom, left, right, center)
progressbooleanDisplay progress bar

Variants

OptionTypeDescription
classesstringCSS classes
iconstringCSS icon (Font Awesome)
config.lua
Config.Notification = {
    useCustom = false,
 
    -- Uncomment this if you want to use a custom notify system
    -- function CustomNotify (text, textType, length)
    --    YOUR CODE
    -- end,
 
    styling = {
      group = false,
      position = "right",
      progress = true
    },
 
    variants = {
      info = {
        classes = 'info',
        icon = 'fa-solid fa-circle-info'
      },
      success = {
        classes = 'success',
        icon = 'fa-solid fa-circle-check'
      },
      warning = {
        classes = 'warning',
        icon = 'fa-solid fa-triangle-exclamation'
      },
      error = {
        classes = 'error',
        icon = 'fa-solid fa-circle-xmark'
      }
    }
}