From 195be82a608fa4c113d02a011e0ddf88bda5aaf7 Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Sun, 4 Aug 2024 15:23:42 +0200 Subject: [PATCH] Add SUPPLY_DROP_SPAN & fix AUTO_SAVE_SPAN description --- README.md | 3 ++- docusaurus/docs/getting-started/configuration/game-settings.md | 3 ++- scripts/compile-settings.sh | 2 ++ scripts/files/PalWorldSettings.ini.template | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d41af17..6cceea13 100644 --- a/README.md +++ b/README.md @@ -621,7 +621,7 @@ For example: | BASE_CAMP_MAX_NUM_IN_GUILD | Max bases of Guild | 4 | Integer | | PAL_EGG_DEFAULT_HATCHING_TIME | Time(h) to incubate massive egg | 72.000000 | Float | | WORK_SPEED_RATE | Work speed muliplier | 1.000000 | Float | -| AUTO_SAVE_SPAN | Time between autosaves (minutes) | 30.000000 | Float | +| AUTO_SAVE_SPAN | Time between autosaves (seconds) | 30.000000 | Float | | IS_MULTIPLAY | Enable multiplayer | False | Boolean | | IS_PVP | Enable PVP | False | Boolean | | CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP | Allow players from other guilds to pick up death penalty items | False | Boolean | @@ -636,6 +636,7 @@ For example: | 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 | +| SUPPLY_DROP_SPAN | Interval for supply drop (minutes) | 180 | Integer | ### Manually diff --git a/docusaurus/docs/getting-started/configuration/game-settings.md b/docusaurus/docs/getting-started/configuration/game-settings.md index 25d1afb4..af8d2822 100644 --- a/docusaurus/docs/getting-started/configuration/game-settings.md +++ b/docusaurus/docs/getting-started/configuration/game-settings.md @@ -75,7 +75,7 @@ For example: | BASE_CAMP_MAX_NUM_IN_GUILD | Max bases of Guild | 4 | Integer | | PAL_EGG_DEFAULT_HATCHING_TIME | Time(h) to incubate massive egg | 72.000000 | Float | | WORK_SPEED_RATE | Work speed muliplier | 1.000000 | Float | -| AUTO_SAVE_SPAN | Time between autosaves (minutes) | 30.000000 | Float | +| AUTO_SAVE_SPAN | Time between autosaves (seconds) | 30.000000 | Float | | IS_MULTIPLAY | Enable multiplayer | False | Boolean | | IS_PVP | Enable PVP | False | Boolean | | CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP | Allow players from other guilds to pick up death penalty items | False | Boolean | @@ -90,6 +90,7 @@ For example: | 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 | +| SUPPLY_DROP_SPAN | Interval for supply drop (minutes) | 180 | Integer | | 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 107c284c..be07af5f 100755 --- a/scripts/compile-settings.sh +++ b/scripts/compile-settings.sh @@ -91,6 +91,7 @@ export REST_API_PORT=\"${REST_API_PORT:-8212}\" export SHOW_PLAYER_LIST=${SHOW_PLAYER_LIST:-True} export ALLOW_CONNECT_PLATFORM=${ALLOW_CONNECT_PLATFORM:-Steam} export USE_BACKUP_SAVE_DATA=${USE_BACKUP_SAVE_DATA:-True} +export SUPPLY_DROP_SPAN=${SUPPLY_DROP_SPAN:-180} if [ "${DEBUG,,}" = true ]; then cat <