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

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

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.

2 comments

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

0

ah, okay, thanks

1 answer

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.

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