Skip to content

Commit

Permalink
Added fix for blank PalWorld Settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashboy1998 committed Jan 26, 2024
1 parent 4ba38be commit 0edb73f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +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.

Check failure on line 205 in README.md

View workflow job for this annotation

GitHub Actions / markdownlint

Multiple consecutive blank lines

README.md:205 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md012.md
## Reporting Issues/Feature Requests

Expand Down
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ cd /palworld || exit

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

if [ ! -f /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini ]; then
if [ ! -f /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini ] || [ -z $(grep '[^[:space:]]' /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini) ]; then

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

Expand Down

0 comments on commit 0edb73f

Please sign in to comment.