From 3ace280acec54508dcd1ab9964fa57a47fb752f5 Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 25 Mar 2021 21:39:06 +0100 Subject: Fix alpine quirks automatically --- roles/factorio/templates/server-settings.json.j2 | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 roles/factorio/templates/server-settings.json.j2 (limited to 'roles/factorio/templates') 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 +} -- cgit v1.2.3