You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+88-2Lines changed: 88 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ I'm keeping the image up to date. If you need to use an older version, checkout
17
17
18
18
How to use ?
19
19
-----
20
+
20
21
### I just want to play !
21
22
This runs factorio with default settings, and your save will be kept :
22
23
```
@@ -36,6 +37,7 @@ docker run -d \
36
37
zopanix/factorio
37
38
```
38
39
This will generate a new random map with default settings.
40
+
39
41
#### With map persistence
40
42
```
41
43
docker run -d \
@@ -45,6 +47,7 @@ docker run -d \
45
47
```
46
48
This will generate a new random map with default settings and save it onto the volume.
47
49
Replace [PATH] with a path to a folder on the host where the map will be saved. If existing saves exist it will take the latest one.
50
+
48
51
#### Autosave interval
49
52
You can set the autosave interval. By default it is set at 2 minutes bud you can change it by launching the container with the "FACTORIO_AUTOSAVE_INTERVAL" variable to whatever suits you best.
50
53
```
@@ -54,6 +57,7 @@ docker run -d \
54
57
zopanix/factorio
55
58
```
56
59
Where [NUMBER] is the number of minutes between autosaves.
60
+
57
61
#### Autosave slots
58
62
You can set the number of autosave slots. By default it is set at 3 slots bud you can change it by launching the container with the "FACTORIO_AUTOSAVE_SLOTS" variable to whatever suits you best.
59
63
```
@@ -63,6 +67,7 @@ docker run -d \
63
67
zopanix/factorio
64
68
```
65
69
Where [NUMBER] is the number of autosave slots.
70
+
66
71
#### Mounting mod volume
67
72
As everybody knows about factorio is you can add mods to it. Now you can also do it in this docker image by mounting a volume.
68
73
```
@@ -72,6 +77,7 @@ docker run -d \
72
77
zopanix/factorio
73
78
```
74
79
Where [PATH] is the path to the folder with your mods.
80
+
75
81
#### Allowing in-game commands
76
82
I've always disabled in-game commands because I think it is like cheating, however, you can enable them by setting the the "FACTORIO_ALLOW_COMMANDS" variable to "true".
77
83
```
@@ -80,6 +86,7 @@ docker run -d \
80
86
-p [PORT]:34197/udp \
81
87
zopanix/factorio
82
88
```
89
+
83
90
#### Activating no-auto-pause in the game when no one is on the server
84
91
I do not recommend this feature, bud it can make the game more difficult if you're up for a challenge :-). Just set the "FACTORIO_NO_AUTO_PAUSE" variable to "true".
85
92
```
@@ -96,16 +103,82 @@ docker run -d \
96
103
--env FACTORIO_LATENCY_MS=[number] \
97
104
-p [PORT]:34197/udp \
98
105
zopanix/factorio
99
-
100
106
```
107
+
101
108
#### Factorio Mode
102
109
I don't know what it is, possibilities are : heavy, complete or none (don't do anything...)
103
110
```
104
111
docker run -d \
105
112
--env FACTORIO_MODE=[MODE] \
106
113
-p [PORT]:34197/udp \
107
114
zopanix/factorio
115
+
```
116
+
117
+
#### Factorio Server Name
118
+
Set Factorio Server Name (defaults to "Factorio Server")
119
+
```
120
+
docker run -d \
121
+
--env FACTORIO_SERVER_NAME=[NAME]
122
+
-p [PORT]:34197/udp \
123
+
zopanix/factorio
124
+
```
108
125
126
+
#### Factorio Server Description
127
+
Set Factorio Server Description (if not specified, no description will be set)
128
+
```
129
+
docker run -d \
130
+
--env FACTORIO_SERVER_DESCRIPTION=[DESCRIPTION]
131
+
-p [PORT]:34197/udp \
132
+
zopanix/factorio
133
+
```
134
+
135
+
#### Factorio Server Max Players
136
+
Set Factorio Server Max Players count (if not specified, maximum players is set to 255)
137
+
```
138
+
docker run -d \
139
+
--env FACTORIO_SERVER_MAX_PLAYERS=[NUMBER]
140
+
-p [PORT]:34197/udp \
141
+
zopanix/factorio
142
+
```
143
+
144
+
#### Factorio Server Visibility
145
+
[//]: # (Set Factorio Server Visibility (if set to public, factorio.com User Login and Password or Token are required))
146
+
Set Factorio Server Visibility (if set to public, factorio.com User Login and Password are required)
By default a random password is set bud ... see below
121
194
122
-
### Factorio RCON Console Password
195
+
####Factorio RCON Console Password
123
196
This allows you to set a password for RCON (if not specified, it will be random)
124
197
```
125
198
docker run -d \
@@ -128,6 +201,19 @@ docker run -d \
128
201
zopanix/factorio
129
202
```
130
203
204
+
#### Authorization Error
205
+
If your container exits with the following error:
206
+
```
207
+
Info HttpSharedState.cpp:83: Status code: 401
208
+
Info AuthServerConnector.cpp:40: Error in communication with auth server: code(401) message({
209
+
"message": "Username and password don't match",
210
+
"status": 401
211
+
})
212
+
Info AuthServerConnector.cpp:68: Auth server authorization error (Username and password don't match)
213
+
Error Util.cpp:57: Unknown error
214
+
```
215
+
Check supplied Username and Password for mistakes.
216
+
131
217
#### Waiting for ready
132
218
This is a beta feature which has nothing to do with factorio... leave it as it is for the moment. I'm working with some collegues on something new which should work very well and please a lot of people.
0 commit comments