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

How would I get a list of all active servers in a universe?

Asked by 7 years ago

How would I get all active servers of a place in a universe and get the amount of users in each server, and compile it all into a list to display to a user? It would sort of be like Apocalypse Rising but I can't figure out how to make it work properly.

1
For this kind of task its best to use the HttpService and store this information on a third party system, you will not be able to do this with a data store due to its limitations User#5423 17 — 7y
0
ah, okay, thanks UltChowsk 85 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

To do this, you could use datastores.

  • On server startup save the Job-Id of the server to a table. (Or how ever you want to do it.)
  • On server end remove the server's Job-Id from however you saved it to the datastore.

  • All the while use OnUpdate to update current lists of the datastore.

Ad

Answer this question