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.91k stars 269 forks source link

Issue after deleting ValheimPlus.dll #582

Open Cevap05 opened 1 year ago

Cevap05 commented 1 year ago

Had deleted the ValheimPlus.dll file from my plugins folder accidently. I believe it is generated from the valehim.env if I am asking to have ValheimPlus. I had simply went on their VPlus's GitHub to get their ValheimPlus.dll file. I placed it back. The server will run, I'm using Docker Compose. Problem is when I join I get this...

valheim-server | Feb 11 00:19:03 supervisord: valheim-server 02/11/2023 00:19:03: VERSION check their:0.213.4@0.9.9.11 mine:0.213.4 valheim-server | Feb 11 00:19:03 supervisord: valheim-server 02/11/2023 00:19:03: Peer (IERASEDTHEID) has incompatible version, mine:0.213.4 remote 0.213.4@0.9.9.11

I believe the 0.9.9.11 is the problem. I attempted to set the version in the valheim.env by either:

VALHEIM_PLUS_RELEASE=latest Or.... VALHEIM_PLUS_RELEASE=tags/0.9.9.11

Neither seemed to work. I believe I need to match the versions. Can't get the versions to match so I can join. Any ideas?

lloesche commented 1 year ago

This is related to a V+ setting

[Server]
enabled=true
enforceMod=false

If enforcemod is false then V+ removes its own version from the version string to allow normal unmodded clients to connect to the server. However as a side effect, if the clients don't use the same config, then a modded client which has the V+ version as part of its version string, can no longer connect.

In summary when a Valheim client connects to the server its version string needs to match that of the server.