dread3ddie Posted February 16, 2018 Share Posted February 16, 2018 I'm currently hosting a public dedicated server to enjoy and play with random people, and also to do some testing / experiments on my setup. The server is being hosted on a VPS running Debian 9 (Stretch). I would very much like to check some stats on the server to follow up and see how it's doing, such as: Number (or list) of current active players (and their pings, if possible) Day (number) on server Current Season Morgue (causes of deaths) Bottomline what I want is pretty much to see what you can see when "Browsing servers" in the game client, but outside the game. Is there a way to get that info from an API or something? The only public server listing I found is https://my.jacklul.com/dstservers/ - but my server won't show up there even though it open / public with no password. Maybe @jacklul can shed some light? Thanks in advance! Link to comment Share on other sites More sharing options...
Daniel86268 Posted February 16, 2018 Share Posted February 16, 2018 You can use the server console to access most server info: List all players: c_listallplayers() Daycount and current season should show up in the server console occasionally. Afaik the Morgue is always saved locally client side (unless you have a server mod changing that), so you can't really check that server wise. Hope this helps. Link to comment Share on other sites More sharing options...
dread3ddie Posted February 16, 2018 Author Share Posted February 16, 2018 Thanks for the helpful input Daniel! It sure helps, but I'd like to see all the information aggregated somewhere, very much like how it is in-game. The server logs tells whenever players joins, leaves or dies. Maybe I should work on something that would read the logs actively and compile the info somewhere. That might be too much trouble to merely satisfy curiosity - or it could be a cool project to work on Regardless, I still wonder how the list linked in the original post was built and where it gets the info from about the current live servers. Would be really great if there was an open API that would list currently active servers. Link to comment Share on other sites More sharing options...
Daniel86268 Posted February 17, 2018 Share Posted February 17, 2018 22 hours ago, machete_kills said: The server logs tells whenever players joins, leaves or dies. Maybe I should work on something that would read the logs actively and compile the info somewhere. That might be too much trouble to merely satisfy curiosity - or it could be a cool project to work on That sounds like a plan. It actually sounds doable rather easily, if you are into modding. 22 hours ago, machete_kills said: Regardless, I still wonder how the list linked in the original post was built and where it gets the info from about the current live servers. Would be really great if there was an open API that would list currently active servers. The server list on that website looks like it basicially connects to the DST server lists, that are usually transfered to the DST clients, and displays them on a web page, because it looks very similar to what the DST client usually sees. That said, without DST server modification you probably can't show player deaths, etc. because that's usually not transfered over to the server lists. Link to comment Share on other sites More sharing options...
dread3ddie Posted February 17, 2018 Author Share Posted February 17, 2018 Haha it looks like Jacklul is way ahead of us in this conversation: http://steamcommunity.com/sharedfiles/filedetails/?id=503330921 Link to comment Share on other sites More sharing options...
Daniel86268 Posted February 17, 2018 Share Posted February 17, 2018 3 hours ago, machete_kills said: Haha it looks like Jacklul is way ahead of us in this conversation: http://steamcommunity.com/sharedfiles/filedetails/?id=503330921 Oh, wow, nice find. That's pretty much exactly what's needed here from what I understand xD Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.