πŸ“ƒCONFIGURATION FILE

Config = {}

-- Language Settings
Config.Language = 'en' -- 'tr' for Turkish, 'en' for English

-- Codem Staff Integration
Config.UseCodemStaff = false
Config.CodemStaffTable = 'codem_staff_admindata'

-- QB-Core Admin Groups (fallback if codem-staff is not available)
Config.AdminGroups = {
    'god',
    'admin',
    'mod'
}

-- Report Categories (will be generated from locales)
Config.CategoryValues = {'general', 'bug', 'player', 'cheater', 'rp', 'technical', 'other'}

-- Priority Levels (will be generated from locales)
Config.PriorityValues = {
    {value = 'low', color = '#28a745'},
    {value = 'medium', color = '#ffc107'},
    {value = 'high', color = '#fd7e14'},
    {value = 'urgent', color = '#dc3545'}
}

-- UI Settings
Config.MaxMessageLength = 500
Config.MaxTitleLength = 100
Config.MaxDescriptionLength = 1000

-- Notification Settings: 'ui' | 'qb'
Config.Notification = {
    mode = 'ui'
}

-- Revive integration preference: 'auto' | 'wasabi' | 'qb' | 'generic'
Config.ReviveIntegration = 'auto'

-- Command Settings
Config.Commands = {
    enabled = true, -- Enable/disable commands
    useKeyMapping = false, -- Enable/disable F6 key mapping
    keyMappingKey = 'F6', -- Key for opening reports
    
    -- Command names
    reportsCommand = 'report', -- Main reports command
    reportStatsCommand = 'reportstats' -- Admin stats command
}

-- Admin Actions Settings
Config.AdminActions = {
    enabled = true, -- Enable admin actions in ticket details
    actions = {
        ['bring']= true,
        ['goto'] = true,
        ['bringToSitting'] = true,
        ['bringBack'] = true,
        ['spectate'] = true,
        ['kill'] = true,
        ['revive'] = true,
    },
    
    -- Sitting Areas for "Bring to Sitting Area" action
    sittingAreas = {
        {
            name = "Admin Office 1",
            coords = vector3(-2200.93, 5127.41, 12.61),
            heading = 0.0
        },
        {
            name = "Admin Office 2", 
            coords = vector3(-2154.96, 5182.16, 14.11),
            heading = 0.0
        },
        {
            name = "Admin Office 3",
            coords = vector3(-2048.92, 5259.1, 17.0),
            heading = 0.0
        },
        {
            name = "Admin Office 4",
            coords = vector3(-1450.84, 5413.29, 22.96),
            heading = 0.0
        }
    }
}

Last updated