π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
}
}
}
ConfigSV = {}
-- ========================================
-- DISCORD WEBHOOK SETTINGS
-- ========================================
ConfigSV.Discord = {
enabled = true,
-- Webhook URLs
webhooks = {
newReport = "DICORD_WEBHOOK_HERE",
reportClaimed = "DICORD_WEBHOOK_HERE",
reportClosed = "DICORD_WEBHOOK_HERE",
reportDeleted = "DICORD_WEBHOOK_HERE", -- For report deletion
adminStats = "DICORD_WEBHOOK_HERE" -- For admin statistics
},
-- Colors (Decimal format)
colors = {
newReport = 3447003, -- Blue
claimed = 15844367, -- Gold
closed = 5763719, -- Green
urgent = 15158332, -- Red
stats = 9936031 -- Purple
},
-- Mention Settings
mentions = {
urgentReports = true, -- Mention role for urgent reports
roleId = "DISCORD_ROLE_ID" -- Role ID to mention
},
embedSettings = {
showFooter = true, -- Show footer in embeds
icon_url = "https://dunb17ur4ymx4.cloudfront.net/webstore/logos/9054872562e895a17e7fbe05d60b99daecc349b7.png"
}
}
-- ========================================
-- ADMIN STATISTICS SETTINGS
-- ========================================
ConfigSV.AdminStats = {
enabled = true, -- Enable admin statistics
showTop = 10, -- How many top admins to show
autoSend = {
enabled = true, -- Auto send every 24 hours
hour = 12 -- Send at 12:00 (24-hour format)
}
}
Last updated