About Nakama
Nakama is a game backend written in Go and licensed Apache-2.0. It handles player accounts, storage, friends, groups, chat, leaderboards, tournaments and realtime matches, with client SDKs for engines such as Unity, Unreal and Godot.
Your own server means no per-player pricing and full control of player data. Choose the CloudSat region closest to your players, and a High Frequency plan for heavy authoritative match logic.
Nakama stores data in PostgreSQL or CockroachDB. The client API listens on 7350 and the developer console on 7351; the console login generated at install is in /root/app-credentials.txt.
What you get with Nakama
- Device, email and social authentication
- Authoritative and relayed realtime multiplayer
- Matchmaker, leaderboards and tournaments
- Friends, groups, chat and in-app notifications
- Server logic in Go, TypeScript or Lua
Nakama use cases
- Add online play to an indie game without writing a backend
- Run seasonal leaderboards and tournaments
- Host a private test backend for a studio
After you deploy Nakama
- When the server reads Running, SSH in as root and read the console credentials in
/root/app-credentials.txt. - Sign in at
http://<server IP>:7351to browse players, storage and leaderboards. - Replace the default client
server_key(defaultkey) and the runtimehttp_keyin Nakama's config, then restart it. - Serve 7350 to game clients through a domain with TLS, and allow 7351 only from your own IP in the CloudSat firewall.
Nakama ports
Open these in your firewall if you use one: 7350/tcp client API (HTTP and WebSocket), 7349/tcp gRPC API, 7351/tcp developer console.
Nakama FAQ
Which engines can talk to Nakama?
Heroic Labs publishes client libraries for Unity, Unreal, Godot, Defold, JavaScript and more, and anything that speaks HTTP or WebSocket can call the API.
How do I add custom game logic?
Write server modules in Go, TypeScript or Lua and load them from Nakama's modules folder: RPC functions, hooks around API calls and authoritative match handlers.
Disclaimer. The Nakama project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.