Nakama

Platform

Open-source game server for multiplayer, matchmaking, leaderboards and chat

Fiyat
Free, open source; Heroic Cloud paid
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

  1. Download the Docker Compose file and run docker compose up
  2. Authenticate a device with the default server key
  3. 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

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .