Autoclicker

[!] Inferential
Autoclicker via five independent signals on a swing: CPS, Robot (sub-10ms nano-delta), StDev (too-uniform intervals), Kurtosis (near-uniform fixed-delay), and Record (a non-constant periodic click loop). Ported from Nemesis AutoClickerA-D.
id: clickStatistics  ·  class: ClickStatisticsCheck  ·  group: Combat

What it detects

Autoclicker via five independent signals on a swing: CPS, Robot (sub-10ms nano-delta), StDev (too-uniform intervals), Kurtosis (near-uniform fixed-delay), and Record (a non-constant periodic click loop). Ported from Nemesis AutoClickerA-D.

Observer signature

CPS: swings in last 20 ticks > threshold (20) -> level 1. Robot: first nanoInterval < 10ms AND second < 50ms -> level 2. StDev: populationStDev of last 40 intervals < 0.45 -> level 1. Kurtosis: excess kurtosis over a 600-sample window < -0.7, fired once per episode at level setbackVL + 1.0. Record: detects a non-constant periodic loop in the last 60 tick intervals (the period must hold for >= 5 cycles), fired once per episode at level setbackVL + 1.0 and re-arming after 20 consecutive non-loop intervals. A swing relayed while the server has a dig live for that player is skipped for the cadence windows when its interval is >= 2 ticks (as fast as a relay runs in vanilla), so a bedrock miner's exactly-constant 4-tick stream no longer reads as a fixed-delay clicker. CPS still counts those swings.

False-positive guards

  • Same-tick swing batches (server/lag collapse) excluded from nano/stat windows
  • Strict kurtosis bar (-0.7) excludes legit jitter/drag clicking
  • Kurtosis transition gate fires once per episode, re-arms at kurt >= -0.2
  • Server-relayed dig swings (>= 2-tick interval) excluded from the StDev/Kurt/Record cadence windows, since the digger's arm runs on the server's clock, not theirs

Configuration

Defaults (editable in-game via the YACL config screen or /ius config):

FieldDefault
enabledtrue
setbackVL5.0
decay0.05
threshold20.0
CPS bar20 swings / 20 ticks
Robot<10ms then <50ms
StDev bar< 0.45 (40 samples)
Kurtosis window600, bar -0.7
Recordperiodic loop over 60 intervals, >= 5 cycles

Source

src/main/kotlin/dev/iustitia/checks/combat/ClickStatisticsCheck.kt  ↗