> For the complete documentation index, see [llms.txt](https://docs.jonesdev.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jonesdev.xyz/administration/configuring-sonar/adjusting-the-attack-tracker.md).

# Adjusting the attack tracker

The attack tracker in Sonar monitors for potential bot attacks based on player activity. Adjust these settings only if you really know what you're doing.

The minimum number of new players required to trigger attack detection. Default: `8`

```yaml
min-players-for-attack: 8
```

The minimum duration (in milliseconds) that an attack must last to be considered ongoing. Default: `30000`

```yaml
min-attack-duration: 30000
```

The minimum number of incident reports needed to confirm an attack, acting as a buffer against false positives. Default: `2`

```yaml
min-attack-threshold: 2
```

The cooldown period (in milliseconds) required before detecting a new attack after one has ended. Default: `3000`

```yaml
attack-cooldown-delay: 3000
```
