📃CONFIGURATION FILE

Config = {}

Config.Position = {
    type = "right",  -- Position type: "right", "left", "center", "bottom"
    offsetX = 20,    -- X-axis offset from the edge
    offsetY = 20     -- Y-axis offset from the edge
}

-- Sound settings
Config.Sounds = {
    enabled = true,              -- Master switch for all notification sounds
    volume = 0.2,               -- Sound volume (0.0 to 1.0)
    types = {
        success = 'success.ogg', -- Sound file for success notifications
        error = 'error.ogg',     -- Sound file for error notifications
        warning = 'warning.ogg', -- Sound file for warning notifications
        info = 'info.ogg'        -- Sound file for info notifications
    }
}

-- Default settings for notifications
Config.DefaultSettings = {
    length = 5000,   -- Default duration in milliseconds
    sound = true,    -- Enable/disable notification sounds
}

-- Command settings
Config.Commands = {
    testEnabled = true,          -- Enable/disable test command
    testCommand = 'notifytest',  -- Command name for testing notifications
    uiEnabled = true,           -- Enable/disable UI position selector
    uiCommand = 'notifyui'      -- Command name for opening position selector
}

Config.Announcement = {
    command = "announce",        -- Command for announcements
    defaultLength = 8000,        -- Announcement duration (ms)
    sound = 'announcement.ogg'   -- Announcement sound file
} 

Last updated