Configuration

βš™οΈ Configuration

Framework Setup

Set your framework in config.lua:

Config.Framework = 'esx'  -- Options: 'esx', 'qb', 'standalone', 'custom'

Chat Configuration

Config.Chat = {
    Position = 'bottom-left',  -- Chat position: 'bottom-left', 'bottom-right', 'top-left', 'top-right', 'center-left', 'center-right'
    MaxMessages = 10,  -- Maximum number of messages visible
    MaxHeight = '40vh',  -- Maximum height of chat container
    MessageTimeout = 12000,  -- How long messages stay visible (ms)
    FadeOutTime = 3000,  -- Fade out duration (ms)
    AccentColor = '#6366f1',  -- Accent color for borders and highlights
    -- ... more options
}

AntiSpam Configuration

Config.AntiSpam = {
    Enabled = true,
    MaxMessagesPerSecond = 2,
    MaxMessagesPerMinute = 10,
    CooldownTime = 1000,  -- Cooldown between messages (ms)
    RepeatMessageLimit = 3,  -- How many times same message can be sent
    WarningThreshold = 5,  -- Violations before mute
    MuteTime = 30000,  -- Auto-mute duration (ms)
    -- ... more options
}

Admin Configuration

Notification Integration

πŸ“ File Structure

Last updated