To start the server automagicly ....
1) create/edit the file config/server/MiningStats.cs
2) add this to the end of the file:
$Dig_Stats_Saved_Autoexec = 1;
3) start blockland in dedicated mode:
blocklandlauncher -dedicated -gamemode UnlimitedMining ......
After loading everything, it will pause for 15 seconds before doing a "/startdig"
Now if you want it to auto restart -- here is a copy of my .bat file I use
:top
del config\server\restartnow.txt
echo $Dig_Stats_SavedAutoexec = 1; >> D:\games\Blockland\config\server\MiningStats.cs
del last_console.log
ren console.log last_console.log
blocklandLauncher -dedicated -gamemode UnlimitedMining -profilePath "D:\games\blockland"
Date /T
TIME /T
:again
timeout 300
if exist config\server\restartnow.txt goto top
goto again
You will need to edit the path names to suit where your copy of blockland is installed