Skip to content

Automation

Jan Kluka edited this page Sep 12, 2026 · 4 revisions

Automation

Macros, autoclickers and AFK mining. Speed is not the signal — consistency is. A person's timing wanders; a macro's does not, and a macro that adds random jitter on a fixed loop still repeats that loop in a way a person never does.

Rate does not enter the score. A player at 19 swings per second and a player at 3 both score zero if their timing wanders. The one exception is a rate the server could not have produced at all, which is a separate check rather than part of the score — see Break speed below.

The signals

See What It Detects for the table, the weights and the scale. Each signal is measured against a baseline in modules.automation.baselines, and staff are shown the same number the score was derived from.

Every signal is listed on every report, whether or not it could be read. A signal that had nothing to measure says so — not read - breaking at server tick speed, not read - 12 of 60 turns recorded — in place of a reading. An absent row and a clean row look identical to the person reading the screen, and the difference between them is the difference between we checked and we could not. Only the rows that were actually read are averaged into the score.

Break speed

Swings per second, against max-breaks-per-second (default 25.0).

Blocks break on tick boundaries, so 20 a second is everything the server can hand out, and blocks an area enchant clears are never counted as swings. A rate above the ceiling is therefore not a fast pickaxe — it is a client asking for more breaks than the server can serve.

Because that is a fact rather than a statistical hint, it reports as its own check (break-speed) at full confidence instead of nudging an average, and its weight in the composite ships at 0.0. Raise the weight if you want it to count towards the score as well.

It is reported again every repeat-windows for as long as the rate stays over the ceiling — every analysis window by default. It was previously reported once per mining session, and a session only ends after idle-reset-seconds without a break, so a player who simply kept mining was reported once however long they carried on.

Check your TPS before acting on one: a server catching up after a lag spike delivers breaks in bursts.

When one signal is enough

The composite is a weighted average, so a single signal at its maximum only ever contributes its own weight — and the heaviest of them is 0.30, which is 30 of 100 against a threshold of 60. A player who is perfectly machine-like on one measure and ordinary on every other can never reach it.

Two signals are decisive enough to be worth a flag on their own, and each raises its own check once it holds at or above its cutoff for sustained-windows in a row, whatever the average says, and again every repeat-windows for as long as it is still being held:

Check Signal Default cutoff
interval-variance Timing variation — every gap between breaks the same length 0.95
periodicity Repeating pattern — a fixed cycle in the timing 0.90
modules:
  automation:
    signal-alerts:
      interval-variance: 0.95
      periodicity: 0.90

Set either to 0 to switch it off. Camera movement, session continuity and movement repetition are deliberately absent: alone, each describes a 1x1 tunnel miner or a focused grinder as readily as a macro, and they are only worth acting on when the other signals agree — which is what the composite is for.

Both checks are still subject to the tick floor. A player breaking at server tick speed has no timing to measure, so neither signal is read and neither can flag.

The tick floor

Blocks break on tick boundaries, so the gap between breaks is always a multiple of about 50ms. A player fast enough to break one block per tick has no room left to vary: every gap is identical, and a person and a macro produce exactly the same numbers.

Below tick-floor-millis (default 55) the three timing signals stop scoring and say why on the report instead, exactly as a check below its minimum sample count does. Camera movement, session continuity, movement repetition and break speed still run — and break speed deliberately still runs here, because this is exactly where a client breaking faster than the server allows would hide.

This matters most on an OP prison, where a maxed pickaxe is the point of the server. Without the guard, tick-speed mining scores 70 out of 100 on its own — enough to flag most of a playerbase for owning a good pickaxe.

Area enchants

AreaBreakPipeline fires one block-break event per block for every area proc, all in one tick. Counted as swings, every player holding an area enchant would score as a perfect macro. X-Warden asks X-Prison directly which breaks are synthetic; without the core it infers the same thing from the tick clock, since a player swings at most once per tick.

Verification challenges

Off by default. On a sustained high score, the player is asked to type a short code within a timeout. Non-response is strong evidence and requires no accusation. Some owners will hate it, which is why it is off.

challenge:
  enabled: false
  score-trigger: 85
  timeout-seconds: 60
  cooldown-minutes: 30

/xwarden verify <code> deliberately needs no permission, and a frozen player can still run it.

Settings worth knowing

modules:
  automation:
    sample-size: 200              # recent breaks kept per player; fixed, never grows
    min-samples-for-score: 60     # no score at all below this
    score-threshold: 60           # the composite that counts as suspicious
    sustained-windows: 3          # consecutive windows above it before anything is reported
    repeat-windows: 1             # how often break speed and the per-signal checks report again
    analysis-interval-seconds: 30
    idle-reset-seconds: 300       # a gap this long ends the session and clears the samples
    tick-floor-millis: 55
    max-breaks-per-second: 25.0   # a rate above this is reported as its own check
    signal-alerts:                # a signal decisive enough to flag on its own
      interval-variance: 0.95
      periodicity: 0.90

Violation levels that can actually be reached

A check contributes confidence / 100 to its violation level and loses vl-decay every minute. A check that gains less per finding than it loses between findings can never reach its action, so it detects what it was built for and then downgrades itself to a log line.

That is why the two automation checks reporting a fact rather than a trend act on their first reading — break-speed at vl-threshold: 0.9 and challenge-failed at 0.8, both with vl-decay: 0.0. Break speed is reported again every repeat-windows for as long as the rate stays over the ceiling, so a persistent exploiter builds a level; an unanswered prompt cannot repeat until its cooldown expires. A threshold above what one finding is worth would silence challenge-failed for good, and X-Warden names a check in that state with a [tuning] line.

The composite is the opposite case and stays cumulative: vl-threshold: 2.0 against vl-decay: 0.1, which is about four reports, or roughly six minutes of unbroken machine-like mining.

Every threshold has a written note in warden.yml saying what a false positive on it looks like.

Clone this wiki locally