Author Topic: How to make a dedicated server for blockland windows 8  (Read 2237 times)

Hello! I need help making a dedicated server without using RTB/Kalphosting(or what ever it is)
I saw greek to me's posts on many other topics, but I didn't understand it fully. I tried what you said but the shortcut panel didn't say what you said it would. I could use some help please :C

Okay I got it going, now I need to know how to do the profile thing...
I put -pathprofile at the end, but I don't know what to do with c:\path\to\server folder
SO I put -pathprofile c:\path\to\server folder at the end and it's giving me an error
I also tried just putting -pathprofile
Help.

Can you post a link to the tutorial you're following so that we can see which step you're trying to work on?

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:
"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:
"C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" -dedicated
You 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.

Quick question before we can do anything else, can you host non-dedicated servers?


From what I can tell, it seems like you're putting the wrong commands into the shortcut target field. Can you copy exactly what's currently in the box?

C:\Users\*myuser*\Documents\Blockland\BlocklandLauncher.exe -dedicated -pathprofile c:\path\to\server folder

C:\Users\*myuser*\Documents\Blockland\BlocklandLauncher.exe -dedicated -pathprofile c:\path\to\server folder

Ok I understand now. The command "-pathprofile" that you're adding to the end of the shortcut is telling it that it's getting its Add-ons and preferences from somewhere other than your \Documents\Blockland folder. If you just want to use the Addons and preferences in your regular Blockland folder, just make the target line say:
Code: [Select]
C:\Users\*myuser*\Documents\Blockland\BlocklandLauncher.exe -dedicatedMake sure to replace "*myuser*" with the actual name.

If you do want to use another folder for your server addons and preferences, then create that folder somewhere else and note the path. For example, if you create the folder ServerStuff in your normal Blockland folder, the path would be C:\Users\*myuser*\Documents\Blockland\ServerStuff. With that in mind, the target field of the shortcut should look like this:
Code: [Select]
C:\Users\*myuser*\Documents\Blockland\BlocklandLauncher.exe -dedicated -pathProfile C:\Users\*myuser*\Documents\Blockland\ServerStuff


Topic is now locked