GCMod

Commands

Available commands and usage patterns for gcm-reports.


Commands are registered with lib.addCommand in server/commands.lua.

Registered commands

/greport
  • Who can use it: all players
  • Usage: /greport
  • Parameters: none
  • What it does: opens the user report panel to create and track reports.
/gadmin
  • Who can use it: staff with valid reports permissions/group
  • Usage: /gadmin
  • Parameters: none
  • What it does: opens the admin panel to claim/resolve reports and use staff actions.

Config keys

  • Config.Commands['userpannel'].name
  • Config.Commands['adminpannel'].name

You can rename command labels without changing callback/event names.