Jump to content

Remote Connections to Dedicated Servers


Recommended Posts

While it is possible to enter commands in the console window of the DST Windows application, it isn't possible while the server is being run as a headless service. I don't think there's any way of accessing the console remotely if you don't have regular physical access to the hardware the server is hosted on (company server hosting for example)

 

This can be problematic when updating the server because when Don't Starve Together has an update, the user is forced into the new version on steam and can't join the server anymore because the server is running the old version. This prevents those without console access from running the c_save() command before executing the update script, resulting in a rollback to the beginning of the day (or the last save) every time there is an update.

 

I'm suggesting that rcon, telnet or a third party tool be added to allow remote commands to be sent to the server (much like how 7daystodie has its own web console built it)

Companies should provide shutdown with c_shutdown instead of just killing server process. Most companies running their servers on linux use screen sessions, it is possible to send comands to those sessions without attaching them.

Unfortunately most companies don't care to shutdown their servers nicely and just kill the whole screen session because its lazy easy and works, thats why I prefer hosting servers on my own on Dedis or VPS.

You might code simple mod which would check on remote file on webserver, if it has "update=true" it will do a clean shutdown or just c_save(). (following this idea you might do some kind of limited remote console which would fetch commands from webserver every x seconds and run them)

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.

×
  • Create New...