Kadet_ttTeam-KadettNPSCompat icon

KadettNPSCompat

ServerManager-compatible NPS fork: keeps network improvements while ServerManager owns player limits and admission.

Last updated a day ago
Total downloads 23
Total rating 1 
Categories Tools Server-side Client-side AI Generated
Dependency string Kadet_ttTeam-KadettNPSCompat-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351
ValheimModding-Jotunn-2.30.2 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.30.2
sighsorry-ServerManager-1.1.7 icon
sighsorry-ServerManager

Manage your Valheim server with approved mods, server-side characters, backups, player logs and Discord chat. Monitor suspicious activity, anticheat, run admin commands, schedule tasks, and offer quick connect, a custom logo in one plugin.

Preferred version: 1.1.7

README

KadettNPSCompat

KadettNPSCompat is an unofficial, ServerManager-compatible modification of NetworkPerformanceSystem 1.14.0.

It is not affiliated with or endorsed by MidnightsFX or the MidnightMods Thunderstore team.

What changed

Only NPS's Player Limit mechanism is disabled. It normally rewrites ZNet.RPC_PeerInfo, the same admission check that ServerManager needs to manage server-side characters. Leaving that method untouched lets ServerManager safely control player admission and the configured player limit.

All other NPS networking mechanisms remain in the build, including send scheduling, connection-loss handling, ownership tuning, routed-RPC filtering, station request routing, and allocation reductions.

Installation

  1. Remove the official MidnightMods-NetworkPerformanceSystem package from the server and every player profile. Do not run both packages together.
  2. Install KadettNPSCompat with Gale on the server profile and every player profile.
  3. Keep the player limit in ServerManager.yml. The NPS Player Limit configuration is deliberately ignored by this package.
  4. Start the server and confirm its log has no ServerManager Fatal error.

Compatibility

Tested with Valheim 1.0.16 / network version 40, BepInEx 5.4.2351, Jotunn 2.30.2, ServerManager 1.1.7, and NPS upstream 1.14.0.

Source and license

This package is licensed under GPL-3.0. Its complete corresponding source is available at KadettTeam/KadettNPSCompat.

Upstream source: MidnightsFX/Valheim-Network-Performance-System.

Credits

Original NetworkPerformanceSystem created by MidnightsFX and published on Thunderstore by MidnightMods.

KadettNPSCompat changes disable NPS player-limit and lobby-capacity patches for ServerManager compatibility.