Poll

Were the directions clear? Did you get your dedicated server running by following this guide?

Yes
1 (9.1%)
No
10 (90.9%)

Total Members Voted: 11

Author Topic: How to run a Dedicated server in Blockland  (Read 2410 times)

I already know there are other tutorials, but I just want to come out with a updated, new version. Also, it has Pictures so it's easier to figure out.

Here's how to do it.

Step 1: Open Notepad and type the following in:

Note the Backward Slashes.
Mine looks like this:

Step 2: Save the file and also put the .bat extension. The file can be named anything and placed anywhere. It should kinda look like this:

I saved it on the Desktop, so it looks like this:

Step 3: Run the file. If you did it correctly, It should open the Console.
Mine looked like this while the Add-ons executed:


FAQ:
Q. What is a dedicated Server?
A. It allows you to host a server without you (The Host) Needing to stay connected at all times for the server to run.

Notes:
I RECOMMEND you disable UPnP in-game and go on your router settings to Port Forward Blockland. UPnP can cause issues for some people trying to connect to the server. Directions to Port forwarding are at portforward.com. Select your Router brand, select your Router model, and choose the application Blockland.
« Last Edit: November 10, 2013, 08:21:45 AM by Mr Queeba »

Code: [Select]
-map BedroomYou realize this won't do a thing, right?


Here's the one I use on the Help board.

Quote
Creating a Dedicated Server (for Windows)

First, make a copy of your Blockland shortcut. Then right click on the new copy of the shortcut and go to Properties. Click the Shortcut tab.

The target field will look something like this:
Code: [Select]
"C:\Program Files (x86)\Blockland\BlocklandLauncher.exe"
To make this launch a dedicated server, add the -dedicated parameter to the end. It should now look like this:
Code: [Select]
"C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" -dedicatedYou can now launch the server using that shortcut, but I recommend that you read below first.

(Optional) If you wish to start a specific game mode, add the -gamemode Name_of_GameMode parameter to the end of the target. If you don't do this, the server will default to the standard/custom mode. (which allows you to set your own add-ons and customize everything)

(Optional, but recommended) Set your dedicated server to use its own directory. (if you don't do this, it will use your current BL directory) Add this parameter to the end of your shortcut's target: -profilePath "C:\path\to\server folder"



Setting Up Your Server

Before you perform these steps, you should start your server at least once and then close it - doing so will create the pref files for you to edit. Note, these steps should be performed while the server is closed.

To change server settings, open the file called "prefs.cs" in the "config/server" folder.

To change which add-ons are enabled, open the file called "ADD_ON_LIST.cs" in the "config/server" folder. A 1 next to an add-on indicates it is enabled while a -1 indicates it is disabled.

To install new add-ons, simply place them in the add-ons folder.



Shutting Down Your Server

This might seem trivial, but most people don't know how to do this properly.

To shut down your server, enter quit(); in the server console.

Here's the one I use on the Help board.

that was before the path changed

that was before the path changed

Erm, no. I wrote that guide after v21.



Erm, no. I wrote that guide after v21.
The launcher is in the same folder as the original game.

The launcher is in the same folder as the original game.

I'm not sure what you're talking about. The default installation location for the launcher is in Program Files, and the default profile path is in Documents.

with rtb hosting available i dont see why anyone would want to host one themselves

who doesn't have like $6 laying around each month?

with rtb hosting available i dont see why anyone would want to host one themselves

who doesn't have like $6 laying around each month?
Children

Doesn't that bat file come with blockland?