NEXO DOCSv1 · ENES
docs / scripts / nexo-admin

Nexo Admin

Admin panel with Multi Camera, a live map, reports, bans, a death log and an editable look.

v1.0.0ESXQBCoreQBoxStandalone

What's included

A complete admin panel with Multi Camera, a live map, reports, bans, a death log and logs, with a look the owner can edit. Works with ESX, QBCore, QBox and no framework (auto-detected), uses ox_inventory if you have it and saves data in oxmysql or JSON files. In English and Spanish.

ScreenWhat it does
DashboardPlayers, reports, staff, active cameras, 24 h chart and quick tools (noclip, TP to marker, godmode, invisible)
Multi CameraAuto, 2×2, 3×3 or 4×4 grid, pinned cameras, auto rotation and quality. Double-click to enlarge with all data and actions
Players and profileIdentifiers, sanctions, screenshots, private notes, money and job, watchlist and live camera
Live mapReal positions, filters, zoom and a card with a mini camera
ReportsPlayers use /report. They arrive with a sound and can be assigned, answered, prioritized and closed
BansBy identifiers and hardware, with templates, duration, screenshot proof and offline bans
DeathsWho, weapon or cause, distance, headshot and location. Suspicious-death filter
LogsEverything the staff does, including who watched which camera and for how long
ServerVehicles, weather, time, announcements and scheduled restart
AppearanceThe owner changes colour, background, glow, glass, corners, name and logo for all staff

Shortcuts: Ctrl+K quick search, Esc close, N notifications. In Multi Camera: 1–4 grid, P pause, R rotation and arrows in the enlarged camera.

Requirements

ResourceRequired?What for
OneSyncYesHealth, position and teleports from the server
screenshot-basicFor camerasMulti Camera and screenshots. Without it, everything else works
oxmysqlOptionalSave to a database. Without it, JSON files are used
FrameworkOptionalESX, QBCore, QBox or none

Installation

  1. Download the resource From keymaster.fivem.net → Granted Assets, and copy the nexo_admin folder into resources.
  2. Add it to your server.cfg After your framework.
    ensure oxmysql            # if you use it
    ensure screenshot-basic
    ensure nexo_admin
  3. Set yourself as owner In config.lua. Your license shows in the server console when you join, or in txAdmin.
    Config.Owners = { 'license:xxxxxxxxxxxxxxxx', 'discord:123456789012345678' }
  4. Restart and open it Press F10 or type /admin in game. The oxmysql tables are created automatically (also in sql/install.sql).
Try it without a serverOpen web/index.html in Chrome: it loads sample data and cameras so you can see every screen.

Staff, ranks and permissions

There are four ways to give access, and you can combine them:

  • From the panel: Admins → Add admin (owner only).
  • ACE in server.cfg (see the code below).
  • Framework groups: Config.FrameworkGroups (god, superadmin, admin and mod by default).
  • Owners: Config.Owners in config.lua.
add_ace group.admin nexo.role.admin allow
add_principal identifier.discord:123456789 group.admin

