1010101110-Steamserverfix icon

Steamserverfix

This mod is a small to fix to server registration. it fixes info in steam server browser window. Server only.

Last updated 3 years ago
Total downloads 709
Total rating 1 
Categories
Dependency string 1010101110-Steamserverfix-0.0.1
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.602 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.602

README

steamserverinfo

this mod is a small to fix to server registration so game shows up correctly in the steam server browser window. Server only mod.

Valheim developers didn't set these values correctly so this is really just a bugfix.

steam server browser window example

see steam documentation here: https://partner.steamgames.com/doc/api/ISteamGameServer

code

//get actual player limit from server player limit check
SteamGameServer.SetMaxPlayerCount(ZNet.instance.m_serverPlayerLimit);
//hardcode this to actually have the game name instead of blank
SteamGameServer.SetGameDescription("Valheim");