Get started

Concepts

Events, flags, evidence, trust and verdicts. How valkyr turns raw telemetry into a decision you can explain to a player.

Events

The game server describes what happened as events. The core ones:

EventWhat it says
frameA player's position, view angles, ground contact and jump input at a server tick.
shotA shot with its view angles, the target it claims to hit, the bone and the latency.
ability, item, economyAbility use, item pickups and spends, money changes.
sound, spawn, profileSounds a player could hear, spawns and long term player statistics.
decoyA fake entity the server showed only to one player, to catch wallhacks.
match_endCloses a match and its statistics.

The world geometry (walls and other colliders) is sent once per match with PUT /v1/matches/{match_id}/world; it powers line of sight and culling checks.

Flags and evidence

A detector that sees something wrong raises a flag. A flag has a rule id such as movement.speed, a severity between 0 and 1, a short summary and a list of evidence items: what was measured, the observed value, the limit and the unit. A flag never acts on its own.

Trust

Every player starts at a small prior probability of cheating (2 percent by default). Each flag adds a log likelihood ratio, the rule's evidence weight scaled by the flag's severity. Evidence decays with a half life (30 minutes by default), repeated flags of one rule saturate, and correlated rules are grouped so that five aim signals do not count as five witnesses.

RuleWeight
movement.teleport2
movement.noclip2.2
movement.speed1.6
movement.fly2.2
movement.jump1.5
movement.ground_spoof0.8
movement.bhop1.6
movement.invalid2
view.pitch3
view.spin2.5
combat.fire_rate2.2
combat.cooldown2
combat.hit_invalid1.2
combat.range1.5
combat.through_wall1.2
combat.silent_aim1.8
aim.snap2
aim.trigger2.5
aim.reaction2
aim.model2.5
aim.seq2
aim.outlier1.2
stats.outlier1.2
info.wallhack2.6
info.decoy3.5
network.replay1.6
network.rate1
network.timescale2.5
network.clock_regress0.6
network.fake_lag2
network.macro1.5
economy.desync1.5
economy.negative1.5
economy.ceiling1.5
economy.gain2
economy.rate1.8
economy.dupe2.5
account.smurf0.5
account.alt0.3
account.linked0.7
account.evasion0.4
client.problem1
client.signal0.4

Generated from crates/valkyr-core/src/trust.rs at build time.

Verdicts and actions

The posterior probability picks an action from your policy. The defaults:

ActionFromWhat it means
log0.1Keep the evidence.
review0.6Send the case to moderators or the jury.
shadow_queue0.85Match the player with other suspects.
kick0.97Remove the player from the match.
restrict0.995Timed ban, 1440 minutes by default.
banoffPermanent ban, only when you set a threshold.

Enforcing actions (kick and above) also need evidence from at least two independent rules or groups (min_rules_for_enforcement). A verdict built only from client signals is capped at review.

Explanations

Every trust report and verdict carries an explanation: how much log odds each rule and each group contributed. That is what you show a player who asks why, and what a juror reads before voting.

Determinism

The engine takes time from the events you send and never reads a clock or a random number generator. Record a match, replay it anywhere, and you get the same verdicts. The simulator and the evaluation tables on the home page rely on this.

Edit this page on GitHub