Webhooks
Example discord.yml configuration
enabled: true
webhook: "https://discord.com/api/webhooks/123456789123456789/15820uj098guaiqw19i1j4rlksjfa9pri910_24jkalsfja0f9iuaghIp15ij0u098uY"
embed-title: "**Grim Alert**"
embed-color: "#00FFFF"
violation-content:
- "**Player**: %player%"
- "**Check**: %check%"
- "**Violations**: %violations%"
- "**Client Version**: %version%"
- "**Brand**: %brand%"
- "**Ping**: %ping%"
- "**TPS**: %tps%"
Sending webhooks
[webhook] should be configured in the commands list in the punishments.yml config to send webhooks when players are flagging the anticheat. You can configure these thresholds and intervals independently from normal alerts to reduce spam.
Example punishments.yml configuration for webhooks
This would send an alert every 5 violations of checks containing "Knockback" or "Explosion" in their name & would send a discord alert every 20 violations.
Punishments:
Knockback:
remove-violations-after: 300
checks:
- "Knockback"
- "Explosion"
commands:
- "5:5 [alert]"
- "20:20 [webhook]"