From 519aab68bcc1b668a7ca166315d725c8c9a663dc Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Wed, 9 Aug 2023 22:29:51 +1000 Subject: [PATCH] Update ports (#441) --- valheim.kvp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/valheim.kvp b/valheim.kvp index 441b634..b98e77a 100644 --- a/valheim.kvp +++ b/valheim.kvp @@ -4,7 +4,7 @@ Meta.OS=Windows, Linux Meta.Author=CubeCoders Limited Meta.URL=https://www.valheimgame.com/ Meta.DisplayImageSource=steam:892970 -Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} +Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$ApplicationPort2} Meta.ConfigManifest=valheimconfig.json Meta.MetaConfigManifest=valheimmetaconfig.json Meta.ConfigRoot=valheim.kvp @@ -22,10 +22,11 @@ App.ExitMethod=OS_CLOSE App.HasWriteableConsole=False App.HasReadableConsole=True App.ApplicationIPBinding=0.0.0.0 -App.ApplicationPort1=2456 -App.ApplicationPort2=2457 -App.ApplicationPort3=0 -App.RemoteAdminPort=0 +App.Ports=[{"Protocol":"UDP","Port":2456,"Ref":"ApplicationPort1","Name":"Game Port","Description":"Port for game traffic"},{"Protocol":"UDP","Port":2457,"Ref":"ApplicationPort2","Name":"Steam Query Port","Description":"Port for Steam query traffic"}] +App.AdminPortRef=0 +App.PrimaryApplicationPortRef=ApplicationPort1 +App.UniversalSleepApplicationUDPPortRef=ApplicationPort1 +App.UniversalSleepSteamQueryPortRef=ApplicationPort2 App.UseRandomAdminPassword=False App.RemoteAdminPassword=Password123 App.AdminMethod=STDIO @@ -35,8 +36,6 @@ App.SteamUpdateAnonymousLogin=True App.SteamForceWindowsVersion=False App.ApplicationReadyMode=RegexMatch App.SupportsUniversalSleep=True -App.UniversalSleepApplicationUDPPort=1 -App.UniversalSleepSteamQueryPort=2 App.WakeupMode=Any Console.FilterMatchRegex=^\d\d\/\d\d\/\d{4} \d\d:\d\d:\d\d: Console.FilterMatchReplacement=