# Nakama

Nakama is an open-source distributed game server for social and real-time multiplayer games.

Canonical page: https://ourlocalhost.com/app/7857/nakama

## Description

Nakama is an open-source distributed game server for social and real-time multiplayer games. It provides user accounts, social networks, chat, storage, leaderboards, tournaments, parties, matchmaker, and realtime or turn-based multiplayer out of the box, so studios can focus on gameplay instead of backend plumbing. It suits game developers building online and live-service titles, and can be self-hosted or run on Heroic Cloud. Server runtime logic can be written in Go, TypeScript, or Lua.

## Platform availability

Available on 3 of 10 platforms: Mac, Linux, Any server.

## Desktop and other devices

Mac, Linux.

## Health score

82/100 (Excellent), based on 3 of 4 factors.
- Maintained: 100 (last commit 6 days ago)
- Popular: 83 (13,789 GitHub stars)
- Easy to install: 45 (3 install platforms, install notes)

## Links

- desktop: https://github.com/heroiclabs/nakama/releases/latest
- GitHub: https://github.com/heroiclabs/nakama
- Official website: https://heroiclabs.com

## Common questions

### Does Nakama need its own database to run?

Yes, Nakama requires CockroachDB or another Postgres wire-compatible server and won't start without one. You point it at the database with something like `nakama --database.address "root@127.0.0.1:26257"`.

### How do I know if Nakama successfully connected to the database?

At startup Nakama logs the node name, version, and database connections it found. If you don't see a 'Database connections' line, your database address or credentials are wrong.

### Can I write custom server-side logic, and in which languages?

Yes, runtime logic can be written in Lua, TypeScript/JavaScript, or native Go code to extend the server with custom match handlers, RPCs, and hooks.

### Is there a pre-release channel for cutting edge features?

Yes, Nakama Docker prerelease images are occasionally published under heroiclabs/nakama-prerelease on Docker Hub for cutting edge server features.

### Which game engines have client support for Nakama?

Nakama is used with Godot, Unity, Unreal Engine, MonoGame, LibGDX, Defold, Cocos2d, Phaser, Macroquad and more.

## Alternatives

- CloudBoost.io
- Firebase: Firebase, provided by Google, is a backend service and application development platform.
- Google Play Games: Google Play Games is a multi-platform gaming experience built and operated by Google featuring seamless gameplay across PCs, Chromebooks an…
- Supabase: The open source Firebase alternative.

---
Source: Our Local Host (https://ourlocalhost.com/app/7857/nakama), the self-hosted and open-source app directory.
