Description
Changelog
Reviews (0)

GodotFirebase

The canonical Firebase addon for the Godot Game Engine, specifically utilizing the REST API.

This addon provides a script-friendly approach to connecting Godot games and applications to Firebase backend services without requiring a custom native SDK integration for common use cases. The addon is especially useful for online-enabled games, cloud saves, account systems, serverless workflows, player data storage, lightweight multiplayer infrastructure (turn-based games), and projects that need a managed backend without building one from scratch.

GodotFirebase is open source (MIT licensed), community-driven, and built around Firebase’s web and REST APIs, making it suitable for cross-platform Godot projects.

Note: It's not generally considered to be suitable for physics- or position-based synchronization in games, and it's not recommended to try to use it for such. There's no technology in GodotFirebase, or Firebase generally, that's efficient enough to achieve the kind of speed required for that.

Supported Features

Firebase Authentication

  • Email and password sign-up/login
  • Anonymous auth
  • Custom token auth
  • Password reset flows
  • User account data retrieval
  • Automatic auth request handling
  • Automatic save/load of auth tokens
  • ID token/refresh token management

Cloud Firestore

  • Creating documents
  • Reading documents
  • Updating documents
  • Deleting documents
  • Working with collections
  • Pseudo-realtime listeners utilizing Realtime Database technology (must be enabled if you wish to use it)
  • Querying structured data
  • Handling Firestore document data from GDScript (documents can be treated as Dictionaries)

Realtime Database

  • Reading data
  • Writing data
  • Updating data
  • Deleting data
  • Listening for realtime changes
  • Working with nested JSON-style paths

Cloud Storage

  • Uploading files
  • Downloading files
  • Accessing files through Firebase Storage paths
  • Managing user-generated or backend-hosted content (such as patches/content packs, personal avatars, etc.)

Cloud Functions

  • Calling cloud functions
  • Getting responses from cloud functions

OAuth and Provider-Based Sign-In

GodotFirebase includes limited support for OAuth-style and provider-based authentication workflows depending on platform, Firebase configuration, and project setup.

Because OAuth flows can vary significantly by export target, browser behavior, redirect handling, and provider requirements, this addon should not be treated as a one-click universal OAuth solution. However, it can be used as part of a custom authentication flow for projects that need provider-based sign-in and are prepared to handle the required platform-specific details.

For the most reliable experience, email/password, anonymous authentication, and custom token authentication are the primary supported authentication paths.

Common Use Cases

  • User accounts
  • Anonymous player accounts that still have to follow the rules!
  • Cloud saves
  • Player profiles
  • Game settings synced to the cloud
  • Inventories and progression data
  • Leaderboards
  • Turn-based multiplayer
  • Lobby systems
  • Matchmaking queues
  • Serverless game logic
  • User-generated content
  • Downloadable content
  • Moderation pipelines
  • Backend-controlled game data
  • Cross-device persistence

Changelog for version v1.0

No changelog provided for this version.

Reviews

GodotFirebase has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.