- Install Docker and a recent (>v6) version of Node.js
- Download the headless form of the game for Linux and unpack it in the bin folder so you end up with bin/factorio/.
docker build -t=factorio-server .. Grab the container ID when finished../run.shto start the server.- Start Factorio and connect to the multiplayer server that is now running at 127.0.0.1:34190
- In repl-server run
node src/index.jsto start the actual REPL console. - In the chat run
/c remote.call('repl', 'open', 'ws://<your computer's ip>:8080'), substituting your computer's IP address. - The REPL should now be setup. Try running
return game.players[1].namein the REPL console.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|