KadettNPSCompat
ServerManager-compatible NPS fork: keeps network improvements while ServerManager owns player limits and admission.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
- Remove the official
MidnightMods-NetworkPerformanceSystempackage from the server and every player profile. Do not run both packages together. - Install
KadettNPSCompatwith Gale on the server profile and every player profile. - Keep the player limit in
ServerManager.yml. The NPS Player Limit configuration is deliberately ignored by this package. - Start the server and confirm its log has no ServerManager
Fatalerror.
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.
