-
Notifications
You must be signed in to change notification settings - Fork 365
Discord webhooks
AoElite edited this page Dec 17, 2024
·
1 revision
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%"
[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.
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]"
More information in the readme.