Blockland Forums > Modification Help

Command Line Args

Pages: (1/2) > >>

cucumberdude:

I assume the way that Badspot does the 'Join server' section of the website is by having some sort of cmd line args that blockland can take, probably specifying a port and such. Does anyone know specifically what these args are, and how I could use them out of the context of the web launcher?

Correct me if this is not the way he does it.

otto-san:

upon further inspection


--- Code: ---<div class="joinButton">
<a class="joinButton" id="joinButton" onclick="clickJoinButton('blockland://join-74.52.20.186_28100');" href="#"/>
</div>
--- End code ---

blockland://join-IP_PORT


probably a browser command like steam:

MegaScientifical:

Yes, it's like FTP:// and HTTP://. Just sends that data to the game and it opens that server ingame.


--- Code: ---blockland://join-IPCODE_PORT
--- End code ---

blockland://join-74.52.20.186_28100 <-- Join's Badspot's Block Party.

otto-san:


--- Quote from: MegaScientifical on August 13, 2011, 11:42:52 AM ---Yes, it's like FTP:// and HTTP://. Just sends that data to the game and it opens that server ingame.


--- Code: ---blockland://join-IPCODE_PORT
--- End code ---

blockland://join-74.52.20.186_28100 <-- Join's Badspot's Block Party.

--- End quote ---
sadly that doesn't work on the forums for whatever reason, it redirects to that blockland.com thing

MegaScientifical:

blockland://join-74.52.20.186_28100 <-- Join's Badspot's Block Party.

Lol, I believe the forums are automatically adding http:// to the start thinking I'm giving a trap url. So ya, won't work.

Pages: (1/2) > >>

Go to full version