Skip to content

Commands ​

Defaults come from Config.UI and can be changed in config.lua.

Player & staff menus ​

CommandDefault keyWhoDescription
/reportF6PlayersOpen player report menu
/reportsF7StaffOpen staff reports menu

Commands are registered from Config.UI.playerCommand / staffCommand. Keys use RegisterKeyMapping.

For the full player and staff workflow, see the User Guide.

Staff notify key ​

CommandDefault keyDescription
leno_reports_open_notifyG (Config.StaffNotify.openKey)Opens staff UI focused on the last notified report

The shortcut needs a previous report notification and enabled staff notifications. With the default settings, switch On Duty in the staff sidebar first. The duty switch controls notification eligibility and the roster; it does not grant staff permissions.

Debug ​

CommandAccessDescription
reports_debugperms [serverId]Restricted (ACE / console)Prints ACE + framework permission debug for a player

Permissions ​

Staff access requires one of:

  1. ACE permission reports.admin (or your Config.Permissions.admin value)
  2. QBCore/QBox admin / god permission
  3. ESX group admin or superadmin

Example server.cfg:

cfg
add_ace group.admin reports.admin allow
add_principal identifier.license:YOUR_LICENSE group.admin

Customize further with ReportsHooks.IsStaff / CanOpenStaff / CanOpenPlayer — see Exports and Events.