You are viewing a potentially older version of this package. View all versions.
1010101110-Steamserverfix-0.0.1 icon

Steamserverfix

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

Date uploaded 3 years ago
Version 0.0.1
Download link 1010101110-Steamserverfix-0.0.1.zip
Downloads 586
Dependency string 1010101110-Steamserverfix-0.0.1

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");