hub global
What Minefort tells its own hub. Empty lists on every other server. The first call of servers, experiences or hubs waits up to two seconds for Minefort's lists.
Docs: DataFunctions 5
hub.servers() → { {id: string, name: string, category: string, motd: string?, icon: string?, banner: string?, players: number?, maxPlayers: number?} }The players' servers that are online, and the published experiences (category == "experience"). id is what player:connect takes.
hub.experiences() → { {slot: number, experience: string, title: string, pitch: string?, icon: string?, banner: string?, players: number?} }The portals of the experience grounds. experience is what /play takes.
hub.hubs() → { {id: string, name: string, players: number?, region: string?} }Every hub that is online, this one included. id is what player:connect takes.
hub.rent(player: Player | string, slot: number, product: string, experience: string?) → string?Offers portal slot for Gems, to lead to experience (what /play takes). Returns the request id, or nil. More time on your own portal may leave experience out.
hub.point(player: Player | string, slot: number, experience: string) → booleanTurns the player's own live portal to another published experience.