Hello. I need to get a place’s maximum server size using the Roblox API.
How can I do this for one specific place in my game? (Since each place has a different max size.)
Hello. I need to get a place’s maximum server size using the Roblox API.
How can I do this for one specific place in my game? (Since each place has a different max size.)
To do this you can use game.Players.MaxPlayers
I meant from another place, like for example, a teleport gui from a start place.
You would have to use a proxy with the Roblox api (https://games.roblox.com/v1/games?universeIds=)
It’s just better to store the different max players for each place in a table and do it that way.
That’s only for the starter place, plus doing it in a table would mean I have to manually update all the time.
Why would you have to update all the time? Are you changing the max players every day?
honestly good point lol, i’ll temporarily use that method
Here is the correct API if you still wanna do it that way…
https://develop.roblox.com/v2/places/PLACE_ID
oh, thanks :3
character limit
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.