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 \ --server-whitelist $CONFIG/server-whitelist.json \
--use-server-whitelist \ --use-server-whitelist \
--server-adminlist $CONFIG/server-adminlist.json \ --server-adminlist $CONFIG/server-adminlist.json \
--server-banlist $CONFIG/server-banlist.json \
--rcon-password "$(cat $CONFIG/rconpw)" \ --rcon-password "$(cat $CONFIG/rconpw)" \
--server-id /factorio/config/server-id.json \ --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" "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+) ## Adminlisting (0.17.1+)
Create file `config/server-adminlist.json` and add the adminlisted users. 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 | |-- rconpw
| |-- server-settings.json | |-- server-settings.json
| |-- server-whitelist.json | |-- server-whitelist.json
| |-- server-banlist.json
| `-- server-adminlist.json | `-- server-adminlist.json
|-- mods |-- mods
| `-- fancymod.zip | `-- fancymod.zip