Blockland Forums > Help

Unlimited Mining question

Pages: (1/1)

ContrabassDrio:

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:




Greek2me:

Ask Red Guy to make an option for that.

Red_Guy:

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: ---: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

--- End code ---

You will need to edit the path names to suit where your copy of blockland is installed

ContrabassDrio:


--- Quote from: Red_Guy on September 21, 2012, 05:14:49 PM ---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: ---: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

--- End code ---

You will need to edit the path names to suit where your copy of blockland is installed

--- End quote ---
Thanks red_guy!!! I will do this!

Pages: (1/1)

Go to full version