Is there a way to get the uptime and version of any game running servers using some sort of web-API or some other way?
Server uptime can be accessed with workspace.DistributedGameTime
.
Try using the .DistributedGameTime in workspace.
yeah only for your own game and you have to be in-game.
well yeah everyone knows that, I ain’t asking for that.
Have the server upload its startup time to your own server. You could also write it to MemoryStore or DataStore and query it with Open Cloud.
I’m not asking to do it to my own game, how do I for any game.
If you store a list of currently active servers you can track when you first saw the server but otherwise I don’t think you can get a server’s uptime from any web APIs.
idk because I saw some extension or something has it somehow.
Could you provide which extension does this?
probably ropro or something that people use
Oh then it must be exposed somewhere that I’m not aware of. Good luck finding it! If you can find the extension I might be able to help.
It seems to be RoPro that would provide this:
I won’t dig into how though, their ToS forbids going into source code:
They’ve likely rolled their own methods to get server age somehow, since the Roblox server listing API (API docs) doesn’t provide server age.
(the data fetched for one server when looking at the servers page)
I wonder what magic they used!
like you can use [https://gamejoin.roblox.com/docs](gamejoin API) to get the IP address of any server but it doesn’t have anything for version or uptime.