diff --git a/.env.example b/.env.example index b4ed3d741..ddb969288 100644 --- a/.env.example +++ b/.env.example @@ -81,4 +81,5 @@ ENABLE_DEFENSE_OTHER_GUILD_PLAYER=False COOP_PLAYER_MAX_NUM=4 REGION= USEAUTH=True -BAN_LIST_URL=https://api.palworldgame.com/api/banlist.txt \ No newline at end of file +BAN_LIST_URL=https://api.palworldgame.com/api/banlist.txt +SHOW_PLAYER_LIST=True diff --git a/README.md b/README.md index 04f18d84c..c71ae6a9b 100644 --- a/README.md +++ b/README.md @@ -487,6 +487,7 @@ For example: | REGION | Region | | String | | USEAUTH | Use authentication | True | Boolean | | BAN_LIST_URL | Which ban list to use | [https://api.palworldgame.com/api/banlist.txt](https://api.palworldgame.com/api/banlist.txt) | string | +| SHOW_PLAYER_LIST | Enable show player list | True | Boolean | ### Manually diff --git a/docusaurus/docs/getting-started/configuration/game-settings.md b/docusaurus/docs/getting-started/configuration/game-settings.md index 8b4503b1a..48b2644f7 100644 --- a/docusaurus/docs/getting-started/configuration/game-settings.md +++ b/docusaurus/docs/getting-started/configuration/game-settings.md @@ -81,6 +81,7 @@ For example: | REGION | Region | | String | | USEAUTH | Use authentication | True | Boolean | | BAN_LIST_URL | Which ban list to use | [https://api.palworldgame.com/api/banlist.txt](https://api.palworldgame.com/api/banlist.txt) | string | +| SHOW_PLAYER_LIST | Enable show player list | True | Boolean | | TARGET_MANIFEST_ID | Locks game version to corespond with Manfiest ID from Steam Download Depot. | | See [Manifest ID Table](https://palworld-server-docker.loef.dev/guides/pinning-game-version) | | ENABLE_PLAYER_LOGGING | Enables Logging and announcing when players join and leave | true | true/false | | PLAYER_LOGGING_POLL_PERIOD | Polling period (in seconds) to check for players who have joined or left | 5 | !0 | diff --git a/scripts/compile-settings.sh b/scripts/compile-settings.sh index a7a64f75f..7c4c876cb 100755 --- a/scripts/compile-settings.sh +++ b/scripts/compile-settings.sh @@ -83,6 +83,7 @@ export RCON_PORT=${RCON_PORT:-25575} export REGION=\"${REGION:-""}\" export USEAUTH=${USEAUTH:-True} export BAN_LIST_URL=\"${BAN_LIST_URL:-https://api.palworldgame.com/api/banlist.txt}\" +export SHOW_PLAYER_LIST=${SHOW_PLAYER_LIST:-True} if [ "${DEBUG,,}" = true ]; then cat <