Hi!
I own 2 dedicated servers of Factorio, one which is Vanilla and the other one is Modded so everytime I want to play one server or another without loading the game, select/deselect the mods and restart the game I made a script to automatize that which works like a charm but the only inconvenient now is that prompt every single time the password to join.
I'd like to have a command line parameters to add a password too, like -applaunch 427520 --mp-connect server:port --password password123
See my script for anyone that wants to easy swap between servers as example
Add password command line parameters
Moderator: ickputzdirwech
Add password command line parameters
- Attachments
-
- unknown.png (68.31 KiB) Viewed 1350 times
Re: Add password command line parameters
Wouldn't it be better to use a token ? there's a page on the wiki I can't link for now that explains ho to get an authentication token from Factorio's authentication API.
I'm not sure your need would be addressed with that solution, I just have a vague understanding of how those things work.
I'm not sure your need would be addressed with that solution, I just have a vague understanding of how those things work.
Koub - Please consider English is not my native language.
Re: Add password command line parameters
The token is for login with user and token than password for multi-player. This have nothing to do with server password.
Re: Add password command line parameters
Oh I see, my bad!
Koub - Please consider English is not my native language.