config.yml
The main settings. Each check also has its own block in checks.yml: enabled, shadow (dry run), buffer-limit, buffer-decay, violation-weight, setback, actions, exempt-worlds, exempt-gamemodes and its own params. Run /ac reload after editing.
| Setting | Default | What it does |
|---|---|---|
| enabled | true | Master switch. Off means nothing is flagged. |
| learning-mode | false | Record every flag as dry run and punish nobody. |
| debug | false | Log extra detail and check errors. |
violations.decay-per-minute | 1.0 | Violation level lost per minute, per check. |
alerts.auto-enable | true | Staff get alerts after joining. |
alerts.console | true | Also print alerts in the console. |
alerts.cooldown-seconds | 1.0 | Seconds between two alerts of the same check for the same player. |
alerts.show-shadow | true | Show dry-run flags (to staff who typed /ac verbose). |
alerts.shadow-to-all-staff | false | Show dry-run flags to every staff member. |
punishments.method | internal | internal (server ban list), command (templates below) or mcbans. |
| punishments.commands.ban / tempban | ban {player} {reason} | Templates for method command. {player}, {reason}, {duration}. |
| punishments.mcbans.ban / tempban | ban {player} -s {reason} | Templates for method mcbans. |
punishments.defaults.<category> | [] | Action lines for checks that have none of their own. |
punishments.wave.auto-run-minutes | 0 | Run the wave by itself every N minutes. 0 = manual. |
punishments.wave.reason | Unfair advantage | Ban reason used by waves. |
punishments.wave.announce | true | Announce how many players a wave removed. |
performance.min-tps | 16.0 | Movement and combat checks pause below this TPS. |
performance.max-ping | 600 | Players above this ping (ms) are not judged by movement, combat and world checks. |
exempt.gamemodes | [SPECTATOR] | Game modes that are not checked. |
| exempt.worlds / exempt.regions | [] / {} | Worlds and boxes that are not checked. |
bedrock.name-prefix | . | Names with this prefix count as Bedrock when Floodgate and Geyser are not found. |
via.enabled | true | Looser limits for players on another version (ViaVersion). |
cases.auto-open-vl | 0 | Open a case by itself when a player's total VL reaches this. 0 = off. |
replay.enabled | true | Record replays. |
| replay.on-violation / min-vl | true / 3 | Save a replay when a check flags at or above this VL. |
| replay.before-seconds / after-seconds | 20 / 10 | The window around a flag. |
replay.max-size-kb | 1024 | Replays larger than this are not saved. |
replay.max-parallel | 10 | Replays being recorded at once. |
| replay.record-nearby / record-terrain | true / true | Record nearby players and the terrain along the route. |
replay.terrain-max-blocks | 24000 | Most surface blocks saved per replay. 0 = none. |
replay.retention-days | 14 | Delete replays after this many days unless they belong to a case. |
| retention.violation-days / audit-days | 60 / 180 | Delete violations and audit entries after this many days. |
database.type | sqlite | sqlite or mysql (then fill database.mysql). |
discord.webhook-url | (empty) | Discord webhook for alerts, punishments, case summaries and client flags. |
| discord.min-vl / cooldown-seconds | 5 / 30 | Only flags from this VL, at most one per player and check every N seconds. |
discord.include-shadow | false | Also post dry-run flags. |
join-gate.enabled | true | Turn the join gate on. |
join-gate.mode | observe | observe records only. enforce acts on the result. |
join-gate.hold-ms | 1500 | The longest a joining player is held. |
| join-gate.flag-score / restrict-score / kick-score | 30 / 60 / 90 | Risk score from which things happen (enforce mode). |
join-gate.punishment | kick | What kick means for a rejected client: kick, ban, tempban 3d or wave. |
join-gate.allow-list-mode | false | Only allowed-brands and allowed-channels may join (enforce mode). |
| join-gate.allowed-brands / allowed-channels | [vanilla, fabric, forge, neoforge, quilt] / [] | The allow-list. |
join-gate.translation-probe | false | The experimental translation probe. Read the join gate limits first. |
join-gate.signatures-file | signatures.json | Your signatures. |
| join-gate.remote-update.enabled / url / public-key | false / (empty) / (empty) | Signed signature list download. |
join-gate.kick-probe-blockers | false | Kick a client that answers the translation probe wrongly on purpose (OpSec and similar) with a message to remove the mod. |
join-gate.max-joins-per-ip-per-minute | 6 | Joins per address per minute before the bot signal. 0 = off. |
panel.enabled | true | Start the web panel. |
| panel.bind-address / port | 127.0.0.1 / 8765 | Where it listens. |
panel.behind-https-proxy | false | Secure cookies and trust X-Forwarded-For. |
panel.public-url | (empty) | The address in /ac panel links. |
| panel.session-minutes / login-link-minutes | 120 / 5 | Session length and how long a login link lives. |
panel.require-2fa | false | Demand a two-factor code for every sign-in. |
panel.allow-linked-accounts | false | Show accounts that joined from the same address. |
ai.enabled | false | Turn the AI advisor on. |
| ai.provider / endpoint / model | openai / https://api.openai.com/v1 / gpt-4o-mini | Which service to call. |
ai.max-tokens | 900 | Longest answer. |
ai.send-ips | false | Allow IP address hashes in requests (you still tick the box per request). |
| ai.rate-limit-per-minute / cache-minutes | 6 / 60 | Rate limit for the whole server, and how long answers are cached. |
culling.enabled | false | Player culling against ESP. |
| culling.min-distance / max-distance | 10 / 128 | Never hide closer than the first, ignore beyond the second. |
| culling.hide-after-tests / viewers-per-tick / max-rays-per-tick | 3 / 4 / 600 | Culling cost and caution. |
integrations.placeholderapi | true | Register the placeholders. |
updates.enabled | true | BuiltByBit update check (only for copies downloaded from BuiltByBit). |
| updates.resource-id / check-interval-hours / auto-download | 0 / 24 / false | Update settings. Set the resource id to turn the check on. |