Configuration

You can check default config

Config = {}

Config.Framework = 'qb' -- 'qb' or'esx'

Config.Locale = 'en' -- Language Settings two options 'en' or 'tr' 

-- Report Categories
Config.Categories = {
    {label = 'Cheating/Hacking', value = 'cheating'}, -- don't change value
    {label = 'Harassment', value = 'harassment'}, -- don't change value
    {label = 'Bug Abuse', value = 'bug'}, -- don't change value
    {label = 'Other', value = 'other'} -- don't change value
}

-- Report Priorities
Config.Priorities = {
    {label = 'Low', value = 'low'}, -- don't change value
    {label = 'Medium', value = 'medium'}, -- don't change value
    {label = 'High', value = 'high'} -- don't change value
}

-- Admin Groups, i guess everyone admin permissions same but if yours is different
-- then change
Config.AdminGroups = {
    'god',
    'admin',
    'mod',
    'administrator',
    'superadmin'
}

-- Admin Commands
Config.Commands = {
    OpenReport = 'report',
    OpenAdmin = 'reports'
}
Config.Notifications = {
    newReport = true,
    reportClaimed = true,
    reportClosed = true
}

-- Admin Prevent Block
Config.PreventAdminBlock = true -- true: Admins can not block each other or themself

Config.Debug = true -- Debug mode, this settings can be false

-- Report Feedback Settings
Config.Feedback = {
    enabled = true,
    timeout = 300, -- Feedback popup how many seconds will it automatically close
    minRating = 1,
    maxRating = 5
}

Config.Screenshots = {
    MaxPerReport = 3, -- Maximum number of screenshots for each report
    MaxFileSize = 2, -- Maximum file size in mb
    Quality = 0.8, -- Screenshot quality (0.1 - 1.0)
    Format = 'jpg' -- Screenshot format (jpg or png)
}

Config.Permissions = {
    Admin = 'admin',
    Mod = 'mod'
}

Config.DatabaseCleanup = { 
    AutomaticCleanup = true, -- Automatic clean 
    CleanupInterval = 24, -- How often should clean database (hours)
    DefaultDays = 30, -- Default how many days old data should be cleared
    Commands = {
        Reports = 'cleanreports', -- Report clean command
        History = 'cleanhistory' -- Player history clean command
    }
}

Config.AdminNotes = {
    Enabled = true, -- Admin note
    MaxLength = 500, -- Max note length
    DeleteAfterDays = 30 -- How often should delete notes (days)(0 = never)
}

Last updated