palworld-server-docker icon indicating copy to clipboard operation
palworld-server-docker copied to clipboard

How to Modify PalworldServer Settings

Open rartangem opened this issue 1 year ago • 1 comments

Nice to meet you. I am writing this text in English using machine translation and my dictionary so there may be imperfections. I successfully completed the standard Palworld server by cloning your excellent Docker setup example, making a little the necessary modifications, and running docker compose up -d --build (the only change I made was to the server name).

However, I want to build a server with a lot of custom elements, so I needed to customize the settings. Initially, I edited palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini, configured each element, saved the file, and then restarted the Docker container. However, when I played the game, it seemed that the settings I made were not applied. When I checked the PalWorldSettings.ini file using the cat command, I found that it had reverted to its default settings.

I tried various approaches, such as searching on Google and entering the Docker container using docker exec -it palworld-server /bin/bash to create the files/PalWorldSettings.ini, but ultimately, I couldn't get it to work. How can I host a Palworld server on Docker while keeping the PalWorldSettings.ini settings intact?

rartangem avatar Aug 10 '24 22:08 rartangem

Hi! You can specify server settings (among other things) using environment variables described in README.md Editing Server Settings section. I'd recommend you to read through whole README.md for all the capabilities.

gynter avatar Aug 11 '24 15:08 gynter