Skip to main content
Godot 4.2 or later. Pure GDScript, with no native libraries. Android and iOS aren’t supported yet.

Install

1

Add the addon

Download gamavas_pass-godot-<version>.zip from github.com/Gamavas/pass-godot/releases and copy addons/gamavas_pass into your project’s addons/ folder.
2

Enable it

In Project → Project Settings → Plugins, turn on Gamavas Pass. That adds the GamavasPass autoload.
3

Connect your game

At developer.gamavas.fun, connect your listing to get a client ID. Under Where sign-in returns, add your game’s page for web exports and http://127.0.0.1/ for desktop.

Sign players in

Or add a GamavasSignInButton node (Add Child Node → GamavasSignInButton). It starts on press, so on the web the popup opens inside the click. When the player is signed in, it shows their handle and signs them out on press. Every call returns a Dictionary instead of raising an error:
GamavasPass.player is the signed-in player, remembered between sessions, or null: { id, handle, displayName, avatarUrl, email }.

Achievements, progress and selling

On desktop, purchase() checks every few seconds until the game is owned, for up to 15 minutes. Call GamavasPass.cancel_purchase() if the player goes back, and GamavasPass.cancel_sign_in() to stop waiting for a browser sign-in.

Web export

In your Web export preset, add this to HTML → Head Include:

Your server

Send it to your server and verify it there with @gamavas/pass-server.

Options

On desktop, the player is remembered in user://gamavas_pass.cfg.