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 process | As a service | |
|---|---|---|
| How | Link valkyr-core (Rust) or valkyr-ffi (C ABI) into your server | Run valkyr-server and post events over HTTP |
| Latency | Microseconds, no network | One local HTTP request per batch |
| Extras | You build storage, review and webhooks yourself | API keys, review jury, bans, appeals, webhooks, storage, dashboard |
| Best for | Engines with a native server and strict tick budgets | Everything 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
- 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.
- Shots with the view angles at the moment of firing, the claimed target and bone, and the latency.
- World geometry once per match, so line of sight can be checked.
- 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
- Unity: the C# SDK on a dedicated server build.
- Unreal Engine: the C++ wrapper in your server module.
- Godot: the Godot bridge on a headless server.
- Rust servers (Bevy and others): valkyr-core directly.
- Anything else: the C API, or plain HTTP from any language.
Act on verdicts
Poll GET /v1/ from the game server, or receive webhooks. Each action names the player, the action (review, shadow_, 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.