CW_Jesse-BetterNetworking_Valheim icon

BetterNetworking Valheim

If you've been experiencing lag or desync when playing with your friends, this is the solution!

Last updated a month ago
Total downloads 1851
Total rating 2 
Categories Mods Tweaks Misc Tools Server-side Client-side Utility
Dependency string CW_Jesse-BetterNetworking_Valheim-1.2.2
Dependants 12 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1600 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1600
TJzilla-BepInEx_ConfigurationManager-16.1.2 icon
TJzilla-BepInEx_ConfigurationManager

Mod to assist with configuration of BepInEx mods

Preferred version: 16.1.2

README

This mod greatly improves multiplayer performance. If you find this mod works as advertised, please endorse it!

For most people, the default settings should be fine.

Changing settings using the Configuration Manager (F1)

  1. If others experience lag/desync for things around you, increase your queue size.
  2. If your character is lagging for others, decrease your update rate and/or queue size.
  3. If your internet is slower, it might help to reduce the send rates until they're below your upload speed.

Things to keep in mind

  • Compression only works between computers with Better Networking.
  • Incompatible with other networking mods, including VNO and NetworkFix.
  • Compression increases your CPU usage. This can become the new bottleneck in some cases. With this mod, Valheim can max out two cores, so with 4 cores, 50% CPU usage by Valheim is maxing it out.
  • Dedicated servers will not apply changes until restarted.

Finished features

  • optionally compress network data (improves performance for everyone; requires others to have mod)
  • sending queued packages all at once instead of one at a time (improves performance for everyone, especially if you have high ping; requires others to have mod)
  • option to reduce network update speed (for computers with slow/inconsistent upload speeds)
  • change min/max send rates (higher can be better with good internet)
  • change network queue size (Valheim better prioritizes data when queue size is lower, but sends less data overall)
  • increased networking buffer size (might help)

Planned features

  • optionally require players to have certain mods to join server
  • optionally notify players if they have an older version of a mod than others
  • allow admins to change dedicated server settings within their client without having to restart server
  • option to allow players to choose who the server is
  • better data prioritization
  • improved networking regarding terrain
  • make everything automatic (fewer options)

Better Networking links

Educational links

Other networking mods

If you've benefited from this mod and want to see more features implemented, please endorse it! Or if you're feeling particularly generous, donate here or on Patreon!

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-10-28 1.2.2 1330 Version 1.2.2 Install
2021-10-26 1.2.1 138 Version 1.2.1 Install
2021-10-24 1.2.0 115 Version 1.2.0 Install
2021-10-21 1.1.301 255 Version 1.1.301 Install
2021-10-21 1.1.3 13 Version 1.1.3 Install