Skip to content

Server Configuration

Configuration has three layers, in order of priority:

  1. data/config.json: your changes (you only put what differs).
  2. Remote rules (updater.rulesUrl): data only, never code.
  3. server/config.lua: the defaults, documented in the file itself.

/ac reload rereads config.json and secrets.json. Changes made in the panel go into the History and can be reverted.

  • general.staffAcl and general.adminAcl (who is staff and who is admin), or general.staffElementData on VRP/MySQL servers.
  • general.language and general.discordInvite.
  • The webhooks in data/secrets.json (one per category).
  • resources.protected: the resources the AC protects.
  • If the server uses player IDs: general.playerId (see Player ID).
  • If you want staff mode: staffduty (see Staff Mode). The report reasons and the time of the screenshot cleanup are in reports.

The VIGIL AC service address and the audience are built into the signed version of the AC: they are not configurable and anything in config.json is ignored.

Each server sends its own embeds with its own webhooks. Routes: bans, detections, economy, screenshots, licenses, diagnostics, staff, infrastructure. In webhooks.templates you set, per route, the prefix and the colour and the footer, and you can hide the IP and serial or skip the image (useful for public channels).