Guide 1 Docs 2 Reference 3

Function of hub

hub.servers

The players' servers that are online, and the published experiences (category == "experience"). id is what player:connect takes.

hub.servers() → { {id: string, name: string, category: string, motd: string?, icon: string?, banner: string?, players: number?, maxPlayers: number?} }

Returns

{ {id: string, name: string, category: string, motd: string?, icon: string?, banner: string?, players: number?, maxPlayers: number?} }

Used in