Hello,i m making a place that can teleport you to another places with GUI,And i m trying to make a script that count how many players has at another place how can i start?(the textlabel will say how many players it has)
message all servers with request and then read all replyes
can you explain how to?thanks.
Ok, so there is messaging service for comunication between servers. And you will use it to send request to count players. The servers will have event binded to the request and will sount players and sent their ID and player count back to the first server.
You cannot achieve this. The method would have to go through HttpService, however you cannot use it with Roblox Related Sites with Scripts or LocalScripts.
Why, i can use messaging service, i have matchmaking based on this
If you have an event in each server that processes the number of players, you can send that data to a database to use for analytics. You’d have to send a push to your own web-server every time a player joins & leaves.
Hope this helps!
Not sure if this is what you mean, but you can get information on universe data here. To get the universeId you can pass the placeId here. If you wanted to get it from Roblox, you’d have to use a proxy or your own web server that does it for you. Use HttpService on the proxy or your own web server, then pass it on to the client.
My matchmaking is based on system, that i send request and servers will send invite, this is similar situation. You will send request to servers, they will count players and send it back. Only hard think is, that the servers themself must choose alpha server, that will send the request.