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.
How it works
Section titled “How it works”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, the guard looks for the core, and the SDK looks for the AC. 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.xmlalready ships neutral (no “VIGIL” or “AC” in the name and description).
Install with other names
Section titled “Install with other names”From the test bundle folder (or the repository), with Node.js:
node scripts/resource-identity.js --out ./names --seed a-phrase-of-yoursIt generates valid names (without words like ac, guard, anti, cheat or vigil) and copies the core and the guard to names/[gameplay]/<name>. You can choose yourself: --core name1 --guard name2 --group "[gameplay]", and pass the list of resources you already have (--existing resources.txt) to avoid clashes. The names/ folder includes an INSTALL.txt with the exact steps for your case.
Summary of the steps:
- Copy both folders to
resources/. - In the console, with the new names:
aclrequest allow <core name> allaclrequest allow <guard name> all
- In
mtaserver.conf, add both withstartup="1" protected="1". - The SDK is disabled: there is nothing to change in your scripts, and do not write the AC name in them.
- Start and confirm in the console:
It shows the core name, the watchdog name and how the core found it (/ac identity
rid attribute of meta.xml,default nameorresources.guard from the configuration).
Rename later
Section titled “Rename later”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.
Forcing the guard name
Section titled “Forcing the guard name”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.
What stays visible
Section titled “What stays visible”Even with other names these remain visible: the ac:... event names, the “VIGIL” text in messages and files, the exported function names (report, allowTeleport…) and the need to grant ACL rights. The full list is in the report.json the generator writes.