BASE

Nakama

Nakama

Game engine / realtime backend · Free

A game-feature server with accounts, matchmaking, chat, and leaderboards: provides a ready-made foundation for the network portion of a game.

Also known as: heroiclabs/nakama; nakama; heroic-nakama

Resource illustration: Nakama

Open resource ↗

What you can use for free

Code and local use under Apache-2.0.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Add accounts and a network feature to a game
  • Connect the game client to authentication and the workflow's server API

Example workflow

A possible workflow; this is not a report of hands-on testing.

Add accounts and a network feature to a game.

Before you start

  • A game workflow and state model.
  • A client, runtime, and target platform.

Steps

  1. Choose a server feature: matchmaking, chat, or a leaderboard.
  2. Connect the game client to authentication and the workflow's server API.
  3. Check the build and workflow with several users.

Check your result

  • State stays consistent during reconnects and concurrent actions.
  • Check export, load, and the server license terms.

Choosing Nakama

Add accounts and a network feature to a game

Choose this when

  • Add accounts and a network feature to a game
  • Connect the game client to authentication and the workflow's server API

Requirements

  • A Nakama server, compatible database, and schema migration; Docker Compose is documented for development.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: Apache-2.0 for the code; third-party components retain their own terms.
  • Heroic Cloud manages hosting and operations separately from self-hosted server deployment. The Docker-start example does not establish that your production configuration is ready.

Frequently asked questions

What can you use for free in Nakama?

Code and local use under Apache-2.0.

What additional costs might arise with Nakama?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Nakama?

Apache-2.0 for the code; third-party components retain their own terms.

How do you get started with Nakama?

Choose a server feature: matchmaking, chat, or a leaderboard. Connect the game client to authentication and the workflow's server API. Check the build and workflow with several users.

Which game backend tasks does Nakama cover, and what is deployed separately?

Nakama combines player registration, storage, a social graph, chat, multiplayer, leaderboards, tournaments, and purchase validation. Server logic can be extended with Lua, TypeScript/JavaScript, or Go. The web console is built into the server binary; CockroachDB or another Postgres wire-compatible database runs separately.

Related tasks and approaches

License

Apache-2.0 for the code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Nakama
  • game
  • Development

Sources

Other resources