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:
| Event | What it says |
|---|---|
frame | A player's position, view angles, ground contact and jump input at a server tick. |
shot | A shot with its view angles, the target it claims to hit, the bone and the latency. |
ability, item, economy | Ability use, item pickups and spends, money changes. |
sound, spawn, profile | Sounds a player could hear, spawns and long term player statistics. |
decoy | A fake entity the server showed only to one player, to catch wallhacks. |
match_ | Closes a match and its statistics. |
The world geometry (walls and other colliders) is sent once per match with PUT /v1/; 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.
| Rule | Weight |
|---|---|
movement. | 2 |
movement. | 2.2 |
movement.speed | 1.6 |
movement.fly | 2.2 |
movement.jump | 1.5 |
movement. | 0.8 |
movement.bhop | 1.6 |
movement. | 2 |
view.pitch | 3 |
view.spin | 2.5 |
combat. | 2.2 |
combat. | 2 |
combat. | 1.2 |
combat.range | 1.5 |
combat. | 1.2 |
combat. | 1.8 |
aim.snap | 2 |
aim. | 2.5 |
aim. | 2 |
aim.model | 2.5 |
aim.seq | 2 |
aim. | 1.2 |
stats. | 1.2 |
info. | 2.6 |
info.decoy | 3.5 |
network. | 1.6 |
network.rate | 1 |
network. | 2.5 |
network. | 0.6 |
network. | 2 |
network.macro | 1.5 |
economy. | 1.5 |
economy. | 1.5 |
economy. | 1.5 |
economy.gain | 2 |
economy.rate | 1.8 |
economy.dupe | 2.5 |
account.smurf | 0.5 |
account.alt | 0.3 |
account. | 0.7 |
account. | 0.4 |
client. | 1 |
client. | 0.4 |
Generated from crates/
Verdicts and actions
The posterior probability picks an action from your policy. The defaults:
| Action | From | What it means |
|---|---|---|
log | 0.1 | Keep the evidence. |
review | 0.6 | Send the case to moderators or the jury. |
shadow_ | 0.85 | Match the player with other suspects. |
kick | 0.97 | Remove the player from the match. |
restrict | 0.995 | Timed ban, 1440 minutes by default. |
ban | off | Permanent ban, only when you set a threshold. |
Enforcing actions (kick and above) also need evidence from at least two independent rules or groups (min_). 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.