Author Topic: Unlimited Mining question  (Read 1233 times)

Is there any way to start Unlimited mining on a dedicated server without joining it?
I want it to start automatically, so that I don't have to go on it to start it.

I've already done this so don't tell me to do it:



Ask Red Guy to make an option for that.

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
Code: [Select]
: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

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
Code: [Select]
: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
Thanks red_guy!!! I will do this!