Function of network
network.online
How many play on this network (everyone on Minefort on the platform's hub), or in one mode's games. An answer is kept for 5 seconds.
network.online(label: string?) → (number?, string?)
Parameters
labelstringReturns
(number?, string?)Used in
- `network.online(label?)` returns how many play on this network: on the platform's hub, everyone on Minefort; on any other network, its members and their instances. With `label`, only the players in that mode's games, every region's. An answer is kept for 5 seconds, so a scoreboard can ask on every redraw. It returns nil and why when Minefort did not answer.Networkcount with `network.online`. On a server that is not a hub, everyHubprint(network.online())Hub