Skip to content

Configuration ​

Everything you can change lives in two files. Both keep their comments, so the file itself explains each option.

FileWhat it holds
config.luaLanguage, framework, commands, permissions, UI, features
config_server.luaDiscord logs, Discord roles, and your own Lua hooks

Keep these when updating

These two files are yours. When you update the panel, keep your copies and replace everything else.

Set these first ​

The panel ships with neutral defaults, so there are only a few things you have to fill in before it is yours.

lua
Config.Web.Cloud.License = ''          -- your licence key, or set it in server.cfg
Config.UI.Brand          = 'My Server' -- your server name in the sidebar
Config.Locale            = 'en'        -- 'en' | 'nl' | 'de' | 'fr' | 'es'

Everything else already works. Run panellink in the server console afterwards for a setup check.

Keep your licence out of config.lua

set arp_panel_license "ARP-XXXXX-XXXXX-XXXXX-XXXXX" in server.cfg keeps the key out of the files you share with developers. See Licence.

The basics ​

lua
Config.Locale    = 'en'     -- 'en' | 'nl' | 'de' | 'fr' | 'es'
Config.Framework = 'auto'   -- 'auto' | 'esx' | 'qbcore' | 'qbox' | 'none'
Config.Inventory = 'auto'   -- 'auto' | 'ox_inventory' | 'qb-inventory' | 'qs-inventory' | 'framework' | 'custom'
Config.Debug     = false

'auto' detects what you run. Set it explicitly only if detection is wrong.

Something not working?

Set Config.Debug = true and restart. The console then says which framework, inventory and staff source were detected, and why a lookup failed.

Sections in config.lua ​

SectionWhat it controls
CommandsCommand names and the open key — see Commands
AccountsWhich money accounts exist (cash, bank, …)
DatabaseTable and column names, if yours differ
PermissionsHow staff are recognised — see Staff & permissions
AdminGroupsYour staff ranks and what each may do
DutyWhether staff must be on duty, and how that is checked
IntegrationsHousing, garages and other scripts — see Integrations
ReportsReport categories and behaviour
TicketsTicket alerts for staff
WarningsWarning levels and automatic punishments
AnticheatDetections and what happens on a hit
AltDetectionAlt-account detection
ActivityPlaytime and activity tracking
DashboardWhat the dashboard shows
HeadshotsPlayer mugshots
VoiceChannelsStaff voice channels
Map / TeleportLocationsThe live map and teleport presets
WeatherTypesWeather options staff can set
GameViewLive screen viewing over WebRTC
SchedulerScheduled/automatic tasks
DevToolsDeveloper tools inside the panel
Browser / WebBrowser panel and cloud connection
UIBranding, colours and layout

Sections in config_server.lua ​

SectionWhat it controls
DiscordWebhooks per log category — see Discord logs
DiscordRolesMap Discord roles to panel groups
CompatOld event names for other scripts
Integrations.Housing.list / .stashYour own housing queries
Permissions.CustomFunctionYour own staff check
Duty.CheckYour own duty check

config_server.lua is server-only

Players can never read this file, so Discord tokens and webhooks are safe there.

Branding ​

lua
Config.UI = {
    Brand    = 'My Server',     -- name in the sidebar and on the login screen
    BrandSub = 'Admin Panel',   -- the smaller line under it
    Logo     = 'logo.png',      -- a file in html/, or an https:// link
    Accent   = '#2f7fe0',       -- highlight colour
}

Replace html/logo.png with your own image. An animated .gif works too: drop it in html/ and set Logo = 'logo.gif'.

Staff can pick their own theme, accent colour, density and layout from the panel's Settings page — those are personal preferences, not server config.

Alkmaar Admin Panel