> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gamavas.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Gamavas for developers

> Sign players in with their Gamavas account, reward them with achievements and XP that carry across games, sell your game, and host it on the edge.

Gamavas is a home for web games and the players who love them. As a developer, you can plug into it from any engine:

> [card] [Gamavas Pass](https://docs.gamavas.fun/quickstart.md)
>
> "Sign in with Gamavas" for your game. Players get one account, one level and achievements that follow them from game to game. You get their profile, and a way to sell your game.

> [card] [Gamavas Edge](https://docs.gamavas.fun/edge/overview.md)
>
> Hosting for web games at `your-game.gamavas.xyz`. Deploy from the dashboard, from GitHub on every push, or from any CI.

## What Gamavas Pass gives your game

> [card] Player accounts
>
> One button, one popup. You get a stable player ID, a handle, a display name and an avatar, and an email if the player agrees.

> [card] Achievements and XP
>
> Define achievements in the portal and unlock them from your game. XP adds to the player's Gamavas level, everywhere.

> [card] Selling your game
>
> Set a price and players buy by card or with Gamavas coins. You keep 90%. Test mode makes free test purchases for you and your testers.

> [card] Your server, too
>
> Verify players on your own server, unlock server-only achievements, and get signed webhooks when someone buys or unlocks.

## Pick your engine

Every SDK does the same things, with results in your engine's own style.

> [card] [Web](https://docs.gamavas.fun/sdks/web.md)
>
> One script and a button. Any framework.

> [card] [Unity](https://docs.gamavas.fun/sdks/unity.md)
>
> WebGL, Windows, macOS, Linux, Android and iOS.

> [card] [Godot](https://docs.gamavas.fun/sdks/godot.md)
>
> Godot 4.2+, web and desktop.

> [card] [Construct 3](https://docs.gamavas.fun/sdks/construct.md)
>
> Event-sheet actions, no code needed.

> [card] [GameMaker](https://docs.gamavas.fun/sdks/gamemaker.md)
>
> GML functions for the HTML5 export.

> [card] [Defold](https://docs.gamavas.fun/sdks/defold.md)
>
> A pure Lua library for HTML5.

Running a server? [`@gamavas/pass-server`](https://docs.gamavas.fun/sdks/server) verifies players and webhooks from Node, Bun, Deno or Workers. Prefer plain HTTP? Every endpoint is in the [API reference](https://docs.gamavas.fun/api-reference/introduction.md).

## How it fits together

```mermaid theme={null}
sequenceDiagram
  participant P as Player
  participant G as Your game
  participant X as Gamavas
  participant S as Your server
  P->>G: Clicks "Sign in with Gamavas"
  G->>X: Opens the sign-in popup (OAuth 2.1 + PKCE)
  X-->>G: Player profile and access token
  G->>X: Unlock achievement, check ownership…
  G->>S: Access token
  S->>X: Who is this? (secret key)
  X-->>S: Verified player
  X--)S: Webhooks: order.paid, achievement.unlocked…
```

> [!TIP]
>
> New here? The [quickstart](https://docs.gamavas.fun/quickstart.md) gets "Sign in with Gamavas" into a web game in about five minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.