ID:2794359
 
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
I would like to propose that we get a way to collect current server listings from the hub. The current BYONDexe is a nightmare to work with, and having a simpler to use method of displaying active servers within Dream Seeker itself would be beneficial for making our own server listings and Title Screens.

There could be a built-in safeguard to prevent the instances from pinging the BYOND server too often.

Preferably it could give all of the info generally displayed on the hub as stuff for devs to display as they want.

It would likely need to be given a new proc that it would call, as a quick perusal of the reference doesn't show me anything that this could simply plug into. I would propose something along the lines of world.GetServers() which would return a list of maybe an internal /server object that has all of the relevant information on them?

I'm not good at these requests, I'm sure someone has a more streamlined approach to this, but regardless, I think it'd be very useful (and doing away with the BYONDexe launcher is the next big ticket item on my todo ;) )
This already exists. The "format=text" version of hub entries is a savefile-friendly format. You just need to world.Export() to the appropriate URL, then run the text through savefile.ImportText(), now you've got a /savefile with all of the details about your game, including live server data.
I was just about to mention this, as we had a conversation about it in Discord.

Still, I think that this could be better documented, as it's currently only in the Red Book from what I've seen and searched for.