mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-02-03 20:44:44 +01:00
Adding banlist support
This commit is contained in:
parent
7897de5080
commit
26cec3ae93
@ -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 \
|
||||||
$@
|
$@
|
||||||
|
10
README.md
10
README.md
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user