Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for GrimAnticheat

1.8-1.20 support | 0.001% speed | 3.01 reach | 99.99% antikb | Open Source | 1.20 native

Report GrimAnticheat?

punishments.yml

Grim's config system is a bit different from other anticheats. Within the punishments.yml config file you can categorize checks by placing them under a category. For example, you can set it up so that Timer & NoFall both alert every 5 violations by placing them under the same category. If you want to disable a check, then simply remove it from all categories.

Punishments:
  Simulation:
    remove-violations-after: 300 # removes violations after 300 seconds just for checks within category
    checks:
      - "Timer"
      - "NoFall"
    commands:
      - "5:5 [alert]"

These categories can be named anything & you can create as many as you like. You can run multiple commands based on different violations.

Punishments:
  BlockCheck1:
    checks:
      - "FarPlace"
    commands:
      - "1:1 [alert]" #Alert every time someone flags FarPlace
  BlockCheck2:
    checks:
      - "PositionPlace" #Alert every time someone flags PositionPlace & kick them after 10 violations
    commands:
      - "1:1 [alert]"
      - "10:10 kick %player% &cStop cheating!"

You can also prevent checks from being added to the category with similar names using !. For example this will alert whenever someone flags any check that has the name "BadPacket" in it EXCEPT for BadPacketsA & BadPacketsB.

Punishments:
  BadPackets:
    remove-violations-after: 300
    checks:
      - "BadPackets"
      - "!BadPacketsA"
      - "!BadPacketsB"
    commands:
      - "20:20 [alert]"