Autobans & punishments
How to make Grim act on its own, running a command like a kick or ban when a player crosses a violation threshold. This is Grim's punishments.yml, separate from moderating by hand in Warden AC.
punishments.yml. There's also a Punishments tab to fine-tune each category. The rest of this page explains how that file works if you'd like to understand or edit it yourself.How punishments.yml is organised
Grim groups checks into categories. A category collects one or more checks together and defines what should happen at given violation levels, for example, alert staff every few violations, and run a command once violations pass a higher number. Because checks share a category, you tune a whole group of related detections in one place instead of per check.
Punishments are just commands Grim runs from console when a threshold is reached. That's the key idea: Grim doesn't have its own ban database, it fires a command, so you decide whether that's a vanilla ban, or a command from a punishment plugin like LiteBans, AdvancedBan or your network's own system.
Set up an autoban
plugins/Grim/punishments.yml. Back it up before editing./grim reload (or restart), then verify on a test account that the command fires at the threshold you set.Illustrative example
The exact syntax depends on your Grim version, so treat this as the shape of the idea rather than copy-paste config. It groups movement checks, alerts staff, and runs a ban command once violations pass a threshold:
Movement:
checks:
- "Simulation"
- "Speed"
- "Fly"
# run these commands at the given violation counts
commands:
5:
- "[alert]" # notify staff in-game
40:
- "[webhook]" # optional: fire a Discord webhook
200:
- "ban %player% Unfair advantage (Grim)"Here %player% is replaced with the player's name. Swap the ban line for your punishment plugin's command if you use one (for example a tempban with a duration). Higher thresholds mean more certainty before a ban, at the cost of letting a cheater play a little longer first.
Discord alerts
Many setups also fire a Discord webhook on a punishment or alert threshold, so staff see activity in a channel. That's configured on Grim's side too. Remember it's independent of Warden AC, your dashboard already gives you the full live feed and history without needing webhooks.
