Skip to content

Installation

  1. Copy the [anticheat] folder to server/mods/deathmatch/resources/.
  2. Copy ac_core/secrets.example.json to ac_core/data/secrets.json and fill in the webhooks (see Discord webhooks). If you want VPN blocking, also fill in vpnApiKey.
  3. In the server console grant the permissions:
    aclrequest allow ac_core all
    aclrequest allow ac_guard all
  4. 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" />
  5. 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>.
  6. Start with start ac_core and check in debugscript 3 that there are no errors.
  7. 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.