πCONFIGURATION FILE
Config = {}
-- Language Settings
Config.Language = 'en' -- 'tr' for Turkish, 'en' for English
-- Admin Groups (works with QBCore, QBox)
-- For QBCore/QBox: use group names like 'god', 'admin', 'mod'
Config.AdminGroups = {
'god',
'admin',
'mod'
}
-- ESX Admin Groups (ESX framework)
-- Format: ['group_name'] = true
-- Example from ESX docs: AdminGroups = { ['owner'] = true, ['sradmin'] = true, ['admin'] = true }
Config.ESXAdminGroups = {
['owner'] = true,
['sradmin'] = true,
['admin'] = true,
['moderator'] = true
}
-- Manual Admin List (identifier-based)
-- Add admin identifiers here (license:, steam:, discord:, etc.)
-- Example: Config.ManualAdminList = { ['license:xxxxxxxx'] = true, ['discord:xxxxxxxx'] = true }
Config.ManualAdminList = {}
-- Codem Staff Integration
Config.UseCodemStaff = false
Config.CodemStaffTable = 'codem_staff_admindata'
-- Use ACE Permissions
Config.UseAce = false
Config.AcePermissions = {}
-- 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' | 'core'
-- 'ui' = script's own UI notification system
-- 'core' = janiel-core notification system
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
spectateCommand = 'spec', -- Spectate command
unspectateCommand = 'unspec', -- Unspectate command
unspectateKeyMappingKey = 'BACK', -- Key for exiting spectate (only works when spectating)
}
-- 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