# Administration commands

Use these in game with `/aegis`, or omit the slash in the server console. `/aegisgrim` remains an alias. Administration requires aegisac.admin or the legacy aegisgrim.admin permission; both default to operators.

| Command | Purpose |
|---|---|
| `/aegis help` | List commands and usage |
| `/aegis status` or `engine` | Native build, Grim and Donut connection status |
| `/aegis player NAME` | Sanctions, online state, ping, mode and position |
| `/aegis baninfo NAME` | Ban stage and remaining time |
| `/aegis history NAME [1..50]` | Recent confirmed events |
| `/aegis listbans [page]` | Active UUID bans, ten per page |
| `/aegis ban NAME [reason]` | Apply a manual sanction using the configured escalation |
| `/aegis unban NAME` | Remove active UUID/known-IP sanctions; retain escalation count |
| `/aegis reset NAME` | Unban and reset escalation/native punishment counters |
| `/aegis unbanip IP` | Remove the permanent IP entry |
| `/aegis ipcheck NAME` | Show the known IP and UUID permanent-ban state |
| `/aegis warn NAME [reason]` | Yellow staff warning, saved history and Discord report |
| `/aegis kick NAME [reason]` | Staff kick, saved history and Discord report |
| `/aegis alerts on` or `off` | Toggle the sender's confirmed staff alerts |
| `/aegis exempt NAME SECONDS` | Temporarily exempt native flags/actions; 1..86400 seconds |
| `/aegis exempt NAME off` | Remove a manual exemption |
| `/aegis exemptions` | List active manual exemptions |
| `/aegis pause [SECONDS]` | Pause automatic output and sanctions; default 60, maximum 3600 seconds |
| `/aegis resume` | Resume and clear native punishment counters and pending actions |
| `/aegis health` | TPS, online count, whole-server heap and pause state |
| `/aegis stats` | History, active bans, pending actions and native Grim player count |
| `/aegis export [NAME]` | Export up to 50 recent events to exports/*.csv |
| `/aegis clearhistory NAME` | Clear recorded confirmed events without resetting escalation |
| `/aegis webhook URL` or `off` | Configure or disable the destination Discord webhook |
| `/aegis reload` | Reload Aegis action/output settings |

Names and UUIDs work for known players. A known IP can also be supplied to unban. `unbanip` changes only the IP entry: use `unban NAME` when the account also has a UUID sanction. Full IP and sanction details are restricted to administrators.

Native Grim check settings can be reloaded with `/grim reload`. Raw Grim alerts/verbose output remain suppressed: confirmed actions and Donut staff review warnings are the public outputs. `aegisac.alerts` controls access to confirmed staff notifications. The original grim.exempt and grim.nomodifypacket permissions remain available and default to false; do not grant these to ordinary players.

Native packet guards and setbacks remain active during an administrative pause. Native punishment counters and queued automatic actions are cleared at resume or automatic expiry, so paused evidence is not replayed as a ban.
