Expose a way to get a server's region

Bumping this. I’ve seen servers in Singapore report in from California using ip-api.com. If the edit to this original post is true (the DDoS rollout), this makes it INCREDIBLY difficult for us to provide good server selection to players.

I’ve been getting countless support tickets about players reporting 3-400+ ping in servers that are supposed to be near them, only to find-out they aren’t actually.

4 Likes

Bumping this, making a server list for a game and I’m not trying to use 3rd party API’s as and Roblox update could mess things up (as they have in the past).

3 Likes

Bump. This is something that I really need, especially considering ip-api’s free version is not a viable option for long-term solutions to this problem.

Hoping someone @ roblox notices this and takes action :pray: :pleading_face:

1 Like

Bump. We’re now in 2024, and this is still an occurring issue that plagues a lot of developers who can’t afford to waste money/don’t have the money to put into APIs just to get a server region, when it could clearly be done by Roblox themselves.

If anyone from Roblox finds this thread, please, consider adding this as a feature. It would benefit basically most developers, if not all.

7 Likes

So, there is an API that returns the right server location?

Bump. Would be insanely useful.

5 Likes

We recently had someone submit a bug report to our Discord server saying that they couldn’t get into a server that was in their region. We told them to tell Roblox support about it, and Roblox support basically told the user that it was our fault.


While this is almost certainly a canned response given the tone of it, it reminded me that we really have no control over something so simple as knowing where our game servers are, and it prevents us from giving our players more control over how they play.

As competitive game developers (much like many other people in this thread), low latency is of utmost importance to our players. Giving the player the ability to find a server in the region they need is required, as Roblox’s matchmaking is optimizing in a different direction. We can build the tools for a region-based server list, but first we need to know what region the server is even in.

6 Likes

Certainly the Roblox servers know this data internally and could easily just return it through a Lua function. So I have no idea why Roblox staff has ignored this for like 8 years. It’s such a simple thing to add, yet they clearly won’t do it.

My game has a server browser, and utilizes ip-api to get the region of a server for ease of use of players and sorting. This gets very slow and you can end up seeing many servers on the list with no location because the http service failed, or hasn’t returned the data yet.

Sometimes I can join servers that say they’re in Singapore, but get really low ping, which isn’t at all possible given I live in Eastern Canada.

2 Likes

surprisingly STILL hasn’t been implemented whatsoever this 100% deserves a bump. please dear god add this it’s a lot easier and more useful than using anything external from roblox

1 Like

Support. I honestly don’t see why this isn’t already a feature in Roblox’s API, and its unnecessarily tedious to host a server just to get a server region.

2 Likes

Bump. Please, it’s been years.

2 Likes

Bump. Still needed! We still haven’t seen an acknowledgement reply from a staff on this yet

1 Like

I’ve had to cut out this feature from my game due to the exact issues OP stated in their post. This is a fundamentally strong feature suggestion and the platform as well as engine would greatly improve with its introduction.

2 Likes

Unfortunately this will most likely not happen. I messaged a staff about this:

7 Likes

here comes roblox ‘innovation’ here making a simple ping game server request seem all the more complicated

5 Likes

Maybe we could instead have an API that tells us what the location will be of the server the client will connect to? Maybe we could have an API that estimates a player’s latency to a server given the server’s JobId?

4 Likes

If they have some other solution in mind that’s fair enough, though it’s been a long time coming.

Any kind of transparency that Roblox can give us on this would be greatly appreciated.

4 Likes

Agreed. As long as there is a solution in the near future then it would be great. It only creates more problems for Roblox not to have a built-in solution by themselves to combat this problem even though we have had different APIs to determine a server’s region (which now are extremely inaccurate).

1 Like

I talked with @SuperPat77 and some other matchmaking staff about this at RDC; unfortunately, the consensus was that it’s a privacy concern to allow this.

If you can get someone’s estimated ping to a server, and you’re able to narrow down where a given server is, you’d theoretically be able to narrow down a user’s approximate location by triangulating their position based off their ping to several different servers.

They did say they’re looking into other options though, including just exposing the server’s region

3 Likes

Localization Service exist but someone needs to make an API to get player region based on their country code