DEVELOPER DOCUMENTATION · SDK V1

Rooms & invites

Connect your own multiplayer room to the existing ZUQ invite flow.

On this page

Announce a room

const context = await ZUQ.init();
if (context.room) joinYourServerRoom(context.room);
// After your game server creates a room:
await ZUQ.room("ROOM_A");
await ZUQ.invite("ROOM_A");

Codes contain 3–64 letters, digits, underscores or hyphens. room and invite announce a code to the wrapper and chat overlay. They do not create a multiplayer backend, allocate a server or send an invite automatically.

Invite eligibility

Sending an invite requires an eligible signed-in community account and a recipient. Current social access requires stored-birthday age 18+ and accepted community rules. An incoming wrapper URL can carry ?room=CODE; init returns that room. Treat codes as public routing hints and authenticate players on your own server. Inspector calls validate codes but do not send invites.