Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
6.1K
Size
257KB
ADDatHost Valheim hosting
30% off

SkadiNet

SkadiNet

Network optimizations for Valheim multiplayer.

Features

  • World updates: Spreads send work across players, with queue limits and a send-time budget.
  • Network traffic: Reduces tiny movement updates and redundant updates from idle creatures, with negotiated packet compression.
  • Processing overhead: Reduces allocations while reading, writing and comparing world data, RPC call costs and repeated world-update lookups.
  • Save reliability: Marks accepted persistent world-object updates for the server's next save.
  • Steam transport: Increases send-rate and buffer headroom for busy servers and initial synchronization.
  • Object ownership: Adjusts ownership based on player proximity and connection quality, and recovers objects left without an owner.
  • Client stutter: Defers forced resource cleanup during loading, teleporting, combat and ship travel.
  • Dungeon filtering: Optionally separates surface and dungeon objects to reduce unnecessary sending and loading.

Settings

Start with the defaults. Sliders range from 0 to 100; 0 turns off that feature. Higher values increase its intensity, with the trade-offs described below.

General

Option Default What it does
Enabled true Master switch for SkadiNet's optimizations.
SchedulerThroughput 35 Adjusts update frequency, players served per batch, queue limits and the send-time budget together. Higher values allow more send work and queued data; lower values reduce the work per batch but may delay updates.
PayloadReducerStrength 30 Filters small repeated position and rotation changes. Higher values save more traffic, but small movements may look less smooth.
CompressionAggression 50 Compresses packets when both ends support it. Higher values also consider smaller packets and smaller savings, which can increase CPU work.
OwnershipIntensity 45 Chooses which player simulates world objects using distance and connection quality. Higher values check more often and over a wider area, using more CPU.
ClientStutterGuardStrength 50 Delays forced memory cleanup during loading, teleporting, combat and ship travel. Higher values defer cleanup longer and retain unused memory longer. Client-local.
DungeonLayerFiltering false Separates surface and dungeon objects to reduce unnecessary sending and loading. Leave off unless your server benefits from dungeon separation.
DungeonLayerAlwaysSendPrefabs Empty Comma-separated prefab names for custom dungeon entrance floors or essential pieces. Leave empty unless the dungeon filter causes entrance-loading problems; use prefab names, not dungeon names.

General settings follow the server's values, except ClientStutterGuardStrength, which each player controls locally. The scheduler's time budget is 4 ms per batch at 35 and 8 ms at 100; one complete send can exceed it.

Built-in package, RPC, serialization, value-comparison and idle-creature optimizations, along with the received-update save fix, have no individual options. They follow Enabled and remain active when a feature slider is set to 0.

Experimental

These options are local to the server or host, default to OFF, and require SchedulerThroughput above 0. Clients do not need to enable them.

Option Default What it does
SchedulerDiagnostics false Logs player send waits, queued data, processing costs and reasons for delayed updates every 60 seconds. Useful for investigating a busy server; it does not enable automatic adjustment.
AdaptiveSendWindow false Uses available Steam connection measurements to reduce or restore each player's queue limit within the slider's cap. Falls back to the fixed limit when measurements are unavailable; does not change the time budget.

GitHub

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.