mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
Added fix for blank PalWorld Settings file
This commit is contained in:
@@ -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.
|
||||
|
||||
## Reporting Issues/Feature Requests
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user