mirror of
https://github.com/bplein/factorio-docker.git
synced 2025-01-26 03:52:15 +02:00
Adding support for adminlist
This commit is contained in:
parent
b474afc1b7
commit
7897de5080
@ -51,6 +51,7 @@ exec su-exec factorio /opt/factorio/bin/x64/factorio \
|
||||
--rcon-port $RCON_PORT \
|
||||
--server-whitelist $CONFIG/server-whitelist.json \
|
||||
--use-server-whitelist \
|
||||
--server-adminlist $CONFIG/server-adminlist.json \
|
||||
--rcon-password "$(cat $CONFIG/rconpw)" \
|
||||
--server-id /factorio/config/server-id.json \
|
||||
$@
|
||||
|
12
README.md
12
README.md
@ -164,6 +164,15 @@ Create file `config/server-whitelist.json` and add the whitelisted users.
|
||||
"friend"
|
||||
]
|
||||
|
||||
## Adminlisting (0.17.1+)
|
||||
|
||||
Create file `config/server-adminlist.json` and add the adminlisted users.
|
||||
|
||||
[
|
||||
"you",
|
||||
"friend"
|
||||
]
|
||||
|
||||
# Container Details
|
||||
|
||||
The philosophy is to [keep it simple](http://wiki.c2.com/?KeepItSimple).
|
||||
@ -182,7 +191,8 @@ To keep things simple, the container uses a single volume mounted at `/factorio`
|
||||
| |-- map-gen-settings.json
|
||||
| |-- rconpw
|
||||
| |-- server-settings.json
|
||||
| `-- server-whitelist.json
|
||||
| |-- server-whitelist.json
|
||||
| `-- server-adminlist.json
|
||||
|-- mods
|
||||
| `-- fancymod.zip
|
||||
`-- saves
|
||||
|
Loading…
x
Reference in New Issue
Block a user