aboutsummaryrefslogtreecommitdiffstats
path: root/roles/factorio/templates
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-03-25 21:39:06 +0100
committerbinary <me@rgoncalves.se>2021-03-25 21:39:06 +0100
commit3ace280acec54508dcd1ab9964fa57a47fb752f5 (patch)
treeba905644bbd331f61b2219de8af32b3af51e281c /roles/factorio/templates
parent376743ac96ee505fa967af675034fb796835b2e9 (diff)
downloadinfrastructure-3ace280acec54508dcd1ab9964fa57a47fb752f5.tar.gz
Fix alpine quirks automatically
Diffstat (limited to 'roles/factorio/templates')
-rw-r--r--roles/factorio/templates/server-settings.json.j241
1 files changed, 41 insertions, 0 deletions
diff --git a/roles/factorio/templates/server-settings.json.j2 b/roles/factorio/templates/server-settings.json.j2
new file mode 100644
index 0000000..b64b2d6
--- /dev/null
+++ b/roles/factorio/templates/server-settings.json.j2
@@ -0,0 +1,41 @@
+{
+ "name": "{{ global.domain_name }} - {{ factorio__name }}",
+ "description": "{{ factorio__description }}",
+ "tags": ["game", "tags"],
+
+ "max_players": {{ factorio__max_players }},
+
+ "visibility":
+ {
+ "public": {{ factorio__public }},
+ "lan": true
+ },
+
+ "username": "",
+ "password": "",
+ "token": "",
+
+ "game_password": "",
+ "require_user_verification": true,
+
+ "max_upload_in_kilobytes_per_second": 0,
+ "max_upload_slots": 5,
+
+ "minimum_latency_in_ticks": 0,
+ "ignore_player_limit_for_returning_players": false,
+
+ "allow_commands": "admins-only",
+ "autosave_interval": 10,
+ "autosave_slots": 5,
+
+ "afk_autokick_interval": 10,
+ "auto_pause": true,
+
+ "only_admins_can_pause_the_game": true,
+ "non_blocking_saving": false,
+
+ "minimum_segment_size": 25,
+ "minimum_segment_size_peer_count": 20,
+ "maximum_segment_size": 100,
+ "maximum_segment_size_peer_count": 10
+}
remember that computers suck.