From 60823e09356a5311059a3e8eb1ffe08371648db0 Mon Sep 17 00:00:00 2001 From: Muscle Date: Tue, 27 Feb 2024 16:38:33 +0900 Subject: [PATCH 1/3] add default bShowPlayerList=True to PalWorldSettings.ini --- .env.example | 3 ++- scripts/compile-settings.sh | 2 ++ scripts/files/PalWorldSettings.ini.template | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) 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/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 < Date: Tue, 27 Feb 2024 17:58:26 +0900 Subject: [PATCH 2/3] Update README.md Add description for environment variable SHOW_PLAYER_LIST. --- README.md | 1 + 1 file changed, 1 insertion(+) 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 From 0456d21fe6dded5dc7fd6d37497e6dfeda45f1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=99=E3=82=8B?= <158264076+MusclePr@users.noreply.github.com> Date: Tue, 27 Feb 2024 18:04:18 +0900 Subject: [PATCH 3/3] Update game-settings.md Add description for environment variable SHOW_PLAYER_LIST. --- docusaurus/docs/getting-started/configuration/game-settings.md | 1 + 1 file changed, 1 insertion(+) 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 |