Nakama
PlatformOpen-source game server for multiplayer, matchmaking, leaderboards and chat
- Erişim
- Server key, then session token
Hakkında
Open-source game backend from Heroic Labs with user accounts, realtime and authoritative multiplayer, matchmaking, leaderboards, chat and storage. Server logic runs in Go, TypeScript or Lua. Self-host it with Docker and Postgres, or use the paid Heroic Cloud.
Neler yapabilirsin
- Run realtime or turn-based multiplayer matches with a matchmaker
- Add player accounts, friends, groups and leaderboards to a game
- Write authoritative server logic in Go, TypeScript or Lua
Başlarken
- Download the Docker Compose file and run docker compose up
- Authenticate a device with the default server key
- Connect a client SDK for Unity, Unreal, Godot or JavaScript
Örnek kod
# Run Nakama and Postgres locally
curl -sLo docker-compose.yml https://raw.githubusercontent.com/heroiclabs/nakama/master/docker-compose-postgres.yml
docker compose up -d
# Create a user and get a session token with the default server key
curl "http://127.0.0.1:7350/v2/account/authenticate/device?create=true&username=mycustomusername" \
--user 'defaultkey:' \
--data '{"id":"uniqueidentifier"}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut), Kendi sunucunda
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- JavaScript/TypeScript, C#, Java, Swift, Dart
- MCP sunucusu
- Yok
- Entegrasyonlar
- Unity, Unreal, Godot