I have a background for my game which is made in TypeScript/NodeJS
I have a config file which I can modify for my needs, such as specifying the server port, max players, region etc.
For my client I am making a table which displays how many players online in a region, the gamemode and also the server name.
For this I want to be able to specify a stats port in my config which for example will have a JSON output which I can then use to create my table
Example of a JSON output
{"targetGroup":"dual-agar","name":"MegaSplitNA1","address":"[login to view URL]","region":"[login to view URL]","langCode":"","order":1190,"numPlayers":11,"numSpectors":12,"numMaxClients":70,"visible":true,"mirrorIndex":-1,"startTime":1531389601545,"memoryUsage":53.843032,"serverVersion":"A103h1"}
Please note alot of these fields are already in my server side code, just simply want to out put them in a like like for example
IP:3051/tracker