-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to .env file not being changed in game / in PalWorldSettings.ini #320
Comments
It's a dedicated server bug. BASE_CAMP_WORKER_MAXNUM needs to be changed directly onto the WorldOption save file for some reason. Somebody would need to write up some script to check the env vars, generate the WorldOption save file based on those env vars, then replace the WorldOption save file with the generated one. For now, this might help: https://help.dathost.net/article/161-palworld-base-camp-workers-fix The files you need should be located somewhere in the folder mounted on your docker container. Doing this would most probably override all your env variables from your docker container and the server would only use the variables used on the generated WorldOption save file. |
Thanks that fixed it |
I still can't change the limit with |
Yes, the fix was more for when Pocketpair fix this issue and the server starts reading |
Describe the bug
I have
BASE_CAMP_WORKER_MAXNUM=20
set in my .env file however the PalWorldSettings.ini has it set to 15 and won't change when I change the env file.Additionally if you change the PalWorldSettings.ini to set the base camp workers setting to 15 it will be reset the next time the container starts even if the env var has it set to 20. This file is in the persistent storage volume.
To Reproduce
BASE_CAMP_WORKER_MAXNUM=20
in your .env fileManual change of the file
BASE_CAMP_WORKER_MAXNUM=20
Expected behavior
Setting the value in the env file will set the value in game and also in the ini file
Actual behavior
Changes to env don't seem to do anything and changing the ini file manually rolls it back on next restart
docker-compose.yml contents
Additional context
Extract from .env file
The text was updated successfully, but these errors were encountered: