Beautiful Ham Sandwich replied to How do mods work in multiplayer? June 22, 2021 @ 5:18:12 pm PDT
Thanks, this is actually very helpful, seeing the first two answers completely contradict each other confused me a bit.yes it will create problems all players have to be set up the same, same mods and same date with updates. you cant game with modded and unmodded players ive tried
This isn't true. As a server owner I can tell you 100% this is false.My question is, how is this going to work if I have these mods installed while my friend doesn't? I assume the planting one will be fine, but what about the other one? Is it still going to work when he doesn't have the mods, or is this going to create some problems?
The way servers work in Valheim is the server hands off calculations to a localized host. So lets say you have skyheim installed and your friend doesn't. As a localized host, your client does all the calculations for everyone around you in a specific zone on the server. Lets say you shoot a fireball at the person without mods. He will still take damage as the damage calculation was done on your client. He won't see the effect though as he has no files to reference the effect.
If the localized host doesn't have the mods installed, there is risk of a crash when another person uses a mod around them. This is as the client can't understand what the person with a mod is trying to do.
This hand off process is inherently really bad for security, network optimization, and mod enforcement. Some mods like Valheim Plus will enforce their mod on the users who connect, but other mods do not. Your best bet is to ensure client and server side mods match for all players.
Thankfully, the only mod I now plan on using is Plant Everything for the single oak tree I mentioned, and it seems like even if the other person doesn't have it it's not like they can't already see oaks. I'll still see if they can install it themselves just in case I'm totally wrong about this not creating an issue.
2:13 am, June 23, 2021