⚙️Configuration

Configuration guide of Notify Pack System.


Config.lua

Config = {}

-- ═══════════════════════════════════════════
--  GENERAL
-- ═══════════════════════════════════════════
Config.Language = 'en' -- en, de, fr, es, pt, it, nl, pl, sv, ar, jp, zh, he, fi, no
Config.Theme = "blue" -- blue, red, green, purple, orange, pink, yellow, cyan, white, custom (you can customize the 'custom' theme colors in web/themes/custom.css under)

-- ═══════════════════════════════════════════
--  FEATURES (toggle on/off)
-- ═══════════════════════════════════════════
Config.Features = {
    notifications = true,              -- Notification system (exports & events)
    progressBar = true,                -- Progress bar system
    helpNotify = true,                 -- Help notify prompts (key + message popup)
    announcement = true,               -- Announcement command system
}

-- ═══════════════════════════════════════════
--  ANNOUNCEMENT
-- ═══════════════════════════════════════════
Config.Announcement = {
    command = 'announce',              -- /announce [duration_seconds] [message]
    targetCommand = 'announceto',      -- /announceto [id] [duration_seconds] [message]
    permission = { 'admin', 'superadmin', 'god' },
    DefaultName = 'System',
    DefaultTitle = 'ANNOUNCEMENT',
    DefaultDuration = 10000,           -- ms
    UseCharacterNameFallback = true,

    txAdmin = {
        active = true,                 -- Enable txAdmin announcement/restart integration
        name = 'txAdmin',
        duration = 15000,              -- ms
    },
}

Last updated