Build authoritative real-time multiplayer servers with Colyseus 0.17+. Use when implementing rooms, schema state sync, client message validation, matchmaking, authentication, reconnection handling, or server-side anti-cheat constraints. Keywords: colyseus, room lifecycle, schema, multiplayer, websocket, matchmaking, onJoin, onLeave, onDrop, allowReconnection.
Overall
score
99%
Does it follow best practices?
Validation for skill structure
Use this reference for room hook sequencing and synchronized state design.
onCreate(options) initializes state and room metadata.onAuth(client, options, context) validates join eligibility.onJoin(client, options, auth) adds player state.onDrop(client) handles transient disconnect.onLeave(client, code) removes player permanently.onDispose() performs cleanup/persistence.MapSchema<Player> keyed by sessionId for per-player state.Install with Tessl CLI
npx tessl i pantheon-ai/colyseus-multiplayer@0.1.0