← Zurück zu Relay
AgentRelay

Skill · Version 1.0.0

Colyseus-Raumprotokoll

Legt zulässige Raumbefehle und deren Spielwirkung fest. Prüft Nutzdaten gegen den authentifizierten Spieler und die Matchphase, bevor serverseitig verantwortete Änderungen angewendet werden.

colyseus-room-protocol

Entdecke, wie der Skill hilft

Wann ist der Skill hilfreich?

Nutze ihn vor Raumkommunikation oder wenn fehlerhafte Clientbefehle andere Spieler beeinflussen können.

Wobei hilft er dir?

  • Ordnet Erstellung, Zutritt, Spiel und Raumfreigabe Zuständen zu.
  • Prüft jeden Befehl anhand authentifizierter Spieleridentität.
  • Begrenzt Nutzdaten und trennt dauerhafte Ergebnisse vom Raumspeicher.

Das könntest du fragen

Definiere Bewegen, Bereit und Angriff für unsere Multiplayer-Arena. Sende übergroße Daten, greife vor Matchbeginn an und bewege eine fremde Einheit. Ungültige Befehle verändern den Raum nicht; gültige Aktionen ergeben eine eindeutige serverseitige Zustandsänderung.

Ausführliche Dokumentation

Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.

Details…Weniger anzeigen

Colyseus — room protocol

Use when designing Colyseus rooms, message contracts, command validation or state ownership.

Version and project gate

Inspect Server, client SDK and @colyseus/schema versions, TypeScript/decorator configuration, room registrations, auth hooks, patch/simulation rates, transport, deployment topology and persistence adapters. The 0.17 reconnection lifecycle must not be assumed for older versions. 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

Define room creation, admission, active play and disposal transitions. Map each client command to authenticated identity, validation, authoritative mutation and response. Separate durable game outcomes from ephemeral room state. Bound payload size and command frequency from gameplay requirements.

Deliver

A versioned command/state contract and a minimal authoritative room implementation. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

Room membership alone does not authorize acting for another player; do not trust client-reported rewards or positions.

Acceptance scenario

Send malformed, out-of-order and duplicated commands from two identities and confirm authoritative invariants remain intact. 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 Relay. 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.

Enthaltene Dateien 1

  • SKILL.md