Web control panel for dedicated server

Find multiplayer games.
Tools/scripts to run a dedicated server.
Phssthpok
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Jun 03, 2014 12:13 pm
Contact:

Web control panel for dedicated server

Post by Phssthpok »

I was tired of starting and stopping a dedicated Factorio server on the command line, and manually typing the same file names to copy them around, so I created a web control panel to automate common tasks.

Features:
  • Runs on Linux, Mac, and Windows
  • Instant installation with Docker
  • Upload and download mods and save files
  • Start and stop Factorio server with a user interface to set options
  • Send commands to a running server's standard-in
Screenshot:
screenshot
screenshot
screenshot.png (84.86 KiB) Viewed 11314 times
Manual installation with NPM
Automatic installation with Docker
Source code: https://github.com/jjclark1982/factorio-control-panel
Last edited by Phssthpok on Mon Jul 04, 2016 8:59 am, edited 3 times in total.
Bisa
Filter Inserter
Filter Inserter
Posts: 450
Joined: Fri Jul 17, 2015 3:22 pm
Contact:

Re: Web control panel for dedicated server

Post by Bisa »

Nifty idea, thnx for sharing :)
Hosting a factorio server? Take a look at this || init script ||.
niksac
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jun 21, 2016 3:44 pm
Contact:

Re: Web control panel for dedicated server

Post by niksac »

Thanks for creating and sharing this :) great job!

If somebody wants to run this without installing globally:

install without -g flag in your folder of choice:

Code: Select all

npm install factorio-control-panel
run this way

Code: Select all

node_modules/.bin/factorio-control-panel
I would love to also have the possibility to set a "view password".
Phssthpok
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Jun 03, 2014 12:13 pm
Contact:

Re: Web control panel for dedicated server

Post by Phssthpok »

I have updated this to support Factorio 0.13.

And I have published a Docker image for one-step installation and deployment: jjclark/factorio

TODO:
  • set a view password, separate from the admin password
  • display Factorio version on page
  • display working URL in terminal when launching
Xolkiyr
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Jun 28, 2016 4:30 am
Contact:

Re: Web control panel for dedicated server

Post by Xolkiyr »

Another suggestion, have an option under which save to run that runs --server-start-load-latest which takes the guess work out of which auto save is the newest. Just a thought.
Phssthpok
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Jun 03, 2014 12:13 pm
Contact:

Re: Web control panel for dedicated server

Post by Phssthpok »

Maybe the simplest thing is to make sure the latest save is always the default selection in the save file dropdown.
VyMajoris
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri May 22, 2015 12:29 am
Contact:

Re: Web control panel for dedicated server

Post by VyMajoris »

Is it possible to place multiple mods at once with Docker? I've tried editing the volume with Kitematic but the server does not detect the changes. In fact, if I load one via the web panel it doesn't even show on the volume listed by Kitematic.

edit: Fixed by changing the folders via Kitematic
wns25678
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 03, 2016 1:13 pm
Contact:

Re: Web control panel for dedicated server

Post by wns25678 »

Very Good Thank you
User avatar
Haxton Fale
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Mar 19, 2016 12:59 pm
Contact:

Re: Web control panel for dedicated server

Post by Haxton Fale »

This seems like just what I'd need! A few questions, thought:
1. Will it also run with 0.14?
2. Does it handle mod updates?
ralle030583
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Jan 29, 2015 11:32 am
Contact:

Re: Web control panel for dedicated server

Post by ralle030583 »

its running with 0.14 for me

edit suggestion:

Deletebuttons for mods and saves (when server stopped) would be nice :)
mmppolton
Long Handed Inserter
Long Handed Inserter
Posts: 58
Joined: Sun Apr 16, 2017 11:38 pm
Contact:

Re: Web control panel for dedicated server

Post by mmppolton »

do not work do it work for 0.15 or what to do now
lipe123
Burner Inserter
Burner Inserter
Posts: 13
Joined: Fri Sep 30, 2016 7:39 pm
Contact:

Re: Web control panel for dedicated server

Post by lipe123 »

When I try to do things I get the username/pwd popup but nothing works.

I check export and its set to the pwd i set but I have no idea what the username is, I tried admin/Admin/nothing at all etc and no luck

Please explain better.

Aslo the factorio path, is that the path to the executable or just the normal factorio base folder?
Post Reply

Return to “Multiplayer / Dedicated Server”