Skip to content

Commit 50b9b9d

Browse files
author
James Rhoat
authored
Merge pull request #29 from SQLJames/feature/overhaul-mods-documentation
2 parents e7fd232 + f3a141c commit 50b9b9d

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

charts/factorio-server-charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sources:
2020
# This is the chart version. This version number should be incremented each time you make changes
2121
# to the chart and its templates, including the app version.
2222
# Versions are expected to follow Semantic Versioning (https://semver.org/)
23-
version: 1.2.2
23+
version: 1.2.3
2424

2525
# This is the version number of the application being deployed. This version number should be
2626
# incremented each time you make changes to the application. Versions are not expected to

charts/factorio-server-charts/README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,43 @@ mods:
130130
- url: "https://github.com/Suprcheese/Squeak-Through/archive/refs/tags/1.8.2.zip"
131131
name: "Squeak Through_1.8.2.zip"
132132
```
133-
134133
If the Factorio server doesn't start, check that the logs don't have an error with the mods. They are pretty verbose.
135134

135+
### Space Exploration and other overhaul mods
136+
It is possible that your mod may extend the default settings. As a result, your server might not start properly and instead throw an error.
137+
138+
While we expose all the default settings, we would not be able to determine what is needed if it is absent. To add new settings you would need to convert the desired json file into a yaml struct as we are mounting all configurations as a config map into the container.
139+
140+
the issue with Space Exploration, as an example, was that the `autoplace_controls` by default is an empty array, and thus we were not able to start the instance as there were no settings for them to evaluate. Additionally, they are also modifying some of the other settings. These changes implement the default recommended settings, available in the UI and were stored in a file at `...Factorio\mods\space-exploration\shared.lua`. In the lua file, it has 2 sections, basic_settings and advanced_settings which correspond to settings in `map-gen-settings.json` and `map-settings.json` respecively.
141+
142+
At the time of writing, to make these changes you would need to add this to your values.yaml file to override their default values in the chart.
143+
144+
> **_NOTE:_** These settings may change and it is important to check with the mod maintainer/community to check the recommended settings.
145+
```
146+
map_settings:
147+
pollution:
148+
enemy_attack_pollution_consumption_modifier: 0.5
149+
enemy_evolution:
150+
time_factor: 0.0000005
151+
destroy_factor: 0.0005
152+
pollution_factor: 0.00000025
153+
154+
map_gen_settings:
155+
water: 1.5
156+
starting_area: 2
157+
autoplace_controls:
158+
hot:
159+
size: 0.5
160+
cold:
161+
size: 0.5
162+
property_expression_names:
163+
control-setting:moisture:bias: '0.05'
164+
control-setting:aux:bias: '-0.35'
165+
```
166+
More information about the debugging process for the space exploration mod can be read on [Issue 24](https://github.com/SQLJames/factorio-server-charts/issues/24).
167+
168+
If you do run into any issues with mods, I will try to work with you on finding the right settings and document them as well.
169+
136170
## Parameters
137171
138172
### Kubernetes Parameters

0 commit comments

Comments
 (0)