Deploy a ready-made multiplayer backend for a mobile game without building account, chat, or matchmaking systems from scratch.
Add real-time leaderboards and seasonal tournaments to an existing game.
Write custom game server logic in Lua or TypeScript that runs server-side inside Nakama.
Validate in-app purchases and send push notifications from a single self-hosted backend.
Requires Docker and a PostgreSQL or CockroachDB database, a single docker-compose command starts both services together.
Nakama is an open-source backend server for games and social apps. It provides the infrastructure that multiplayer games and interactive apps typically need: user accounts, data storage, friend lists, group chats, real-time multiplayer sessions, leaderboards, and matchmaking. Rather than building all of these systems from scratch, a game studio can deploy Nakama and use its built-in features via client libraries. The feature list includes user registration and login through social networks, email, or device ID, storage collections for saving game state or user settings, a social graph for tracking friend connections, one-on-one, group, and global chat with persistent message history, both real-time and turn-based multiplayer, dynamic and seasonal leaderboards, tournament brackets that can be chained into leagues, team-based party play, in-app purchase validation, and push notifications to connected clients. Custom server logic can be added using Lua scripts, TypeScript/JavaScript, or native Go code. The server requires CockroachDB or a Postgres-compatible database to store its data. The quickest way to start a local development environment is with Docker: a single docker-compose command downloads the server and database images and starts them together. Native binary downloads are also available for running without Docker. Client libraries are available for several platforms so that games can connect to the server from their existing tech stack. The server is built for production scale and is described as being used by game studios worldwide. Detailed documentation covering configuration, deployment to cloud providers, and all API features is hosted on the Heroic Labs website. A community forum exists for developer questions and discussion.
← heroiclabs on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.