Author Topic: How do I host dedicated servers on steam?  (Read 1666 times)

/title
for the summer sale players.

you can actualy but if you start the server you wont be able to open Blockland
so what you are going to do is first open BLockland then start the dedicated and if you exit blockland while the dedicated is still running you can reopen blockland so you better get an autosaver just in case

note:i copyed my blockland folder from the steam main folder to the desktop and it still works so you can get all the different add ons and place it in that separated folder

by the way tell me if you are ok with that

and this should go in help section but i wont complain

niki, that only works because you have a key.



You also need -steam on the start.bat, and it doesn't have to be in the folder if you target it with a full directory, sort of like what you're doing with the dedicated.bat.

Code: (steam_appid.txt) [Select]
250340Assuming you installed BL to Steam's default directory.
32-bit
Code: (server.bat) [Select]
start "C:\Program Files\Steam\SteamApps\common\Blockland\Blockland.exe" ptlaaxobimwroe -steam -dedicated64-bit
Code: (server.bat) [Select]
start "C:\Program Files (x86)\Steam\SteamApps\common\Blockland\Blockland.exe" ptlaaxobimwroe -steam -dedicated
client.bat is the same, just remove -dedicated.
You need a steam_appid.txt with the contents 250340 inside the Blockland folder, and then need to create a client.bat and a server.bat, with the above contents depending on whether it's a 32 bit or 64 bit OS.


You can actually do the same thing as you do with .bat files with shortcuts. I found this by making an Unturned dedicated server with shortcuts instead of .bat files. It's a bit more user-friendly.
Create a shortcut to your blockland.exe. Right click it. Go to properties. Paste the following what is on the next line into the TARGET box AFTER what is already there.
Code: [Select]
ptlaaxobimwroe -dedicated -steam
This will now run the latest gamemode run by the client, with all the latest client settings.
You can also add -gamemode [name] at the end, where [name] is the filename of the gamemode except for the Gamemode_ part, and that'll launch that gamemode.

Name this shortcut something obvious, like Blockland Dedicated Server or Blockland Pirate DM Server. The name of the shortcut doesn't change the server name, it just tells you what it launches.

Now, create another shortcut, but this time, paste the following.
Code: [Select]
ptlaaxobimwroe -steam
This will run the client, the normal game. Name it Blockland Client or something similar.

These are a bit easier to set up than .bat files and do exactly the same thing, except they have the Blockland.exe icon instead of a .bat default icon. EDIT: Apparently it also makes them separate window sets, so they don't stack. That's actually good because you can tell the client console apart from the dedicated console more easily.

If it doesn't work, try the following.
-Make sure you didn't replace the existing file path with the copy-pasted stuff. You'll need to redo the file if you've done this.
-Make sure you put a space inbetween the tags (ptlaaxobimwroe -steam) and the .exe path (the stuff in quotes that's already there)
-Make sure you put it in the Target box and not a different box.
-If it asks you to use the launcher or asks for your key, add -steam or make sure steam is running.
-Redo it from scratch.
« Last Edit: June 23, 2016, 12:57:49 PM by SuperSuit12 »

It wont let you do that without the steam_appid.txt file.

sounds complicated, make a video on how to do it?

It wont let you do that without the steam_appid.txt file.
I never had to mess with that as far as I remember. But that's already in the thread elsewhere...
Also, failbros, it may look complicated but it's not.

niki, that only works because you have a key.



i bought Blockland from steam so i dont have a key