This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#walkthought: https://www.accessdenied.wtf/single-post/2017/09/24/Factorio-15-Server-Customizations-with-LUA-Commands | |
#Set game to peaceful mode (global setting) | |
/c game.player.surface.peaceful_mode=true | |
#In the next section, replace "player_name_[1,2,3]" with whatever name makes sense to you | |
#create player factions (this is for 4 players, 3 named and the default [player] faction) | |
/c game.create_force('f_player_name_1') | |
/c game.create_force('f_player_name_2') | |
/c game.create_force('f_player_name_3') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Written on Ubuntu 16.04 LTS | |
#Written against Factorio 0.15.3 (tested again 0.15.35) | |
#walkthough: tbd | |
#props: https://gist.github.com/othyn/e1287fd937c1e267cdbcef07227ed48c | |
#disclaimer: stole the idea from someone (can't remember who, sorry), but modified it for my wants | |
#Requires Sudo for systemctl commands (start, stop, restart, ect) | |
clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LocalS3URL": "", | |
"LocalS3AccessKeyId": "", | |
"LocalS3SecretKey": "", | |
"LocalS3BucketName": "", | |
"LocalS3Region": "", | |
"TribeLogConfig": { | |
"MaxRedisEntries": 1000, | |
"BackupMode": "off", | |
"MaxFileHistory": 10, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"BaseServerArgs": "", | |
"gridSize": 1400000.0, | |
"MetaWorldURL": "", | |
"WorldFriendlyName": "XXXYYYXXX", | |
"WorldAtlasId": "XXXYYYXXX", | |
"AuthListURL": "", | |
"WorldAtlasPassword": "XXXYYYXXX", | |
"ModIDs": "", | |
"MapImageURL": "XXXYYYXXX", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Redis configuration file example | |
# Guide on how to use with Atlas: https://www.drac346.net/2018/12/atlas-dedicated-server-setup-main-menu.html | |
# Note on units: when memory size is needed, it is possible to specify | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# | |
# 1k => 1000 bytes | |
# 1kb => 1024 bytes | |
# 1m => 1000000 bytes | |
# 1mb => 1024*1024 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"serverTemplates": [ | |
{ | |
"templateColorR": 0.05, | |
"templateColorG": 0.2, | |
"templateColorB": 1.0, | |
"gridX": 0, | |
"gridY": 0, | |
"MachineIdTag": "", | |
"ip": "", | |
"name": "Polar", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Written on Ubuntu 16.04 LTS | |
#Written against Factorio 0.15.3 (tested again 0.15.35) | |
#walkthough: tbd | |
#props: https://gist.github.com/othyn/e1287fd937c1e267cdbcef07227ed48c | |
#disclaimer: stole the idea from someone (can't remember who, sorry), but modified it for my wants | |
#Requires Sudo for systemctl commands (start, stop, restart, ect) | |
clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#place in /etc/systemd/system/factorio.service | |
# systemctl start factorio.service | |
# systemctl enable factorio.service #autostarts the server | |
# systemctl stop factorio.service | |
[Unit] | |
Descritpion=Factorio Headless Server | |
After=network.target | |
After=systemd-user-sessions.service | |
After=network-online.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#place in /etc/systemd/system/7d2d.service | |
# systemctl start 7d2d.service | |
# systemctl enable 7d2d.service #autostarts the server | |
# systemctl stop 7d2d.service | |
[Unit] | |
Descritpion=7D2D Headless Server | |
After=network.target | |
After=systemd-user-sessions.service | |
After=network-online.target |