Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there a way to find out how many servers are running for a game?

Im making a game that when a player joins it averages everyones level and sends ppl to a diff server if their level is too low/high, the problem is that if there is only ONE server running then no one under/below the average level wont be able to play. Is there a way to detect how many servers are running in game?

4 comments

0

How about having them a script in each one, which every minute sends information to your own site through httpservice. Then anyone wanting to route a user around could hit the endpoint on your site to get where to send them to.

0

Hmmm... Unless Roblox has a specific service for it you could use datastore and update a counter when a server is turned on and off.

0

there is a roblox function called stats(),I don't know how to use it but maybe it will help - https://wiki.roblox.com/index.php?title=API:Class/Stats . And if you want to check your game servers normally then just goto your game tap 3 dot menu and tap Developer Stats.

0

I'm confused as to why your solution involves any number of servers? Create a new server.

1 answer

If you go to your game and click the 3 dots then developer stats it will have a this many people are playing on so and so devices this many total in this many servers, hope this helped.

This discussion is preserved as it was. New answers, comments, and votes are closed.