Colyseus-belépés
Ellenőrzött személyazonosság és játékszabály alapján szabályozza a szobába lépést. Összehangolja a férőhelyet és folyamatban lévő meccset, nem bízik a kliens által beküldött rangban vagy fiókazonosítóban.
colyseus-matchmaking-auth
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha privát szobát, meccskeresési szűrést vagy menet közbeni csatlakozást készítesz.
Miben segít neked?
- Ellenőrzött szerveroldali hitelesítésből származtatja a játékosazonosságot.
- Atomi módon ellenőrzi a kapacitást és menet közbeni belépést.
- Elválasztja a nyilvános előszobaadatot a privát szobaállapottól.
Például ezt kérheted
Készíts négyszemélyes rangsorolt várót az arénához. Két játékos egyszerre kérje az utolsó helyet, és próbálj hamis rangot küldeni. Csak jogosult, azonosított játékos léphessen be; a telt vagy elindult szoba érthető választ adjon, privát játékosadat nélkül.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Colyseus — matchmaking auth
Use when implementing Colyseus room selection, admission, authentication or player visibility.
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
Derive identity from validated server auth and bind it to the session. Define matchmaking filters and metadata visibility without leaking secrets. Validate capacity and join-in-progress rules atomically at admission. Separate public lobby data from private room state.
Deliver
An admission contract with allowed/denied paths and a clear client-facing recovery choice. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Client-supplied player IDs, room metadata or matchmaking filters are not authorization.
Acceptance scenario
Attempt a full-room join, stale seat reservation, forged player identity and private-room discovery from another account. 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.
Csomagban lévő fájlok 1
SKILL.md
