nakama (heroiclabs/nakama)

Searching Database…

13.8K ·GitHub
What is this?Nakama is a scalable open-source game server that provides multiplayer, matchmaking, leaderboards, tournaments, chat, parties, and social features so game studios do not have to build backend infrastructure from scratch.
Is this a library I import, or a standalone server I run?It is a standalone server binary (or Docker container) that your game clients connect to over GRPC, REST, WebSockets, or rUDP; client-side SDKs exist for Unity, Unreal, Godot, .NET, JavaScript, Java/Android, and Swift/iOS.
How do I get it running?The fastest way is Docker: set up a docker-compose file and run 'docker-compose -f ./docker-compose.yml up'. Alternatively, download native binaries, run the database migration, and start Nakama connected to it.
Do I need a specific database for it?Yes, Nakama requires CockroachDB or another Postgres wire-compatible database as its storage backend.
Can I extend server logic, and in what languages?Yes, you can write custom runtime logic in Lua, TypeScript/JavaScript, or native Go code to extend the server beyond its built-in features.
Which game engines does it officially support?Official client libraries cover Unity, Unreal Engine, Godot, Defold, plus .NET/C#, JavaScript, Java/Android, and Swift/iOS for custom apps.
Where can I deploy it?Nakama can be deployed to any cloud provider such as Google Cloud, Azure, AWS, Digital Ocean, Heroku, or your own private infrastructure, and the vendor also offers a managed 'Heroic Cloud' option.
Does it include an admin dashboard?Yes, a web UI called the Nakama Console is embedded in the server binary, letting teams inspect stored data, view metrics, manage player data, and monitor live multiplayer matches without separate installation.
What real-time communication protocols does it support?For realtime gameplay it supports WebSockets or rUDP, while request/response calls can use GRPC or an HTTP1.1+JSON REST fallback.
What social and monetization features come built in?Out of the box it handles social login (social networks, email, device ID), friends and groups, chat with history, leaderboards and tournaments, parties, in-app purchase validation, and push notifications to connected clients.
Is there a managed hosting option if I don't want to run it myself?Yes, Heroic Labs offers 'Heroic Cloud', a paid managed service that handles uptime, replication, backups, logs, and upgrades for you.
Creator
heroiclabs
Size
159.7 MB
Stars
13.8K
Age
9y
Commits · 90 Days