Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

useWorldJoinRequests

useWorldJoinRequests(worldId): WorldJoinRequest[] | undefined

The requests to join a world that wait for its owners’ answer, the oldest first, each naming the requester by their player id in the game; undefined while asked, and for anyone but its owners and co-owners. A world’s joinRequestCount changes as one comes or goes, and this reads again.

Parameter Type
worldId WorldId | null

WorldJoinRequest[] | undefined