ChangosOF-ValheimOptimizer icon

ValheimOptimizer

Performance optimizer for Valheim: adaptive GC sweeps, dynamic LOD & texture adjustments, zone prefetch, prefab pooling, gradual mob despawn, JIT warm‑up, multiplayer‑safe behavior.

Last updated 2 weeks ago
Total downloads 1723
Total rating 2 
Categories Tweaks Tools Client-side World Generation
Dependency string ChangosOF-ValheimOptimizer-2.1.0
Dependants 10 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.26.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.26.0

README

Valheim Optimizer

Version: 2.1.0
Author: ChangosOF

A comprehensive performance optimizer for Valheim, featuring:

  • Adaptive GC Sweeps
    Runs GC.Collect() & UnloadUnusedAssets() when frame time is under your MaxFrameTime.
  • Dynamic LOD & Texture Quality
    Automatically adjusts QualitySettings.lodBias and masterTextureLimit based on frame time.
  • Zone Prefetching
    Predictively loads world zones ahead of fast‑moving players to smooth travel.
  • Prefab Pooling & Impostors
    Pools heavy prefabs (fires, trolls, benches, explosive arrows) and adds LODGroup impostors.
  • Gradual Mob Despawn
    Server‑only, drip‑despawns up to 2 distant mobs per tick to reduce CPU & network load.
  • JIT Warm‑Up
    Prepares hot methods on startup to avoid hitches.
  • Multiplayer Safe
    All despawn logic runs only on the server to prevent client desyncs.
  • More stability making mobs despawn 2 mobs/tick for less stutter

Installation

  1. Download ValheimOptimizer-2.1.0.zip.
  2. Extract into your Valheim/BepInEx/plugins/ folder.
  3. Ensure you have installed:
    • denikson-BepInExPack_Valheim-5.4.2202
    • ValheimModding-Jotunn-2.26.0
  4. Launch Valheim.

Configuration

On first run a config file is generated at: