Blockland Forums > General Discussion
BlocklandLauncher.exe command line parameters
MrPolygon:
Hello.
I would like to know a complete list of all of the command line parameters avaliable for BlocklandLauncher but I have not been able to find one. I would like to know the following:
* Parameter to specify the add-on directory while using the dedicated parameter.
* Specify the dedicated server's name on the list.
* Specify the ports used for the dedicated server.
* Specify the maximum amount of players.
* Specify the administrator BL_IDs on startup, or a config file I can access for this purpose.
Thank you. If there isn't a command available for these needs, please specify how this can be achieved while starting a dedicated server.
The Brighter Dark:
1- start the dedicated server
2- join the server
3- go into the admin menu
4- click gamemode>custom and set your setting to what you want them to be
DrenDran:
what was the command for specifying the map you wanted again?
Advanced Bot:
--- Quote from: MrPolygon on January 09, 2014, 08:26:45 PM ---Hello.
I would like to know a complete list of all of the command line parameters avaliable for BlocklandLauncher but I have not been able to find one. I would like to know the following:
* Parameter to specify the add-on directory while using the dedicated parameter.
* Specify the dedicated server's name on the list.
* Specify the ports used for the dedicated server.
* Specify the maximum amount of players.
* Specify the administrator BL_IDs on startup, or a config file I can access for this purpose.
Thank you. If there isn't a command available for these needs, please specify how this can be achieved while starting a dedicated server.
--- End quote ---
+ Add-On directory, there is no parameter for that, if steam, I don't know the file for that, but for non-steam, Documents/Blockland/*, I don't think there is a way to go around it.
" * Specify the dedicated server's name on the list." - Not needed for a parameter. I don't understand why you need this.
"* Specify the ports used for the dedicated server." - When it launches the dedicated server, it tells you the port it is using.
"* Specify the maximum amount of players."
"* Specify the administrator BL_IDs on startup, or a config file I can access for this purpose."
These can be done through a script.
Scout31:
All of these can be done via RTB.
Otherwise, these console commands can help:
--- Code: ---$Pref::Server::MaxPlayers = 32; //obviously replacing 32 with desired number
$Pref::Server::Name = "Server Name";
$Pref::Server::Port = 28000; //again, replacing number with desired number
--- End code ---
Changing the port won't take effect until the server has restarted. Alternatively, if you go to config/server/prefs.cs, you can find and edit these variables in there.