Standalone

Agency-Admin

Full-featured admin panel with modern glass UI design providing comprehensive server management through Dashboard, Players, Server, Vehicles, Peds, Weapons, and Tools sections. Integrates AgencyAI mini-chat powered by Groq LLM, Admin Duty mode with outfit save/restore, and a side-panel with Noclip, Godmode, Invisible, Copy Coords, and more. Supports 13 languages and works framework-independently.

v1.0.0Paid4 Pages
Agency-Admin

01 Configuration

Complete config.lua for Agency-Admin. All options documented via inline comments.

Download config.lua
Config = {}

-- ┌─────────────────────────────────────────┐
-- │           GENERAL SETTINGS              │
-- └─────────────────────────────────────────┘

Config.Locale    = 'en'       -- cs | de | en | esm | fr | it | nl | pl | pt | ro | ru | sv | tr
Config.Framework = 'qb'    -- auto | qb | esx | ox | standalone

-- ┌─────────────────────────────────────────┐
-- │          COMMANDS & KEYBINDS            │
-- └─────────────────────────────────────────┘

Config.Commands = {
    Primary = 'aadmin',
    Short   = 'agencyadmin',
    Tools   = 'aa'
}

Config.Keybind      = 'F10'
Config.ToolsKeybind = 'F9'

-- ┌─────────────────────────────────────────┐
-- │             PERMISSIONS                 │
-- └─────────────────────────────────────────┘

Config.Permissions = {
    Ace = 'group.admin'
}

-- ┌─────────────────────────────────────────┐
-- │             NOTIFICATIONS               │
-- └─────────────────────────────────────────┘

Config.Notifications = {
    Duration        = 8000,
    Type            = 'info',
    UseAgencyNotify = true,
    PlaySound       = true
}

-- ┌─────────────────────────────────────────┐
-- │             ADMIN DUTY                  │
-- └─────────────────────────────────────────┘

Config.AdminDuty = {
    Command    = 'aaduty',
    Model      = 'mp_m_freemode_01',
    Components = {
        { component = 11, drawable = 209, texture = 0, palette = 0 },
        { component = 8,  drawable = 15,  texture = 0, palette = 0 },
        { component = 4,  drawable = 31,  texture = 0, palette = 0 },
        { component = 6,  drawable = 24,  texture = 0, palette = 0 },
        { component = 3,  drawable = 4,   texture = 0, palette = 0 }
    },
    Props      = {},
    HairColor  = { 0, 0 },
    EyeColor   = 0,
    Overlays   = {}
}

-- ┌─────────────────────────────────────────┐
-- │               WEATHER                   │
-- └─────────────────────────────────────────┘

Config.WeatherTypes = {
    'EXTRASUNNY', 'CLEAR', 'CLOUDS', 'OVERCAST',
    'RAIN', 'THUNDER', 'CLEARING', 'SMOG',
    'FOGGY', 'XMAS', 'SNOWLIGHT', 'BLIZZARD', 'SNOW'
}

-- ┌─────────────────────────────────────────┐
-- │       VEHICLES / WEAPONS / PEDS         │
-- └─────────────────────────────────────────┘

Config.Vehicles    = Config.Vehicles or {}
Config.VehicleCards = Config.VehicleCards or Config.Vehicles
Config.Weapons     = Config.Weapons or {}
Config.WeaponCards = Config.WeaponCards or Config.Weapons
Config.Peds        = Config.Peds or {}
Config.PedCards    = Config.PedCards or Config.Peds
Config.CustomPeds  = Config.CustomPeds or {}

-- ┌─────────────────────────────────────────┐
-- │      AGENCY REPORTS V2 INTEGRATION      │
-- └─────────────────────────────────────────┘

Config.ReportsIntegration = {
    Enabled      = true,
    ResourceName = 'Agency-Reports-V2'
}

-- ┌─────────────────────────────────────────┐
-- │           AGENCY AI (Groq)              │
-- └─────────────────────────────────────────┘

Config.AgencyAI = {
    Enabled      = true,
    ApiKey       = '',
    Model        = '',
    SystemPrompt = 'You are AgencyAI, a helpful assistant for FiveM server admins. Answer briefly and precisely.',
    MaxTokens    = 256
}

Need help? Join our Discord community for support!

Join Discord