Author Topic: Tutorial - How to make a Dedicated Server (Batch File)  (Read 15284 times)

                                                            

What is a dedicated server?
A dedicated server lets you run a Blockland server for a long period of time. Having a dedicated server will not require you, the host to stay connected to the server 24/7. You can host a dedicated server on a separate computer or on the same one you use to play Blockland (not recommend unless your computer meets the requirements).

How do I run a dedicated server?

To start off you first need to either Port Forward or enable an option called UPnP in Blockland and on your rotuer. (The UPnP option can be found in Blockland by going to Options and then going into the Network Tab).
Port Forwarding help can be found here: http://blockland.us/portforward/index.html

The Main Tutorial - Creating your dedicated Server Batch File

1. Locate where your Blockland is installed. By default Blockland is installed in C:\Program Files (x86)\Blockland for 64bit. For 32bit it is C:\ProgramFiles\Blockland .Some users may have changed the directory during installation, if you did, make sure you know exactly where it is.

2. Open up the Notepad and type this in: "C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" -dedicated -map MAPNAMEHERE
If you want to make a dedicated lan server, just replace -dedicated with -dedicatedLAN

Your Notepad file should look like this:

If you changed the directory of where Blockland is installed, replace "C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" with the location of where you installed Blockland and the launcher, be sure to include the quotation marks as well.

3. You are almost done, press "File" and then "Save As..

Make sure to select "All Files". You can name the file whatever you want, just be sure to add .bat at the end of the filename. You can also save it anywhere you want, I saved it on the Desktop.


Connecting to The Dedicated Server
A common mistake that people make when trying to join their dedicated server is that they hit the "Query Internet" button when selecting "Join a game". Most of the time when you do this you will encounter an error. You need to hit "Query LAN" and join the server there.


CONGRATULATIONS, YOU ARE DONE



FAQ


How do I name my server, add a password and add-ons, etc.?
You need to do all of these things by loading up Blockland and by clicking "Start A Game" and selecting "Internet".
Edit your server, such as the name, password, admin password, music files, add-ons, and advanced config.
When you are done editing these options hit the "Back" button and close out of Blockland, then launch the dedicated server that you just finished creating and it will remember all of the options you selected.

« Last Edit: May 29, 2012, 08:42:08 PM by Altiris »

Place Holdah for now
« Last Edit: May 29, 2012, 08:40:42 PM by Altiris »

Why thank you kind sir.


so that basically means we can put -map Slate and it will load automatically on slate

sounds good

just a note

Program Files (x86) will only exist if you have a 64-bit computer or if you made it yourself.


EDIT:
you could also have a batch file like this to allow you to choose map when starting the server with a small modification

Code: [Select]
@echo off
SET /p map="Type in a map name:    "
C:\Program Files (x86)\Blockland\BlocklandLauncher.exe -dedicated -map %map%
« Last Edit: March 29, 2012, 10:23:25 PM by otto-san »

>Sees Battlefield: Bad Company 2

You're coolbro

just a note

Program Files (x86) will only exist if you have a 64-bit computer or if you made it yourself.


EDIT:
you could also have a batch file like this to allow you to choose map when starting the server with a small modification

Code: [Select]
@echo off
SET map="Type in a map name:    "
C:\Program Files (x86)\Blockland\BlocklandLauncher.exe -dedicated -map %map%

Yeah, I just remembered the ProgramFiles and x86 when I read a thread in Help. Thank you for informing me.

What is a dedicated server?
A dedicated server lets you run a Blockland server with larger amounts of people (99 players instead of 32).
This is incorrect.


This is incorrect.

(continuing cause i feel like it and you didn't really decide to help him out.)

That's if you go into Blockland's pref files or use console to set the max players to 99.

The real definition is a server that doesn't require the host to stay connected to the server. So you could leave and the server won't shut down.

This is incorrect.

You could have told me why this is incorrect instead of just stating that its incorrect to make
me look stupid.
« Last Edit: March 29, 2012, 10:37:43 PM by Altiris »

This is incorrect.
Oh, I missed that.


This is somewhat irrelevant, but wouldn't a dedicated server use less processing power/memory than a full Blockland client running?

It would still be using the processor but it wouldnt use as much memory, it wouldnt use the GPU either.

It would still be using the processor but it wouldnt use as much memory, it wouldnt use the GPU either.
okay that's what i was asking thank you for answering something asked kind sir i shall grant to you a single thanks to your brain here you are good sir thank you