> For the complete documentation index, see [llms.txt](https://nayzeee-dev.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nayzeee-dev.gitbook.io/docs/nayzeee-scripts/nayzeee-reports/configuration.md).

# Configuration

<details>

<summary>View Full Config</summary>

```lua
--[[
    ███╗   ██╗ █████╗ ██╗   ██╗███████╗███████╗███████╗███████╗
    ████╗  ██║██╔══██╗╚██╗ ██╔╝╚══███╔╝██╔════╝██╔════╝██╔════╝
    ██╔██╗ ██║███████║ ╚████╔╝   ███╔╝ █████╗  █████╗  █████╗  
    ██║╚██╗██║██╔══██║  ╚██╔╝   ███╔╝  ██╔══╝  ██╔══╝  ██╔══╝  
    ██║ ╚████║██║  ██║   ██║   ███████╗███████╗███████╗███████╗
    ╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚══════╝╚══════╝╚══════╝╚══════╝
                                                                
    ██████╗ ███████╗██╗   ██╗███████╗██╗      ██████╗ ██████╗ ███╗   ███╗███████╗███╗   ██╗████████╗
    ██╔══██╗██╔════╝██║   ██║██╔════╝██║     ██╔═══██╗██╔══██╗████╗ ████║██╔════╝████╗  ██║╚══██╔══╝
    ██║  ██║█████╗  ██║   ██║█████╗  ██║     ██║   ██║██████╔╝██╔████╔██║█████╗  ██╔██╗ ██║   ██║   
    ██║  ██║██╔══╝  ╚██╗ ██╔╝██╔══╝  ██║     ██║   ██║██╔═══╝ ██║╚██╔╝██║██╔══╝  ██║╚██╗██║   ██║   
    ██████╔╝███████╗ ╚████╔╝ ███████╗███████╗╚██████╔╝██║     ██║ ╚═╝ ██║███████╗██║ ╚████║   ██║   
    ╚═════╝ ╚══════╝  ╚═══╝  ╚══════╝╚══════╝ ╚═════╝ ╚═╝     ╚═╝     ╚═╝╚══════╝╚═╝  ╚═══╝   ╚═╝   
                                                                                                      
    NAYZEEE REPORTS - 1.0.0
    Discord: discord.gg/nayzeeedev
]]

Config = {}

-- ██████╗ ██████╗  █████╗ ███╗   ██╗██████╗ ██╗███╗   ██╗ ██████╗ 
-- ██╔══██╗██╔══██╗██╔══██╗████╗  ██║██╔══██╗██║████╗  ██║██╔════╝ 
-- ██████╔╝██████╔╝███████║██╔██╗ ██║██║  ██║██║██╔██╗ ██║██║  ███╗
-- ██╔══██╗██╔══██╗██╔══██║██║╚██╗██║██║  ██║██║██║╚██╗██║██║   ██║
-- ██████╔╝██║  ██║██║  ██║██║ ╚████║██████╔╝██║██║ ╚████║╚██████╔╝
-- ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝ ╚═╝╚═╝  ╚═══╝ ╚═════╝ 

-- Customize the branding shown in the UI (Optional)
Config.Branding = {
    -- Main title shown in headers
    Title = 'TEST SERVER',           -- Change to your server name
    
    -- Subtitles for each panel
    PlayerSubtitle = 'REPORTS',  -- Shown in player report menu
    StaffSubtitle = 'STAFF PANEL', -- Shown in staff panel
    MonitorSubtitle = 'STAFF MONITOR', -- Shown in staff monitor
}

-- ███████╗██████╗  █████╗ ███╗   ███╗███████╗██╗    ██╗ ██████╗ ██████╗ ██╗  ██╗
-- ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝██║    ██║██╔═══██╗██╔══██╗██║ ██╔╝
-- █████╗  ██████╔╝███████║██╔████╔██║█████╗  ██║ █╗ ██║██║   ██║██████╔╝█████╔╝ 
-- ██╔══╝  ██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝  ██║███╗██║██║   ██║██╔══██╗██╔═██╗ 
-- ██║     ██║  ██║██║  ██║██║ ╚═╝ ██║███████╗╚███╔███╔╝╚██████╔╝██║  ██║██║  ██╗
-- ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝ ╚══╝╚══╝  ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝

Config.Framework = 'auto' -- 'auto' / 'esx' / 'qbcore' / 'qbox' / 'standalone'
Config.Debug = false -- Enable debug prints in console

-- ██████╗  █████╗ ████████╗ █████╗ ██████╗  █████╗ ███████╗███████╗
-- ██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔════╝
-- ██║  ██║███████║   ██║   ███████║██████╔╝███████║███████╗█████╗  
-- ██║  ██║██╔══██║   ██║   ██╔══██║██╔══██╗██╔══██║╚════██║██╔══╝  
-- ██████╔╝██║  ██║   ██║   ██║  ██║██████╔╝██║  ██║███████║███████╗
-- ╚═════╝ ╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝╚═════╝ ╚═╝  ╚═╝╚══════╝╚══════╝

-- Database settings for saving staff stats
Config.Database = {
    Enabled = true, -- Set to false to disable database (stats won't save after restart)
    
    -- Uses oxmysql by default (most common)
    -- Table will be created automatically on first run
}

-- ██████╗ ██████╗ ███╗   ███╗███╗   ███╗ █████╗ ███╗   ██╗██████╗ ███████╗
-- ██╔════╝██╔═══██╗████╗ ████║████╗ ████║██╔══██╗████╗  ██║██╔══██╗██╔════╝
-- ██║     ██║   ██║██╔████╔██║██╔████╔██║███████║██╔██╗ ██║██║  ██║███████╗
-- ██║     ██║   ██║██║╚██╔╝██║██║╚██╔╝██║██╔══██║██║╚██╗██║██║  ██║╚════██║
-- ╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║██║  ██║██║ ╚████║██████╔╝███████║
--  ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚═╝     ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝ ╚══════╝

Config.Commands = {
    PlayerReport = {
        name = 'report',
        description = 'Open the report menu to submit a ticket',
    },
    StaffPanel = {
        name = 'reports',
        description = 'Open the staff panel to manage reports',
    },
    ToggleNotify = {
        name = 'reportnotify',
        description = 'Toggle report notifications on/off',
    },
    AdminPanel = {
        name = 'staffmonitor',
        description = 'Open the staff monitoring panel (Higher-ups only)',
    },
}

-- ██████╗ ███████╗██████╗ ███╗   ███╗██╗███████╗███████╗██╗ ██████╗ ███╗   ██╗███████╗
-- ██╔══██╗██╔════╝██╔══██╗████╗ ████║██║██╔════╝██╔════╝██║██╔═══██╗████╗  ██║██╔════╝
-- ██████╔╝█████╗  ██████╔╝██╔████╔██║██║███████╗███████╗██║██║   ██║██╔██╗ ██║███████╗
-- ██╔═══╝ ██╔══╝  ██╔══██╗██║╚██╔╝██║██║╚════██║╚════██║██║██║   ██║██║╚██╗██║╚════██║
-- ██║     ███████╗██║  ██║██║ ╚═╝ ██║██║███████║███████║██║╚██████╔╝██║ ╚████║███████║
-- ╚═╝     ╚══════╝╚═╝  ╚═╝╚═╝     ╚═╝╚═╝╚══════╝╚══════╝╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝

Config.Permissions = {
    -- Staff groups (can handle reports)
    StaffGroups = {
        'management',
        'admin',
        'mod',
        'support',
    },
    
    -- Higher-up groups (can view staff monitoring panel)
    HigherUpGroups = {
        'superadmin',
        'admin',
        'management',
    },

    UseIdentifiers = false,
    
    StaffIdentifiers = {
        -- 'steam:110000xxxxxxxxx',
        -- 'discord:123456789012345678',
    },
    
    HigherUpIdentifiers = {
        -- 'steam:110000xxxxxxxxx',
        -- 'discord:123456789012345678',
    },
}

--  ██████╗ █████╗ ████████╗███████╗ ██████╗  ██████╗ ██████╗ ██╗███████╗███████╗
-- ██╔════╝██╔══██╗╚══██╔══╝██╔════╝██╔════╝ ██╔═══██╗██╔══██╗██║██╔════╝██╔════╝
-- ██║     ███████║   ██║   █████╗  ██║  ███╗██║   ██║██████╔╝██║█████╗  ███████╗
-- ██║     ██╔══██║   ██║   ██╔══╝  ██║   ██║██║   ██║██╔══██╗██║██╔══╝  ╚════██║
-- ╚██████╗██║  ██║   ██║   ███████╗╚██████╔╝╚██████╔╝██║  ██║██║███████╗███████║
--  ╚═════╝╚═╝  ╚═╝   ╚═╝   ╚══════╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚═╝╚══════╝╚══════╝

Config.Categories = {
    { id = 'bug', label = 'Bug Report', icon = 'fa-bug', color = '#ef4444' },
    { id = 'player', label = 'Player Report', icon = 'fa-user-slash', color = '#f97316' },
    { id = 'question', label = 'Question', icon = 'fa-circle-question', color = '#3b82f6' },
    { id = 'other', label = 'Other', icon = 'fa-ellipsis', color = '#8b5cf6' },
}

-- ██████╗ ███████╗██████╗  ██████╗ ██████╗ ████████╗███████╗
-- ██╔══██╗██╔════╝██╔══██╗██╔═══██╗██╔══██╗╚══██╔══╝██╔════╝
-- ██████╔╝█████╗  ██████╔╝██║   ██║██████╔╝   ██║   ███████╗
-- ██╔══██╗██╔══╝  ██╔═══╝ ██║   ██║██╔══██╗   ██║   ╚════██║
-- ██║  ██║███████╗██║     ╚██████╔╝██║  ██║   ██║   ███████║
-- ╚═╝  ╚═╝╚══════╝╚═╝      ╚═════╝ ╚═╝  ╚═╝   ╚═╝   ╚══════╝

Config.Reports = {
    TitleMaxLength = 50,
    DescriptionMaxLength = 500,
    MessageMaxLength = 300,
    AutoCloseOnDisconnect = true,
    CopyIdentifier = 'steam',
}

-- ███████╗████████╗ █████╗ ███████╗███████╗     █████╗  ██████╗████████╗██╗ ██████╗ ███╗   ██╗███████╗
-- ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝    ██╔══██╗██╔════╝╚══██╔══╝██║██╔═══██╗████╗  ██║██╔════╝
-- ███████╗   ██║   ███████║█████╗  █████╗      ███████║██║        ██║   ██║██║   ██║██╔██╗ ██║███████╗
-- ╚════██║   ██║   ██╔══██║██╔══╝  ██╔══╝      ██╔══██║██║        ██║   ██║██║   ██║██║╚██╗██║╚════██║
-- ███████║   ██║   ██║  ██║██║     ██║         ██║  ██║╚██████╗   ██║   ██║╚██████╔╝██║ ╚████║███████║
-- ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝     ╚═╝         ╚═╝  ╚═╝ ╚═════╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝

Config.StaffActions = {
    GoTo = true,
    Bring = true,
    Spectate = true,
    Freeze = true,
    Revive = true,
}

-- ███████╗████████╗ █████╗ ███████╗███████╗    ███╗   ███╗ ██████╗ ███╗   ██╗██╗████████╗ ██████╗ ██████╗ 
-- ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝    ████╗ ████║██╔═══██╗████╗  ██║██║╚══██╔══╝██╔═══██╗██╔══██╗
-- ███████╗   ██║   ███████║█████╗  █████╗      ██╔████╔██║██║   ██║██╔██╗ ██║██║   ██║   ██║   ██║██████╔╝
-- ╚════██║   ██║   ██╔══██║██╔══╝  ██╔══╝      ██║╚██╔╝██║██║   ██║██║╚██╗██║██║   ██║   ██║   ██║██╔══██╗
-- ███████║   ██║   ██║  ██║██║     ██║         ██║ ╚═╝ ██║╚██████╔╝██║ ╚████║██║   ██║   ╚██████╔╝██║  ██║
-- ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝     ╚═╝         ╚═╝     ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚═╝   ╚═╝    ╚═════╝ ╚═╝  ╚═╝

Config.StaffMonitor = {
    Enabled = true,
    
    -- Performance tag thresholds (reports per week)
    Tags = {
        { name = '🔥 Active', min = 15, color = '#22c55e' },       -- 15+ reports/week
        { name = '✅ Consistent', min = 8, color = '#3b82f6' },    -- 8-14 reports/week
        { name = '⚠️ Moderate', min = 4, color = '#f59e0b' },      -- 4-7 reports/week
        { name = '😴 Lazy', min = 0, color = '#ef4444' },          -- 0-3 reports/week
    },
    
    -- Special tags (awarded based on conditions)
    SpecialTags = {
        TopPerformer = { name = '⭐ Top Performer', color = '#fbbf24' },   -- Most reports this month
        NewStaff = { name = '🆕 New Staff', color = '#8b5cf6' },           -- Under 7 days
        MVP = { name = '🏆 MVP', color = '#ec4899' },                       -- Manually awarded
        Improving = { name = '📈 Improving', color = '#06b6d4' },          -- Performance up 50%+
        Declining = { name = '📉 Declining', color = '#f97316' },          -- Performance down 50%+
        OnBreak = { name = '🏖️ On Break', color = '#64748b' },             -- Manually set
    },
    
    -- Time periods for stats
    Periods = {
        Weekly = 7,
        Monthly = 30,
    },
    
    AutoTagging = true,
    TrackResponseTime = true,
    NewStaffDays = 7, -- Days to show "New Staff" tag
    
    -- Weekly report webhook
    SendWeeklyReport = true,
    WeeklyReportDay = 1, -- 1 = Monday
}

-- ██████╗ ██████╗  ██████╗  ██████╗ ███████╗     ██████╗██╗     ██╗██████╗ ███████╗
-- ██╔══██╗██╔══██╗██╔═══██╗██╔═══██╗██╔════╝    ██╔════╝██║     ██║██╔══██╗██╔════╝
-- ██████╔╝██████╔╝██║   ██║██║   ██║█████╗      ██║     ██║     ██║██████╔╝███████╗
-- ██╔═══╝ ██╔══██╗██║   ██║██║   ██║██╔══╝      ██║     ██║     ██║██╔═══╝ ╚════██║
-- ██║     ██║  ██║╚██████╔╝╚██████╔╝██║         ╚██████╗███████╗██║██║     ███████║
-- ╚═╝     ╚═╝  ╚═╝ ╚═════╝  ╚═════╝ ╚═╝          ╚═════╝╚══════╝╚═╝╚═╝     ╚══════╝

Config.Proof = {
    Enabled = true,
    
    RequiredCategories = { 'player' },
    OptionalCategories = { 'bug', 'other' },
    
    AllowedDomains = {
        'medal.tv', 'streamable.com', 'youtube.com', 'youtu.be',
        'twitch.tv', 'clips.twitch.tv', 'gfycat.com', 'imgur.com',
        'gyazo.com', 'drive.google.com', 'discord.com',
        'cdn.discordapp.com', 'media.discordapp.net',
        'steelseries.com', 'outplayed.tv',
    },
    
    AllowAnyURL = false,
    MaxProofLinks = 3,
    SendToWebhook = true,
}

-- ██╗    ██╗███████╗██████╗ ██╗  ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗
-- ██║    ██║██╔════╝██╔══██╗██║  ██║██╔═══██╗██╔═══██╗██║ ██╔╝██╔════╝
-- ██║ █╗ ██║█████╗  ██████╔╝███████║██║   ██║██║   ██║█████╔╝ ███████╗
-- ██║███╗██║██╔══╝  ██╔══██╗██╔══██║██║   ██║██║   ██║██╔═██╗ ╚════██║
-- ╚███╔███╔╝███████╗██████╔╝██║  ██║╚██████╔╝╚██████╔╝██║  ██╗███████║
--  ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝  ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝

Config.Webhooks = {
    Enabled = true,
    BotName = 'NAYZEEE Reports',
    BotAvatar = 'https://i.imgur.com/your-avatar.png',
    
    Colors = {
        NewReport = 3447003,
        CloseReport = 15158332,
        StaffClaim = 3066993,
        WeeklyReport = 16776960,
    },
    
    Locale = {
        NewReport = '📩 New Report',
        CloseReport = '🔒 Report Closed',
        StaffClaim = '👤 Report Claimed',
        Category = 'Category',
        Title = 'Title',
        Description = 'Description',
        PlayerInfo = 'Player Information',
        StaffInfo = 'Staff Information',
        ID = 'ID',
        Name = 'Name',
        Identifier = 'Identifier',
        Discord = 'Discord',
        Timestamp = 'Timestamp',
        NoStaff = 'Unclaimed',
    },
}

-- ███╗   ██╗ ██████╗ ████████╗██╗███████╗██╗   ██╗
-- ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝╚██╗ ██╔╝
-- ██╔██╗ ██║██║   ██║   ██║   ██║█████╗   ╚████╔╝ 
-- ██║╚██╗██║██║   ██║   ██║   ██║██╔══╝    ╚██╔╝  
-- ██║ ╚████║╚██████╔╝   ██║   ██║██║        ██║   
-- ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝╚═╝        ╚═╝   

Config.Notifications = {
    System = 'native',
    Duration = 5000,
    
    Messages = {
        NoPermission = 'You do not have permission to use this command.',
        ReportSubmitted = 'Your report has been submitted!',
        ReportClosed = 'Your report has been closed by staff.',
        NewReport = 'A new report has been submitted!',
        ReportClaimed = 'You have claimed this report.',
        MessageReceived = 'You received a new message on your report.',
        PlayerFrozen = 'You have been frozen by staff.',
        PlayerUnfrozen = 'You have been unfrozen.',
        PlayerRevived = 'You have been revived by staff.',
        TitleTooLong = 'Title is too long! Maximum %s characters.',
        DescTooLong = 'Description is too long! Maximum %s characters.',
        FillAllFields = 'Please fill in all required fields.',
        CantViewOwn = 'You cannot view your own report.',
        NotifyEnabled = 'Report notifications enabled.',
        NotifyDisabled = 'Report notifications disabled.',
    },
}

-- ██╗   ██╗██╗    ███████╗███████╗████████╗████████╗██╗███╗   ██╗ ██████╗ ███████╗
-- ██║   ██║██║    ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗  ██║██╔════╝ ██╔════╝
-- ██║   ██║██║    ███████╗█████╗     ██║      ██║   ██║██╔██╗ ██║██║  ███╗███████╗
-- ██║   ██║██║    ╚════██║██╔══╝     ██║      ██║   ██║██║╚██╗██║██║   ██║╚════██║
-- ╚██████╔╝██║    ███████║███████╗   ██║      ██║   ██║██║ ╚████║╚██████╔╝███████║
--  ╚═════╝ ╚═╝    ╚══════╝╚══════╝   ╚═╝      ╚═╝   ╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚══════╝

Config.UI = {
    Theme = {
        Primary = '#3b82f6',
        Success = '#22c55e',
        Warning = '#f59e0b',
        Danger = '#ef4444',
        Background = '#0f1419',
        Card = '#1a1f2e',
        Border = '#333d47',
        Text = '#ffffff',
        TextSecondary = '#94a3b8',
    },
    
    Sounds = {
        Enabled = true,
        NewReport = true,
        MessageReceived = true,
    },
}

-- ███████╗████████╗ █████╗ ███╗   ██╗██████╗  █████╗ ██╗      ██████╗ ███╗   ██╗███████╗
-- ██╔════╝╚══██╔══╝██╔══██╗████╗  ██║██╔══██╗██╔══██╗██║     ██╔═══██╗████╗  ██║██╔════╝
-- ███████╗   ██║   ███████║██╔██╗ ██║██║  ██║███████║██║     ██║   ██║██╔██╗ ██║█████╗  
-- ╚════██║   ██║   ██╔══██║██║╚██╗██║██║  ██║██╔══██║██║     ██║   ██║██║╚██╗██║██╔══╝  
-- ███████║   ██║   ██║  ██║██║ ╚████║██████╔╝██║  ██║███████╗╚██████╔╝██║ ╚████║███████╗
-- ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝ ╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝

Config.Standalone = {
    LoadDelay = 5000,
}

```

</details>
