Configuration
Everything in config.lua.
All settings are in config/config.lua, which stays editable after escrow. The file explains each setting next to it. The main ones:
- Config.OpenKey / Config.Command: the key and command that open the menu.
- Config.Roles: staff roles, lowest to highest.
- Config.Permissions: the minimum role for each action. Owners can also change these from the menu (Staff → Permissions), and individual members can be given or denied single permissions on their profile.
- Config.QuickReasons: the suggested reasons for warns, kicks and bans.
- Config.Sit: where the sit room is.
- Config.Duty: set
required = trueto block admin actions until staff clock on. - Config.Replay: how much is recorded, the video frame rate and bitrate, and how long clips are kept.
- Config.LiveView: streams per staff member, STUN/TURN servers and
hideStaffIp. - Config.LiveMap: the map style (see below).
- Config.Evasion: alert staff about linked accounts, or block them.
- Config.Economy and Config.StaffFlags: what counts as suspicious.
- Config.Webhook: a Discord webhook for the audit log.
- Config.Locale: the language (see Translations).
Live map style
The live map uses GTA's satellite map out of the box. The atlas style is included too, and setting image = nil switches to VX's plain outline of San Andreas. You can also use your own image from html/map/ (the README there explains).
config.lua
Config.LiveMap.image = 'https://cfx-nui-vx-admin/html/map/gta-atlas.webp'
Config.LiveMap.background = '#0fa8d2' -- the atlas ocean colourAI triage
AI triage uses your own Anthropic API key. Nothing is sent unless staff click Triage on a report.
server.cfg
set vxadmin_ai_key "sk-ant-..."