Skip to content

Repository files navigation

Factorio REPL

Setup

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

About

Remote Lua REPL for Factorio, a fascinating simulation game.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages