Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by
Galicate 106
6 years ago

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?

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. Brouhahaha 27 — 6y
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. MooMooThalahlah 421 — 6y
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. TheSkyofIndia 150 — 6y
0
I'm confused as to why your solution involves any number of servers? Create a new server. cabbler 1942 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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.

Ad

Answer this question