mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 03:07:24 +01:00
Merge pull request #185 from DBendit/master
Adding support for 0.17's new banlist and adminlist options
This commit is contained in:
commit
2c88f5e982
@ -51,6 +51,8 @@ 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 \
|
||||
--server-banlist $CONFIG/server-banlist.json \
|
||||
--rcon-password "$(cat $CONFIG/rconpw)" \
|
||||
--server-id /factorio/config/server-id.json \
|
||||
$@
|
||||
|
22
README.md
22
README.md
@ -164,6 +164,24 @@ 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.
|
||||
|
||||
[
|
||||
"you",
|
||||
"friend"
|
||||
]
|
||||
|
||||
# Container Details
|
||||
|
||||
The philosophy is to [keep it simple](http://wiki.c2.com/?KeepItSimple).
|
||||
@ -182,7 +200,9 @@ 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-banlist.json
|
||||
| `-- server-adminlist.json
|
||||
|-- mods
|
||||
| `-- fancymod.zip
|
||||
`-- saves
|
||||
|
Loading…
Reference in New Issue
Block a user