Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows:
- 1. Download the zip Folder of the newest version
- 2. Generate Map if you need to:
- a. Copy & Rename data\map-gen-settings and data\map-settings (remove .example)
- b. Edit files
- c. run cmd in the root of the folder
- d. bin\x64\factorio.exe --create SAVE-LOCATION.zip --map-gen-settings FILE.json --map-settings FILE.json
- 3. Copy & rename & Edit data\server-settings
- 4. Create batch script for starting the server: bin\x64\factorio.exe --start-server saves\server.zip --server-settings data\server-settings.json --bind 192.168.178.119 [ENTER] pause
- 5. done
- Linux (confirmed on ubuntu 18.10)
- 1. DOWNLOAD FACTORIO
- 2. sudo mkdir /srv/FactorioServer/
- 3. sudo chown user /srv/FactorioServer/ (instead of user use your username)
- 4. cd /srv/FactorioServer/
- 5. wget https://factorio.com/get-download/0.16.51/headless/linux64 (get URL of the latest headless version)
- 6. tar -xJf linux64 (linux64 is the filename)
- 7. rm linux64
- 8. CREATION OF SAVEGAME
- 9. cd factorio/data
- 10. Edit map-gen-settings and map-settings with nano and save without .example
- 11. Cd ..
- 12. Mkdir saves
- 13. bin/x64/factorio --create saves/server.zip --map-gen-settings data/map-gen-settings.json --map-settings data/map-settings.json
- 14. CONFIGURING SERVER
- 15. cd data
- 16. edit server-settings with nano and save without .example
- 17. cd ..
- 18. upload mods using filezilla or winSCP if you want (copy the entire mods folder of your normal game install)
- 19. bin/x64/factorio --start-server saves/server.zip --server-settings data/server-settings.json
- 20. START AND STOP SCRIPTS
- 21. nano run.sh
- 22. nohup bin/x64/factorio --start-server saves/server.zip --server-settings data/server-settings.json &
- 23. chmod +x run.sh
- 24. ./run.sh
- 25. Nano stop.sh
- 26. pkill factorio
- 27. Chmod +x stop.sh
- 28. ./stop.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement