Installation
- Copy the
[anticheat]folder toserver/mods/deathmatch/resources/. - Copy
ac_core/secrets.example.jsontoac_core/data/secrets.jsonand fill in the webhooks (see Discord webhooks). If you want VPN blocking, also fill invpnApiKey. - In the server console grant the permissions:
aclrequest allow ac_core allaclrequest allow ac_guard all
- In
mtaserver.conf, add the two resources with automatic start and protected, so MTA does not let them be stopped by command:<resource src="ac_core" startup="1" protected="1" /><resource src="ac_guard" startup="1" protected="1" /> - Still in
mtaserver.conf:<bullet_sync>1</bullet_sync>(needed for shooting detections);<max_player_triggered_events_per_interval>and<player_triggered_event_interval>with sensible values (for example 100 events in 1000 ms);<player_teleport_alert>100</player_teleport_alert>.
- Start with
start ac_coreand check indebugscript 3that there are no errors. - Activate the license (next page): press F7 and enter the key.
Want other folder names instead of ac_core and ac_guard? See Resource names: it works without changing any code. To integrate your own resources with the AC (secure events, permissions), see the SDK.
Reinstalling or copying a new version over
Section titled “Reinstalling or copying a new version over”To reinstall or update by hand, copy over the existing folder and do not delete the data/ folder: your configuration, webhooks, database and license live there. After copying, the AC shows a “meta.xml was changed outside the panel” alert: this is expected, confirm it in Security. The step by step is in Updating the AC.
What each file in the data/ folder does is in AC files and folders. Before you touch anything, make a backup.