triggair

Blog / comparisons

Triggair vs PlayFab: which backend for a browser game?

6 min read

Triggair vs PlayFab: which backend for a browser game? cover art

You need a backend for your game. You start reading about PlayFab, and an hour later you have a Microsoft Azure account, a "title" to configure, a Game Manager dashboard with a few hundred settings, and a nagging feeling that you haven't written any game code yet.

That is not a knock on PlayFab. It is a mature, do-everything backend that has run real games at real scale for years. It is just built for a different job than yours. Here is the honest comparison.

What each one is

PlayFab is Microsoft's game backend. It came out of a startup, was acquired in 2018, and now runs as part of Azure. It is engine-agnostic, exposes a large REST API, and ships SDKs for Unity, Unreal, C#, JavaScript, and more. Studios reach for it for player data, virtual economies, leaderboards, matchmaking, tournaments, segments, A/B tests, scheduled tasks, server-side logic (CloudScript / Azure Functions), and analytics. It is deep, and the depth is the point.

Triggair is a full backend for browser games behind one import and one publishable key: identity, cloud saves, leaderboards, an economy, live-ops, competition, moderation, compliance, realtime rooms (live server-backed rooms start on the Indie plan), and analytics. It is narrower than PlayFab on purpose, and it is built to be wired by a person (or their coding agent) in an afternoon.

The one-line difference: PlayFab hands you a control plane with a thousand knobs; Triggair hands you an SDK call with a sensible default already chosen.

Side by side

PlayFab Triggair
Positioning Full LiveOps backend for studios Full backend for browser games
Integration SDK + title setup + Game Manager config One import, one publishable key
Target platform Console, mobile, PC, web (via REST) Browser and web-first (JS/TS)
Identity Many providers, device, custom Anonymous-first, recovery codes, upgrade later
Economy Deep catalogs, inventory, currencies Server-authoritative wallet, store, loot
Multiplayer Matchmaking, servers, party at scale Managed broadcast rooms, async/turn-based
Server logic CloudScript / Azure Functions Managed rules, config, live-ops flags
Moderation Bring your own, or integrate Built in: names, chat, UGC, compliance gates
Pricing Usage-based tiers Prepaid flat plans, player cap
For AI agents REST docs, no agent affordances Errors carry fix hints, MCP tools, self-test

Where PlayFab wins

Be fair about this. If you are a studio shipping a cross-platform title, PlayFab is a safe, boring, correct choice.

  • Scale and track record. It has served games with millions of players for years. That history is worth something.
  • Matchmaking and dedicated servers. Real skill-based matchmaking and hosted game servers are first-class. Triggair does not try to be an authoritative multiplayer server.
  • Platform integrations. Xbox, PlayStation, Steam, and mobile store hooks are there because studios need them.
  • LiveOps depth. Segments, A/B tests, scheduled tasks, and full server-side code give an ops team a lot of rope.

If you have someone who will own that configuration, the depth pays off.

Where Triggair wins

For a browser game, the depth you are paying for in setup is depth you may never use.

  • Time to first call. No title to provision, no Game Manager to learn. Install, drop in your key, ship.
ts
import { createClient } from '@triggair/sdk';
const tg = createClient({ key: 'tg_pk_your_key' });

await tg.leaderboards.submit('high_scores', 9000);
const { entries } = await tg.leaderboards.top('high_scores', { limit: 10 });
  • Browser-native. A publishable key that is safe in client code, CORS handled, a JavaScript SDK first. No engine, no native build step.
  • Agent-first. Every error comes back with a hint an agent can act on, there are MCP tools for setup, and a one-command self-test that live-probes your integration. If you are building with an AI agent, it can wire and debug Triggair mostly on its own.
  • No metered surprise. Prepaid flat plans with a clear player cap, instead of usage tiers you have to model in a spreadsheet before launch.
  • Sensible defaults, on by default. Anonymous identity, a server-authoritative economy, disclosed-odds loot boxes, name and chat moderation, and age-gating are already wired. You turn things off, not on.

When to pick which

Pick PlayFab if you are a studio shipping to consoles and mobile, you need matchmaking or tournaments at real scale, you want the deepest LiveOps toolkit available, and you have a person who will own the setup.

Pick Triggair if you are building a browser game, or several, you want to be live this afternoon, and you would rather write five lines than configure a title. If your "backend team" is you and a coding agent at midnight, that is exactly who Triggair is for.

The two are not really fighting over the same game. PlayFab is the backend for the studio. Triggair is the backend for the browser tab.

Build this into your game.

Everything above is one import and a publishable key away. Start with the quickstart, or read the guide for the exact feature.

Keep reading