DTM450 Posted February 3, 2015 Share Posted February 3, 2015 Is it possible to change game modes with the console from survival to endless on a server? (I'm hosting) Link to comment https://forums.kleientertainment.com/forums/topic/50244-changing-server-modes/ Share on other sites More sharing options...
rezecib Posted February 3, 2015 Share Posted February 3, 2015 @DTM450, I don't believe there is a nice way... I poked around and have a few ideas for things you could try, though. If you don't care about what happens to your other worlds, you can try changing DEFAULT_MODE to endless in scripts/gamemodes.lua, then renaming Documents/Klei/DoNotStarveTogether/save/saveindex (basically deleting it, but keeping it as a backup in case this goes really wrong). Relaunching the server should cause it to default to endless... I think. Maybe a better approach, though, would be to try changing line 775 of scripts/saveindex.lua from this:game_mode = serverdata and serverdata.game_mode or TheNet:GetDefaultGameMode(),to this:game_mode = "endless"--serverdata and serverdata.game_mode or TheNet:GetDefaultGameMode(), Relaunch the game, load the slot, then exit out and undo the change. Hopefully the change to endless will get saved. Link to comment https://forums.kleientertainment.com/forums/topic/50244-changing-server-modes/#findComment-609109 Share on other sites More sharing options...
DTM450 Posted February 3, 2015 Author Share Posted February 3, 2015 Ok I'll see if my friends want to change to endless and maybe give it a shot Link to comment https://forums.kleientertainment.com/forums/topic/50244-changing-server-modes/#findComment-609153 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.