TechieZero
New member
1st off thanks to DEADication for his post here,
https://7daystodie.com/forums/showthread.php?48291-Control-your-server-with-Telnet-(Putty)
To have your server autosave - basically you need to use 3 things --- DOS batch script, Telnet working, and Plink as described in the link above.
You don't need to have a Plink session running to execute this.
Create 2 DOS batch files, How it works is that the echoed output of one batch file --- pipes into the other for Plink to use.
Here are my working examples.
The main batch file used to call Plink. Call it what you like.bat
7D2Dswcom.bat --- used to pipe the echo results into Plink above. Call it what you like of course but this is the example name.
That's all there is to it.
At these settings it saves roughly every 30 minutes.
You can call this from your Dedicated.bat script if you like to get it going after you bring your server up.
https://7daystodie.com/forums/showthread.php?48291-Control-your-server-with-Telnet-(Putty)
To have your server autosave - basically you need to use 3 things --- DOS batch script, Telnet working, and Plink as described in the link above.
You don't need to have a Plink session running to execute this.
Create 2 DOS batch files, How it works is that the echoed output of one batch file --- pipes into the other for Plink to use.
Here are my working examples.
The main batch file used to call Plink. Call it what you like.bat
Code:
@echo off
echo Executing save world script
echo.
echo.
echo.
timeout 36000
:Saverepeat
cls
echo Saving.
echo.
echo.
echo.
7D2Dswcom|plink.exe (your server IP on your LAN without the parenthesis) -raw -P 8081
timeout 1800
echo.
echo.
echo.
echo Looping saveworld script
timeout 5
goto Saverepeat
exit
Code:
@echo off
echo (insert telnet password here without the parenthesis)
echo saveworld
echo exit
At these settings it saves roughly every 30 minutes.
You can call this from your Dedicated.bat script if you like to get it going after you bring your server up.
Last edited by a moderator: