# \#server-framework

**URL:** https://forum.heroiclabs.com/tag/server-framework/5.md

[Latest](https://forum.heroiclabs.com/latest.md) · [Categories](https://forum.heroiclabs.com/categories.md) · [Tags](https://forum.heroiclabs.com/tags.md)

---

## [Group\_edges are orphaned when group admin deletes account](https://forum.heroiclabs.com/t/group-edges-are-orphaned-when-group-admin-deletes-account/6550)

<div class="topic-metadata">

**Author:** [@wlucjan](https://forum.heroiclabs.com/u/wlucjan)\
**Replies:** 2\
**Last updated:** [July 6, 2026, 3:45pm UTC](https://forum.heroiclabs.com/t/group-edges-are-orphaned-when-group-admin-deletes-account/6550 "2026-07-06T15:45:47Z")

</div>

I have encountered an issue, where superadmin could not leave a group he was in with error: failed to leave clan: user is last group superadmin In Nakama console everything looked fine - group had only single member and…

---

## [How to know when an RPC was called with key](https://forum.heroiclabs.com/t/how-to-know-when-an-rpc-was-called-with-key/6574)

<div class="topic-metadata">

**Author:** [@jonbonazza](https://forum.heroiclabs.com/u/jonbonazza)\
**Replies:** 1\
**Last updated:** [June 18, 2026, 2:56pm UTC](https://forum.heroiclabs.com/t/how-to-know-when-an-rpc-was-called-with-key/6574 "2026-06-18T14:56:29Z")

</div>

Hello, I have some admin RPC handlers in my Golang server plugin that are expected to be called from the Godot editor using rpc\_async\_with\_key. My question is, how can I determined whether the RPC was in fact called usi…

---

## [Session invalidation](https://forum.heroiclabs.com/t/session-invalidation/6565)

<div class="topic-metadata">

**Author:** [@Mohsen](https://forum.heroiclabs.com/u/Mohsen)\
**Replies:** 1\
**Last updated:** [June 12, 2026, 1:20pm UTC](https://forum.heroiclabs.com/t/session-invalidation/6565 "2026-06-12T13:20:25Z")

</div>

Imagine an account that is logged in on 3 different devices, and each device has its own refresh token. If the account owner changes their password, or links a new authentication method (for example, Custom Auth), what …

---

## [Advice / questions on godot client and websocket binary (protobuf)](https://forum.heroiclabs.com/t/advice-questions-on-godot-client-and-websocket-binary-protobuf/6548)

<div class="topic-metadata">

**Author:** [@one-ton-fatberg](https://forum.heroiclabs.com/u/one-ton-fatberg)\
**Replies:** 1\
**Last updated:** [May 12, 2026, 10:51pm UTC](https://forum.heroiclabs.com/t/advice-questions-on-godot-client-and-websocket-binary-protobuf/6548 "2026-05-12T22:51:28Z")

</div>

Hello, My basic inquiry is how should I go about sending/receiving binary data using protobuf from godot client to nakama. Here’s where I’m at currently: with godobuf and the godot sdk, I’ve tried to modify some of the…

---

## [Where can I store and how can I access game content databases?](https://forum.heroiclabs.com/t/where-can-i-store-and-how-can-i-access-game-content-databases/6544)

<div class="topic-metadata">

**Author:** [@FuryFTF](https://forum.heroiclabs.com/u/FuryFTF)\
**Replies:** 3\
**Last updated:** [April 14, 2026, 10:00am UTC](https://forum.heroiclabs.com/t/where-can-i-store-and-how-can-i-access-game-content-databases/6544 "2026-04-14T10:00:15Z")

</div>

Hey there! I’ve started developing my game, and its async. The client sends requests to the server and receives data back, rather than running match-based sessions. The game is similar in structure to things like My Si…

---

## [Validate session token in different server env?](https://forum.heroiclabs.com/t/validate-session-token-in-different-server-env/4198)

<div class="topic-metadata">

**Author:** [@devcheetah](https://forum.heroiclabs.com/u/devcheetah)\
**Replies:** 3\
**Last updated:** [April 9, 2026, 6:01am UTC](https://forum.heroiclabs.com/t/validate-session-token-in-different-server-env/4198 "2026-04-09T06:01:21Z")

</div>

For context. I have a custom built UDP server handling actions for my game. I am using Nakama for everything else, storage,account management, etc. What I would like to do, is login with Nakama, pass the token through…

---

## [NotificationSendAll](https://forum.heroiclabs.com/t/notificationsendall/6520)

<div class="topic-metadata">

**Author:** [@Mohsen](https://forum.heroiclabs.com/u/Mohsen)\
**Replies:** 2\
**Last updated:** [April 7, 2026, 9:27am UTC](https://forum.heroiclabs.com/t/notificationsendall/6520 "2026-04-07T09:27:51Z")

</div>

When we send a notification to all users and persist it, we currently store one record per user in the database. Is this the correct approach? I don’t think it is. For global notifications such as gift drops, patch upda…

---

## [Writing a C# Plugin to expand Nakama Server](https://forum.heroiclabs.com/t/writing-a-c-plugin-to-expand-nakama-server/5558)

<div class="topic-metadata">

**Author:** [@Mehdikovic](https://forum.heroiclabs.com/u/Mehdikovic)\
**Replies:** 2\
**Last updated:** [April 6, 2026, 3:58am UTC](https://forum.heroiclabs.com/t/writing-a-c-plugin-to-expand-nakama-server/5558 "2026-04-06T03:58:47Z")

</div>

Dear Heroic Labs and Users, Hello, My name is Kovic, and I am curious if we could write a plugin in C# to expand the server features like Lua, JS or Golang do. Are there any useful resources or previous attempts to d…

---

## [How to set up player roles in anon/relay matchmaking](https://forum.heroiclabs.com/t/how-to-set-up-player-roles-in-anon-relay-matchmaking/6532)

<div class="topic-metadata">

**Author:** [@AllenPDX](https://forum.heroiclabs.com/u/AllenPDX)\
**Replies:** 3\
**Last updated:** [April 5, 2026, 6:09am UTC](https://forum.heroiclabs.com/t/how-to-set-up-player-roles-in-anon-relay-matchmaking/6532 "2026-04-05T06:09:29Z")

</div>

Our basic scenario: Two-player game, Unity client, relay server, using anonymous authentication. We already have random matchmaking working with random role assignment as well as pre-arranged matches between two player…

---

## [Matchmaking Stops Suddenly When Too Many Players Try To Find a Match](https://forum.heroiclabs.com/t/matchmaking-stops-suddenly-when-too-many-players-try-to-find-a-match/6537)

<div class="topic-metadata">

**Author:** [@spartan6nm](https://forum.heroiclabs.com/u/spartan6nm)\
**Replies:** 5\
**Last updated:** [April 2, 2026, 9:28am UTC](https://forum.heroiclabs.com/t/matchmaking-stops-suddenly-when-too-many-players-try-to-find-a-match/6537 "2026-04-02T09:28:31Z")

</div>

im using nakama version 3.27.1 i have authoritative matches and im using go lang for custom runtime when my game reaches an amount of load of players trying to find matches nakama matchmaker suddenly stops finding matc…

---

## [Performance considerations for inventory and economy list calls](https://forum.heroiclabs.com/t/performance-considerations-for-inventory-and-economy-list-calls/6534)

<div class="topic-metadata">

**Author:** [@kroonhorstdino](https://forum.heroiclabs.com/u/kroonhorstdino)\
**Replies:** 1\
**Last updated:** [March 31, 2026, 10:43am UTC](https://forum.heroiclabs.com/t/performance-considerations-for-inventory-and-economy-list-calls/6534 "2026-03-31T10:43:16Z")

</div>

Fetching entries I am wondering what the performance considerations are when calling methods such as \`InventorySystem.ListItems()\` or \`EconomySystem.List()\`. Each player may have 100s of items in their inventory and eve…

---

## [Bandwidth usage questions and/or discrepency](https://forum.heroiclabs.com/t/bandwidth-usage-questions-and-or-discrepency/6527)

<div class="topic-metadata">

**Author:** [@nabeel](https://forum.heroiclabs.com/u/nabeel)\
**Replies:** 10\
**Last updated:** [March 28, 2026, 10:51pm UTC](https://forum.heroiclabs.com/t/bandwidth-usage-questions-and-or-discrepency/6527 "2026-03-28T22:51:30Z")

</div>

Hi, I have a relatively small Nakama instance, which is just exchanging presented. At the moment, I have 12 sessions, 34 presences. No custom scripts - only some post-authentication which creates groups and assigns user…

---

## [Best practices for persistent world strategy game](https://forum.heroiclabs.com/t/best-practices-for-persistent-world-strategy-game/6507)

<div class="topic-metadata">

**Author:** [@xYouLL](https://forum.heroiclabs.com/u/xYouLL)\
**Replies:** 1\
**Last updated:** [March 4, 2026, 7:51pm UTC](https://forum.heroiclabs.com/t/best-practices-for-persistent-world-strategy-game/6507 "2026-03-04T19:51:19Z")

</div>

Hello! I’m completely new in Nakama and I’m currently creating a Real-time Strategy game (like Travian). To better understand what the context is: Gameplay is slow-paced/transactional. Building upgrades and troop marc…

---

## [External API with rate limit / global state](https://forum.heroiclabs.com/t/external-api-with-rate-limit-global-state/3546)

<div class="topic-metadata">

**Author:** [@dela](https://forum.heroiclabs.com/u/dela)\
**Replies:** 4\
**Last updated:** [January 27, 2026, 11:21am UTC](https://forum.heroiclabs.com/t/external-api-with-rate-limit-global-state/3546 "2026-01-27T11:21:14Z")

</div>

I want to implement some functionality of the Twitch API. i do have it working in my typescript server code with simple http calls. BUT the api does have rate limits, which any client should account for. I know that the…

---

## [Misleading error message: "no spaces" but spaces are actually allowed in usernames](https://forum.heroiclabs.com/t/misleading-error-message-no-spaces-but-spaces-are-actually-allowed-in-usernames/6498)

<div class="topic-metadata">

**Author:** [@KamilDev](https://forum.heroiclabs.com/u/KamilDev)\
**Replies:** 3\
**Last updated:** [January 22, 2026, 11:38am UTC](https://forum.heroiclabs.com/t/misleading-error-message-no-spaces-but-spaces-are-actually-allowed-in-usernames/6498 "2026-01-22T11:38:26Z")

</div>

I was reviewing the username validation logic and noticed the error message appears to be incorrect. The error message states: “Username invalid, no spaces or control characters allowed.” However, the actual regex u…

---

## [Performance of Leaderboard Subscore](https://forum.heroiclabs.com/t/performance-of-leaderboard-subscore/6500)

<div class="topic-metadata">

**Author:** [@chris1](https://forum.heroiclabs.com/u/chris1)\
**Replies:** 1\
**Last updated:** [January 22, 2026, 11:36am UTC](https://forum.heroiclabs.com/t/performance-of-leaderboard-subscore/6500 "2026-01-22T11:36:07Z")

</div>

Hello! I am curious about the performance of utilizing the subscore in a leaderboard. I want to have a setup where our Legendary ranked users are always above our non-Legendary ranked players even if it’s possible that …

---

## [Need advice on relay server-client setup for long intervals between data messages](https://forum.heroiclabs.com/t/need-advice-on-relay-server-client-setup-for-long-intervals-between-data-messages/6491)

<div class="topic-metadata">

**Author:** [@AllenPDX](https://forum.heroiclabs.com/u/AllenPDX)\
**Replies:** 2\
**Last updated:** [January 15, 2026, 5:59pm UTC](https://forum.heroiclabs.com/t/need-advice-on-relay-server-client-setup-for-long-intervals-between-data-messages/6491 "2026-01-15T17:59:17Z")

</div>

Hey all, We’ve developed a Unity/WebGL game with Nakama using the relay server setup (one client acts as host). We are having disconnect/timeout issues regarding how long players take to make moves. You can think of t…

---

## [Nakama with async](https://forum.heroiclabs.com/t/nakama-with-async/6485)

<div class="topic-metadata">

**Author:** [@developerdinno](https://forum.heroiclabs.com/u/developerdinno)\
**Replies:** 1\
**Last updated:** [January 7, 2026, 5:38pm UTC](https://forum.heroiclabs.com/t/nakama-with-async/6485 "2026-01-07T17:38:51Z")

</div>

How i handle the async await into the nakama im not figureout that

---

## [Nakama automatically disconnect the database connection](https://forum.heroiclabs.com/t/nakama-automatically-disconnect-the-database-connection/6484)

<div class="topic-metadata">

**Author:** [@developerdinno](https://forum.heroiclabs.com/u/developerdinno)\
**Replies:** 1\
**Last updated:** [January 7, 2026, 5:36pm UTC](https://forum.heroiclabs.com/t/nakama-automatically-disconnect-the-database-connection/6484 "2026-01-07T17:36:54Z")

</div>

Here i have a database in the EC2 instance. Sometimes the automatic database is disconnected {“level”:“error”,“ts”:“2026-01-07T03:49:25.824Z”,“caller”:“server/core\_account.go:91”,“msg”:“Error retrieving user account.”,“…

---

## [Using Account username as a friend-code](https://forum.heroiclabs.com/t/using-account-username-as-a-friend-code/6482)

<div class="topic-metadata">

**Author:** [@DWoodhouse22](https://forum.heroiclabs.com/u/DWoodhouse22)\
**Replies:** 4\
**Last updated:** [January 6, 2026, 6:41pm UTC](https://forum.heroiclabs.com/t/using-account-username-as-a-friend-code/6482 "2026-01-06T18:41:32Z")

</div>

Hi! For our game we want users to add each other as friends, and we also want to avoid any user-generated content which includes setting their own username which others can see (we want to avoid the requirement to profa…

---

## [Confused about matchmaking user ready state](https://forum.heroiclabs.com/t/confused-about-matchmaking-user-ready-state/6479)

<div class="topic-metadata">

**Author:** [@tbtbtb](https://forum.heroiclabs.com/u/tbtbtb)\
**Replies:** 1\
**Last updated:** [January 6, 2026, 3:09pm UTC](https://forum.heroiclabs.com/t/confused-about-matchmaking-user-ready-state/6479 "2026-01-06T15:09:01Z")

</div>

Hi! I have followed this template/tutorial: I’m at the point where players can join a game via matchmaking, but I can’t figure out how many people are supposed to be in a match. In my game, there can be between 2 and…

---

## [Unity - Handling AI & Game System in Match](https://forum.heroiclabs.com/t/unity-handling-ai-game-system-in-match/6475)

<div class="topic-metadata">

**Author:** [@JoenTNT](https://forum.heroiclabs.com/u/JoenTNT)\
**Replies:** 3\
**Last updated:** [December 23, 2025, 2:03pm UTC](https://forum.heroiclabs.com/t/unity-handling-ai-game-system-in-match/6475 "2025-12-23T14:03:15Z")

</div>

Hi, I’m a bit confuse how to sync AI or Custom Game System in a server-side. I’m talking about the architecture of how does OpCode and Match State works to make sure that non-client-side objects are running logically in …

---

## [Migration failure when upgrading from Nakama 3.32.1 → 3.34.1 (console\_user.acl column missing)](https://forum.heroiclabs.com/t/migration-failure-when-upgrading-from-nakama-3-32-1-3-34-1-console-user-acl-column-missing/6456)

<div class="topic-metadata">

**Author:** [@sadegh-askari](https://forum.heroiclabs.com/u/sadegh-askari)\
**Replies:** 8\
**Last updated:** [December 2, 2025, 9:39am UTC](https://forum.heroiclabs.com/t/migration-failure-when-upgrading-from-nakama-3-32-1-3-34-1-console-user-acl-column-missing/6456 "2025-12-02T09:39:49Z")

</div>

Hi, I upgraded my Nakama server from 3.32.1 to 3.34.1 and encountered a migration failure related to the console\_user table. Setup • Nakama version before upgrade: 3.32.1 • Nakama version after upgrade: 3.34.1 • Dat…

---

## [Offline Gameplay + Server Authoritative Multiplayer](https://forum.heroiclabs.com/t/offline-gameplay-server-authoritative-multiplayer/6464)

<div class="topic-metadata">

**Author:** [@Firebugs](https://forum.heroiclabs.com/u/Firebugs)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 2:03pm UTC](https://forum.heroiclabs.com/t/offline-gameplay-server-authoritative-multiplayer/6464 "2025-11-28T14:03:00Z")

</div>

Hey all, I couldn’t seem to find an answer to this via googling (which really surprised me since I’m sure this must have been asked / covered before). I’m currently making my first networked game (Unity front-end, Nakam…

---

## [Issues with Using Timers in Nakama](https://forum.heroiclabs.com/t/issues-with-using-timers-in-nakama/6450)

<div class="topic-metadata">

**Author:** [@a573369119](https://forum.heroiclabs.com/u/a573369119)\
**Replies:** 2\
**Last updated:** [November 6, 2025, 10:30am UTC](https://forum.heroiclabs.com/t/issues-with-using-timers-in-nakama/6450 "2025-11-06T10:30:39Z")

</div>

Scenario: I am developing a session-based multiplayer game, so the battle calculations are handled on a separate server. For this reason, I do not plan to create a ‘Match API’, which means I cannot use the ‘ticket loop’ …

---

## [Lobby system with AWS gamelift and gamelift nakama plugin](https://forum.heroiclabs.com/t/lobby-system-with-aws-gamelift-and-gamelift-nakama-plugin/6446)

<div class="topic-metadata">

**Author:** [@harishkumar](https://forum.heroiclabs.com/u/harishkumar)\
**Replies:** 1\
**Last updated:** [October 31, 2025, 4:08pm UTC](https://forum.heroiclabs.com/t/lobby-system-with-aws-gamelift-and-gamelift-nakama-plugin/6446 "2025-10-31T16:08:32Z")

</div>

Questions about approaches to implement a lobby system with nakama and aws gamelift Hi Team, We are trying to implement a multiplayer game experience using nakama and aws gamelift, Currently we are going with automated…

---

## [ItemSet Rewards excluding already owned items](https://forum.heroiclabs.com/t/itemset-rewards-excluding-already-owned-items/6436)

<div class="topic-metadata">

**Author:** [@wlucjan](https://forum.heroiclabs.com/u/wlucjan)\
**Replies:** 1\
**Last updated:** [October 27, 2025, 10:36am UTC](https://forum.heroiclabs.com/t/itemset-rewards-excluding-already-owned-items/6436 "2025-10-27T10:36:49Z")

</div>

Is there a way to roll a reward so that only items not already owned are rolled?

---

## [Using modules/esbuild or similar with Typescript](https://forum.heroiclabs.com/t/using-modules-esbuild-or-similar-with-typescript/6439)

<div class="topic-metadata">

**Author:** [@caprica](https://forum.heroiclabs.com/u/caprica)\
**Replies:** 0\
**Last updated:** [October 26, 2025, 11:36pm UTC](https://forum.heroiclabs.com/t/using-modules-esbuild-or-similar-with-typescript/6439 "2025-10-26T23:36:49Z")

</div>

(topic deleted by author)

---

## [Go vs JavaScript runtime](https://forum.heroiclabs.com/t/go-vs-javascript-runtime/5950)

<div class="topic-metadata">

**Author:** [@KamilDev](https://forum.heroiclabs.com/u/KamilDev)\
**Replies:** 12\
**Last updated:** [October 18, 2025, 11:01am UTC](https://forum.heroiclabs.com/t/go-vs-javascript-runtime/5950 "2025-10-18T11:01:14Z")

</div>

Is there any information regarding Go vs JavaScript runtime performance? Initially, I wanted to work in JavaScript as I already have experience with it, and never tried Go. However, due to the limitations of the JS VM (…

---

## [How to bootstrap Nakama in Go tests and get real nk, logger, db, and initializer](https://forum.heroiclabs.com/t/how-to-bootstrap-nakama-in-go-tests-and-get-real-nk-logger-db-and-initializer/6424)

<div class="topic-metadata">

**Author:** [@xuzhennan](https://forum.heroiclabs.com/u/xuzhennan)\
**Replies:** 1\
**Last updated:** [October 10, 2025, 8:46am UTC](https://forum.heroiclabs.com/t/how-to-bootstrap-nakama-in-go-tests-and-get-real-nk-logger-db-and-initializer/6424 "2025-10-10T08:46:35Z")

</div>

I’m trying to run integration tests for my Go runtime code and need access to the real Nakama runtime context — specifically nk, logger, db, and initializer — the same way Nakama provides them to InitModule. Mocking the…

[Next page](https://forum.heroiclabs.com/tag/server-framework/5.md?match_all_tags=true&page=1&tags%5B%5D=server-framework)
