Skip to content

Commit

Permalink
Merge pull request #145 from Dashboy1998/blank-settings-file-fix
Browse files Browse the repository at this point in the history
Added fix for blank PalWorld Settings file
  • Loading branch information
thijsvanloef authored Jan 27, 2024
2 parents 6596112 + 3ff8d1a commit 9f3d437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ Please keep in mind that the ENV variables will always overwrite the changes mad

For a more detailed list of explanations of server settings go to: [shockbyte](https://shockbyte.com/billing/knowledgebase/1189/How-to-Configure-your-Palworld-server.html)

> [!TIP]
> If the `<mount_folder>/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini` is empty,
> delete the file and restart the server, a new file with content will be created.
## Reporting Issues/Feature Requests

Issues/Feature requests can be submitted by using [this link](https://github.com/thijsvanloef/palworld-server-docker/issues/new/choose).
Expand Down
3 changes: 2 additions & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ cd /palworld || exit

printf "\e[0;32m*****CHECKING FOR EXISTING CONFIG*****\e[0m\n"

if [ ! -f /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini ]; then
# shellcheck disable=SC2143
if [ ! "$(grep -s '[^[:space:]]' /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini)" ]; then

printf "\e[0;32m*****GENERATING CONFIG*****\e[0m\n"

Expand Down

0 comments on commit 9f3d437

Please sign in to comment.