Nakama-Laufzeitberechtigungen
Prüft neben der Anmeldung auch, ob Spielregeln einen Serverbefehl erlauben. Nutzt geprüfte Identität und Besitzregeln, selbst wenn Servercode umfassende Speicherrechte besitzt.
nakama-runtime-authority
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze ihn für eigene RPCs oder Handler mit Änderungen an Spielerdaten oder vertrauenswürdigen Spieldaten.
Wobei hilft er dir?
- Verwendet geprüfte Laufzeitidentität statt übermittelter Spielerkennungen.
- Definiert Anfrageschemas und spielspezifische Eigentumsprüfungen.
- Berücksichtigt privilegierten Serverzugriff und begrenzt Handler.
Das könntest du fragen
Baue einen Ausrüstungswechsel-RPC für unser RPG. Sende eine fremde Spielerkennung, eine nicht besessene Waffe und eine übergroße Anfrage. Bestimme den Aufrufer aus der Serversitzung, prüfe Besitz und erlaubten Platz und lasse bei Fehlern das Inventar unverändert.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Nakama — runtime authority
Use when implementing Nakama RPCs, runtime hooks or authoritative game commands.
Version and project gate
Inspect Nakama server and client SDK versions, chosen Go/TypeScript/Lua runtime, compiled module deployment, database topology, match handlers, RPC registrations, auth/session handling, storage collections and permission rules. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.
Work
Derive identity from the validated runtime context. Define an explicit request schema and game-rule authorization for each operation. Distinguish privileged server storage access from client permissions. Keep handlers bounded and return stable domain outcomes without exposing internal secrets.
Deliver
A command/auth contract and focused runtime handler with documented failure outcomes. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Server runtime code bypasses ordinary storage access restrictions, so it must perform its own ownership and domain checks.
Acceptance scenario
Invoke the command as another user, send malformed fields and replay a completed operation without changing another player’s state. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.
Scope and sources
This skill belongs to Kairo. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.
- https://heroiclabs.com/docs/gameplay-multiplayer-server-multiplayer/
- https://heroiclabs.com/docs/nakama/concepts/storage/permissions/
Task-specific official references
Enthaltene Dateien 1
SKILL.md
