1
0
mirror of https://github.com/factoriotools/factorio-docker.git synced 2025-01-28 03:29:30 +02:00

Adding banlist support

This commit is contained in:
Dave Bendit 2019-02-26 19:30:47 -06:00
parent 7897de5080
commit 26cec3ae93
2 changed files with 11 additions and 0 deletions

View File

@ -52,6 +52,7 @@ exec su-exec factorio /opt/factorio/bin/x64/factorio \
--server-whitelist $CONFIG/server-whitelist.json \
--use-server-whitelist \
--server-adminlist $CONFIG/server-adminlist.json \
--server-banlist $CONFIG/server-banlist.json \
--rcon-password "$(cat $CONFIG/rconpw)" \
--server-id /factorio/config/server-id.json \
$@

View File

@ -164,6 +164,15 @@ Create file `config/server-whitelist.json` and add the whitelisted users.
"friend"
]
## Banlisting (0.17.1+)
Create file `config/server-banlist.json` and add the banlisted users.
[
"bad_person",
"other_bad_person"
]
## Adminlisting (0.17.1+)
Create file `config/server-adminlist.json` and add the adminlisted users.
@ -192,6 +201,7 @@ To keep things simple, the container uses a single volume mounted at `/factorio`
| |-- rconpw
| |-- server-settings.json
| |-- server-whitelist.json
| |-- server-banlist.json
| `-- server-adminlist.json
|-- mods
| `-- fancymod.zip