factorio-server-manager icon indicating copy to clipboard operation
factorio-server-manager copied to clipboard

Add default port option for Factorio game server

Open karlh5926 opened this issue 2 years ago • 0 comments

  • Add a default Factorio port option that can be specified via command line flag --game-port Or, via the the config json file with key "factorio_port".

  • Add a conf.json option "factorio_port_lock". When set to true, force the game to run on the default "factorio_port" (--game-port on command line flag).

The default port will show up on the control page as the default value for game server.

In cases where where we need a factorio server port different from the default.

E.g. in my case, my admins can only use 34000 port since this is the only port that's forwarded. This feature eliminates the tedium & potential human error involved in having to maually edit the game port number everytime.

karlh5926 avatar Jun 25 '23 19:06 karlh5926