Included ranks: Owner, Super Admin, Admin, Moderator and View only (sees players and cameras but can't act). The owner changes each rank's permissions in Admins → Permissions by rank, without a restart, and Reset goes back to Config.Roles. Nobody can sanction someone of equal or higher rank.

  • On-duty mode: each admin has a toggle. Report and watchlist alerts only go to those on duty (to everyone if nobody is).
  • Performance: per admin and period (24 h, 7 or 30 days): reports handled and closed, average response time, sanctions, jails, mutes and cameras watched (staff.stats permission).

Multi Camera and screenshots

Cameras are screenshots at 1 to 4 per second, not smooth video, like the best-known panels. Hidden cameras pause, and quality is light in the grid and high when enlarged. Rate and quality are set in Config.Stream.

Mention it in your rulesState in your server rules that staff can see players' screens. To notify players when they're being watched, enable Config.Stream.NotifyPlayer.

With no setup, screenshots last until restart (ban screenshots are always kept). To keep them forever, pick a service in Config.Screenshots:

ServiceHow
fivemanageRecommended. Set your API key in FivemanageKey and check the upload URL and fields in their docs
discordA webhook in DiscordWebhook. Discord expires file links after a while
customYour own server: receives the image as multipart and returns a JSON with the link

The server does the upload, so the key never reaches players.

Moderation and server

ToolHow it worksConfig
Admin jailLocks the player in an isolated zone for X minutes. If they escape, they're sent back; if they disconnect, the time waitsConfig.Jail
MuteChat, voice or both, with duration. Voice uses Mumble mute (pma-voice). Chat is blocked in the default chat resourceConfig.Mute
InventoryOpens the player's inventory: ox_inventory, qb-inventory or ps-inventoryConfig.Inventory
VehiclesSpawn by model, repair, delete and clear empty ones in an area. Keys via the qb event or qbx_vehiclekeysConfig.Vehicles
Weather and timeUses qb-weathersync if present. With another script, set its commandsConfig.World
Scheduled restartWarns at 30, 15, 10, 5, 3, 2 and 1 minute and shuts the server down. With txAdmin it restarts by itselfConfig.Restart

Reports and Discord alerts

Players use `/report`, which opens a window to pick the report type. Reports that need proof are sent to a Discord ticket (Config.Reports.DiscordUrl). The player sees the staff reply on screen, and if they report another player, deaths between them in the last hour are shown.

In Config.Reports.StaffAlert set the staff channel webhook and, optionally, the role ID to mention:

  • If a report comes in and no staff is on duty, Discord is alerted.
  • If a report goes unclaimed for more than UnassignedMinutes minutes, a reminder is sent.
OptionWhat for
Config.WebhookChannel where logs are sent
Config.ReportWebhookChannel where new reports are sent
Config.DiscordBotTokenA bot token to show Discord avatars. Without it, coloured initials

Death log

Each death records who died, who killed them, the weapon or cause (vehicle, melee, fall, explosion, fire, drowning or suicide), the distance, whether it was a headshot and the location. In the Deaths screen you can search by player or weapon, filter "between players" and "suspicious" and go to each death's location.

Suspicious deaths are run-overs by another player (possible VDM) and shots from more than Config.Deaths.LongDistance metres. Requires the deaths.view permission.

Support, not proofDeaths are detected by the dying player's game, so a cheater could hide or fake their own deaths.

Data, map and frameworks

With oxmysql, logs, reports and deaths have their own tables (nexo_admin_logs, nexo_admin_reports, nexo_admin_deaths) with search and no practical limit; everything else goes in nexo_admin_data. Without oxmysql everything works with JSON files in the data/ folder (don't delete it).

Live map: no map image is included for copyright reasons; without one you see a grid with real positions. To use one, save it as web/map.jpg and adjust Config.Map.Bounds.

Another framework: implement the functions in bridge/server.lua (GetCharacter, HasGroup, AddMoney, SetJob, AddItem, Revive) in a new block and set its name in Config.Framework.

Editable files

FileWhat for
config.luaOwners, ranks and permissions, key and commands, cameras, screenshots, reports, jail, mutes, vehicles, weather, restart, deaths and Discord.
bridge/server.luaFramework bridge: character, groups, money, job, items and revive.
locales/Spanish and English texts.

FAQ

Are the cameras live video?

They're screenshots at 1 to 4 per second, like the best-known panels. Rate and quality are set in Config.Stream, and quality goes up automatically when you enlarge a camera.

Do I need a database?

No. With oxmysql everything is saved in tables that are created automatically; without it, JSON files are used.

Is the code encrypted?

The core is protected with Cfx.re escrow. Config, translations and integration points stay open.

Do I get updates?

Yes, for free. New versions appear in your Keymaster and we announce them on Discord.

What if something doesn't work?

Open a ticket on our Discord with the console error and we'll help you.