Skip to content

Resource names

By default the resources are called ac_core and ac_guard. Anyone listing the resources on a server sees at once that there is an anti-cheat. You can give them other folder names without changing a single byte of code: the files are the release files, only the names change.

Each resource carries an rid attribute in the <info> tag of its meta.xml (c1 for the core and g1 for the guard). The core looks for the guard by that attribute and the guard looks for the core. None of them writes the other’s folder name. That means:

  • signed updates work with any name (the installer writes into the installed core’s folder and keeps the names);
  • the installation identity seen by the VIGIL AC service does not change if you rename the folder;
  • the release meta.xml already ships neutral (no “VIGIL” or “AC” in the name and description).

Ask VIGIL AC support for a copy of the release with alternative folder names, or rename the ac_core and ac_guard folders yourself. Pick names without words such as ac, guard, anti, cheat or vigil, and that do not clash with any resource you already have.

Summary of the steps:

  1. Copy both folders to resources/.
  2. In the console, with the new names:
    aclrequest allow <core name> all
    aclrequest allow <guard name> all
  3. In mtaserver.conf, add both with startup="1" protected="1".
  4. The SDK is disabled: there is nothing to change in your scripts, and do not write the AC name in them.
  5. Start and confirm in the console:
    /ac identity
    It shows the core name, the watchdog name and how the core found it (rid attribute of meta.xml, default name or resources.guard from the configuration).

Stop both resources, rename the folders, update mtaserver.conf, repeat the aclrequest with the new names and start. The core’s data/ folder moves with the folder; make a copy first.

For an unusual setup you can tell the core which resource is the guard in data/config.json: { "resources": { "guard": "guard_name" } }. Empty (the default) = find it automatically.

Even with other names these remain visible: the ac:... event names, the “VIGIL” text in messages and files, the ping and health exports and the need to grant ACL rights.