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

Is there a way of getting the number of servers a place has?

I am trying to make a game that will be hosting some places and i want to get how many players are playing the game, i have already done that with using datastore but how can i get the number of the servers currently running

1 comment

0

I updated my post

2 answers

✓ Accepted answer

You can use MessagingService to report how many players are in each server.

You can also do the same for x servers. Everytime a server is started (once the serverscripts in SSS start) just publish the fact that a new server launched. Once a server is about to stop (game:BindToClose) you can report that a server is going down.

1 comment

0

Thanks It is now working, i couldn't find how to use messaging service and once the only service's info that i know can be accesed via a different place was datastore so i used datastore

i now looked at it in the developer page but it kind of confuses me but i will try to make it work( i have never used messaging service before)

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