Closed thijsvanloef closed 9 months ago
thx !
I've had time to do some testing now, and I can confirm that after deleting the existing config file, it works!
Thanks!
Hey,
I think you mean palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
instead of palworld/Pal/Saved/Config/LinuxServer/PalworldWorldSettings.ini
, right?
I don't have a palworld/Pal/Saved/Config/LinuxServer/PalworldWorldSettings.ini
in that folder.
After deleting palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
, the server name, server password, and server description work fine. However, the setting BASE_CAMP_WORKER_MAXNUM: "20"
in the docker-compose.yml
under environment doesn't work on the server. Nevertheless, in palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
, the value BaseCampWorkerMaxNum=20
is correctly set.
Thanks for the fix, i confirm it's working fine with 0.19.1.
There's a better way to do this. Throw your default.env
variables into the docker compose file for the value changes needed.
default.env
into your docker-compose.yml
file under environment:
docker compose down --rmi all
rm palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
docker compose up -d
I've confirmed three times over this works. Editing the .ini does not.
services:
palworld:
image: thijsvanloef/palworld-server-docker:latest
restart: unless-stopped
container_name: palworld-server
stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
ports:
- 8211:8211/udp
- 27015:27015/udp # Required if you want your server to show up in the community servers tab
environment:
- PUID=1000
- PGID=1000
- PORT=8211 # Optional but recommended
- PLAYERS=16 # Optional but recommended
- SERVER_PASSWORD= # Optional but recommended
- MULTITHREADING=true
- RCON_ENABLED=true
- RCON_PORT=25575
- TZ=UTC
- DIFFICULTY=Normal # These are the three value changes I made.
- PAL_EGG_DEFAULT_HATCHING_TIME=5.000000 # and this one
- DEATH_PENALTY=Item # and this one.
- ADMIN_PASSWORD=
- COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
- SERVER_NAME=
- SERVER_DESCRIPTION=
volumes:
- ./palworld:/palworld/
Hi,
Due to a faulty PR the settings of some folks got messed up resulting in only the ./PalServer.sh parameters working to change settings.
This issue should be resolved in 0.19.1. However it does require that you do the following:
docker compose down --rmi all
palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
docker compose up -d
Thank you for your patience, a PR has been opened to hopefully fix all environment errors https://github.com/thijsvanloef/palworld-server-docker/pull/207.