Get started

Your own game

Connect a game you build yourself to valkyr: which events to send, how to pick between in process and HTTP, and how to act on verdicts.

If you write the game server, you choose how valkyr sees the match. There are two ways to run it, and both use the same engine.

In process or as a service

In processAs a service
HowLink valkyr-core (Rust) or valkyr-ffi (C ABI) into your serverRun valkyr-server and post events over HTTP
LatencyMicroseconds, no networkOne local HTTP request per batch
ExtrasYou build storage, review and webhooks yourselfAPI keys, review jury, bans, appeals, webhooks, storage, dashboard
Best forEngines with a native server and strict tick budgetsEverything else, and anything with more than one server

Most games should start with the service: a crashing detector cannot take your game server down, and moderation features come for free.

The minimum to send

  1. Frames for every player, a few times per second (4 to 32 Hz is fine): position, yaw, pitch, ground contact and jump input, with the server time.
  2. Shots with the view angles at the moment of firing, the claimed target and bone, and the latency.
  3. World geometry once per match, so line of sight can be checked.
  4. Match end, so per match statistics close.

Add economy, items, abilities and sounds when your game has them; each one unlocks more detectors. See Concepts for the event list and the HTTP API for every field.

Pick your engine

Act on verdicts

Poll GET /v1/actions?since=<cursor> from the game server, or receive webhooks. Each action names the player, the action (review, shadow_queue, kick, restrict, ban) and the evidence behind it. Your server decides what a kick or a restriction means in your game.

Start in log only mode

Let valkyr run silently for a few days. Look at the verdicts it would have produced, tune the thresholds if your game is faster or slower than the defaults assume, and only then act on them.

Optional: the client SDK

If you ship your own client, valkyr-client adds signed session heartbeats, build attestation and a few integrity hints, all in user mode. It is not required, and the server never trusts it more than the server side evidence.

Edit this page on GitHub