I'm trying to host a blockland server via bat file. (Yes the version from the website) And it just opens and closes really fast. I'm on a 64 bit laptop.
Heres whats in my bat file:
C:\Program Files (x86)\Blockland\BlocklandLauncher.exe -dedicated -gamemode custom
Although you already solved this with the shortcut, it's important to note that you need "s around the file path, because it contains spaces.
"C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" -dedicated -gamemode custom
Like so.
Read above you, Btw how do you change the name of the server? and how do i load a gamemode that has spaces in it? Like i wanna host falling platforms DM, how do i host that? instead of like -gamemode custom is it gonna be like -gamemode falling_platforms_dm?
You go by the gamemode's zip filename, not the displayed name. Filenames are not allowed to have spaces when it comes to gamemodes, so this will never be an issue.
Sorry about all the posts, no edit button. But also how do i set max players?
You can either type $Pref::Server::MaxPlayers = ##; (replacing ## with the number you want), into the dedicated server console (not the client one).
Or you can join the server as a super admin, press ctrl + a, and click server settings.