noice replied to Sesstreets's topic in [Don't Starve Together] Dedicated Server DiscussionThanks raiser. Indeed, I'm looking for a script that checks if there's no player and a game/mod update available and if so, shutdown/update/restart the game. I'm running Linux. I found no "clean" way to get the update trigger infos: no players online: I could use http://dstservers.jacklul.com/ but it's not real time (1min update or so). I'd prefer a local solution like c_playerlist() but it returns nothing when run in CLI. Maybe we can get some info from Server Status mod with local API URL.game/mods update available: at worse I would sync the whole game folder in a temporary +force_install_dir and checks for diffs with e.g. a command line diff tool. It would be preferable to get this info from steam/workshop API if any.
noice replied to Sesstreets's topic in [Don't Starve Together] Dedicated Server DiscussionHello @zootal, Can you share your script?