palworld-server-docker
palworld-server-docker copied to clipboard
Generate Engine.ini based on ENV vars
Context
Fixes https://github.com/thijsvanloef/palworld-server-docker/issues/257 https://github.com/thijsvanloef/palworld-server-docker/issues/176 Enable users to generate the Engine.ini using evironment variabels
Choices
Using the same method as compile-settings.sh, compile the engine settings.
Test instructions
- Build the container
- set
DISABLE_GENERATE_ENGINEtofalse - check that
./palworld/Pal/Saved/Config/LinuxServer/engine.inihas been updated
Checklist before requesting a review
- [x] I have performed a self-review of my code
- [x] I've added documentation about this change to the docusaurus.
- [x] I've not introduced breaking changes.
Looks good to me. Tested it locally and it works without issues. It think it would be good to document in the docs how to enable it tho.
Also is there a specific reason why it is disabled by default?
Mostly because of backwards compatibility, I do not want to overwrite the changes someone has made already.
Documenting the need to enable is a good one, need to do that