lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.89k stars 269 forks source link

World difficulty and resource quantity settings #636

Open sunxiaoyi111 opened 1 year ago

sunxiaoyi111 commented 1 year ago

there Added modifiers for world difficulty and resources in the latest version of the experience server. Would be sweet if there was a setting environment variable function to set this config.

this settings was saved in Mywordtest.fwl e.g: Mywordtest HA5vzw8RED^徜j民H   playerdamage 85enemydamage 150enemyspeedsize 110deathkeepequipskillreductionrate 15resourcerate 300 eventrate 60Npreset combat_hard:deathpenalty_casual:resources_most:raids_more:raids_default

agxs commented 11 months ago

Does the dedicated server even support setting these yet via parameters?

UmutAlihan commented 10 months ago

yes I am looking forward to somehow apply the new "world modifier" feature on the worlds generated by dedicated-servers

wrender commented 10 months ago

What I did was just generate the world with the "hard" settings on desktop/steam install. Then copy the map over to the dedicated server. I think this works, but I wasn't sure how to confirm the settings are imbedded in the world file.

agxs commented 10 months ago

I did the same and can confirm doing this works.

sunxiaoyi111 commented 10 months ago

Does the dedicated server even support setting these yet via parameters?

Not yet in the current Docker version。 As mentioned by above, currently the world map can only be modified manually by modifying configuration items now。

We really need a convenient configuration method, such as environment variables, to configure map settings

N520 commented 9 months ago

As of the latest patch, it is possible to configure the server using startup arguments. So something like this

docker run -d \
    ...
    -e SERVER_ARGS="-crossplay -preset casual" \
    lloesche/valheim-server

is now possible.

I attached the updated dedicated server manual for the other, new arguments Valheim Dedicated Server Manual.pdf

UmutAlihan commented 9 months ago

that was exactly what I was waiting, such a great vibrant community around this repo, thank you very much!

blaklabz commented 7 months ago

this link is exactly what i was hunting for as well!