Configuration

Edit config.lua to customize notification behavior:

Basic Settings

Config = {}

-- Deduplication Settings
Config.DeduplicationWindowMs = 800  -- Prevent duplicates within this time (ms)

-- Default Duration
Config.DefaultDuration = 5000       -- Default display time (ms)

Type-Specific Durations

Config.Durations = {
    info = 5000,       -- General information (5 seconds)
    penalty = 8000,    -- Penalties and sanctions (8 seconds)
    sanction = 8000,   -- Sanctions (8 seconds)
    flag = 6000        -- Flag notifications (6 seconds)
}

Recommended Values:

  • Info: 4000-6000ms (quick messages)

  • Penalty: 7000-10000ms (important, need time to read)

  • Sanction: 7000-10000ms (same as penalty)

  • Flag: 5000-8000ms (critical race conditions)

Debug Mode

Set to false in production to reduce console spam.

Last updated