Summary
ALAT Patroller - server-side anti-cheat for Arma Reforger
Open and close: <ALAT Patroller> button of the pause menu, or Ctrl + F11.
Admin tools
*built-in detection
*automatic sanction
Description
Most functions were tested with local and virtual tests. I do not want to buy (or make) cheating software.
>> WHAT THE MOD DOES:
The server watches the players and takes action:
Each rule adds points to the player who breaks it. Your settings decide when the server warns, kicks, or bans for a limited time.
Admins and Game Masters are exempt.
Observation mode (ON at the first start): the server records and warns, but it does not kick or ban.
>> WHAT THE SERVER CHECKS:
- God mode: a player who turns off the damage to their own character. Outside observation mode, the damage is turned on again.
- Teleport and speed: position jumps too long for the time, on foot and in vehicles.
- Flying, or going under the ground.
- Fire rate: more shots per second than the weapon can fire.
- Unlimited ammo: shots with no decrease of the ammunition count.
- Forbidden weapons: shots with a weapon from a list that you set.
- Aim: too many head hits; fast aim turns just before a hit.
- Aim through walls (ESP): the aim follows a moving enemy that the player cannot see. Smoke counts as a wall only with espSmoke true (off by default). Warning only: its points alone never reach the kick limit.
- Damage Shield: when the score of a shooter is high (not in observation mode), the server can cancel the damage that this shooter deals.
>> DISCORD:
alertWebhookUrl: Alerts about suspect players.
sanctionWebhookUrl: Report of each kicked or banned player.
customWebhookUrl: Custom embed for each alert and each kick or ban.
*Only the custom webhook is translated (13 languages, one language for each message).
*Admin sets the address and the language in the status card.
>> COMPATIBILITY:
- Another mod that uses Ctrl+F11, Ctrl+F3, F11 or the pause menu button can conflict.
- The mod changes these game classes with "modded class":
SCR_PlayerController
SCR_BaseGameMode
SCR_CharacterDamageManagerComponent
SCR_CharacterControllerComponent
SCR_EditableCharacterComponent
SCR_SpawnProtectionComponent
SCR_ChatMessageLineComponent
PauseMenuUI
- Mods that turn off damage or move players can cause alerts or fight with the god mode correction:
*For each rule, you can add trusted players (identity IDs) to a whitelist, turn the rule off, or set godModeFix to false.
>> QUICK START:
1. Add the mod to your server and start it once. It writes ALAT/ALAT_Patroller_Config.json in the server profile.
2. Stop the server. Add your admins' identity IDs in adminIdentityIds. Add Discord webhooks.
3. Start the server. The mod is in observation mode.
4. Read the log for some days and adjust the limits. Then set observeOnly to false.
One log file per day (ALAT/ALAT_Patroller_Detections-<date>.jsonl); files older than logRetentionDays (30) are deleted.
>> CONTROLS:
Approved admins and GM can open the menu. The server checks the admin right for every action.
- Open: <Patroller (anti-cheat)> button of the pause menu, or Ctrl + F11 (fixed key).
- Players: list with scores, K/D/TK/Caps.
- Spectate (F11: 1st person, 3rd person, free camera; Esc: stop)
- Report (recent detections, recoil, spread, ESP), then Send to Discord
- Freeze, remove and restore all items
- Kick or ban with a confirmation, not usable on another admin
- Options: your own display choices (markers through walls, alerts, marker size and distance), kept on your computer.
- Manual: a help page in the game.
- Texts in 13 languages (the language of the game).
Chat commands:
#alat status,
#alat reload,
#alat report <player ID>,
#alat observe on|off.
Chat commands: Admin only:
#alat alias <name>,
#alat gm list,
#alat gm revoke <identity>.
>> GAME MASTER RIGHT AND DISPLAY NAME:
- Only an admin gives the Game Master right (Session or Permanent) or takes it back (Revoke).
- on/off duty: Ctrl+F3 (hidden key) switches your Game Master function on or off.
The [GM] tag follows it (an admin with no Game Master function starts hidden).
*An admin can send a Game Master off duty if they forget to toggle it off.
>> PRIVACY:
- The mod sends no data to the author or any third party. Its only network call goes to the Discord webhooks that the server owner sets (empty by default).
- Everything stays on your server. Detections are recorded: player name, identity ID, rule, values and position, in the profile log and the console log.
- Server memory: a small state per connected player (score, last 20 detections), removed when the player leaves.
- Display names and Game Master rights are saved in ALAT/ALAT_Patroller_Aliases.json and ALAT/ALAT_Patroller_GmRights.json in the server profile. They never go to the players.
- Players receive nothing more than in the normal game. Only admins and Game Masters receive the player list, scores, positions and reports.
>> LICENSE:
Made with Arma Reforger Tools, under the Bohemia Interactive rules for mods.
License
Arma Public License No Derivatives (APL-ND)