mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Solved #21
This commit is contained in:
1 parent
134c8e4d92
commit
3fde2be222
1 file changed
+30
-9
@@ -4,20 +4,41 @@
|
||||
|
||||
#Windows setup
|
||||
|
||||
git clone
|
||||
Clusterio is built up of multiple parts. Here is a quick guide:
|
||||
|
||||
npm install
|
||||
Master = master.js
|
||||
|
||||
edit config.json
|
||||
Slave = client.js + factorio server
|
||||
|
||||
node master.js on the master
|
||||
Client = The people connecting to the server
|
||||
|
||||
start the server on the client, using the right rcon configs
|
||||
Master and all all Slaves have to be running nodejs. Get it from nodejs.org.
|
||||
|
||||
node client.js
|
||||
All Slaves AND Clients need to be running the clusterio mod located in this repository. Install it by dropping it into the mods folder.
|
||||
|
||||
connect to server
|
||||
There are no requirements for other mods, they can be ran in any configuration allowed by the base game.
|
||||
|
||||
???
|
||||
**Master
|
||||
|
||||
profit!
|
||||
To start master, clone the repo and do
|
||||
|
||||
node master.js
|
||||
|
||||
The clusterio monitoring interface can be found on [master]:8080
|
||||
|
||||
**Slave
|
||||
|
||||
To install a Slave, you need to set up config.json.
|
||||
|
||||
clientIP should be localhost
|
||||
|
||||
clientPort and password should be the port and password you have configured for RCON connections when launching factorio.exe. The defaults are correct if you are using a modified version of the included launchEverything.bat.
|
||||
|
||||
factorioDirectory is the location of your factorio server folder, ex factorio_0.13.37. You HAVE to use the zip version downloaded from the website to use clusterio. Headless should also work.
|
||||
|
||||
masterIP and port should be selfexplanatory. To test if these settings works, open a browser on the slave system and enter masterIP:masterPort.
|
||||
|
||||
Once finished, do
|
||||
|
||||
[factorioDirectory]/bin/x64/factorio.exe [flags]
|
||||
node client.js
|
||||
Reference in new issue
Block a user