Skip to content

Commit 45569be

Browse files
committed
Hytale: add updater command trigger, server info
1 parent 60d8361 commit 45569be

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

hytale.kvp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Meta.Prerequisites=[]
2121
Meta.ExtraContainerPackages=[]
2222
Meta.ConfigReleaseState=NotSpecified
2323
Meta.NoCommercialUsage=False
24-
Meta.ConfigVersion=14
24+
Meta.ConfigVersion=15
2525
Meta.ReleaseNotes=
2626
Meta.BreakingReleaseNotes=
2727
Meta.AppConfigId=36d2e805-a54d-4a40-acc9-c101c720ae05
@@ -80,7 +80,7 @@ App.TelnetNewLineType=Default
8080
App.TailLogFilePath=server.log
8181
App.UpdateSources=@IncludeJson[hytaleupdates.json]
8282
App.PreStartStages=@IncludeJson[hytalestart.json]
83-
App.CommandTriggers={"^Token Source: Not authenticated$":"/auth login device","^\\[.+?\\]\\s+\\[HytaleServer]\\s+No server tokens configured. Use \\/auth login to authenticate.$":"/auth login device","^To persist credentials, run: \\/auth persistence <type>$":"/auth persistence Encrypted"}
83+
App.CommandTriggers={"^Token Source: Not authenticated$":"/auth login device","^\\[.+?\\]\\s+\\[HytaleServer]\\s+No server tokens configured. Use \\/auth login to authenticate.$":"/auth login device","^To persist credentials, run: \\/auth persistence <type>$":"/auth persistence Encrypted","^\\[[\\d\\/]+ [\\d:]+\\s+INFO\\]\\s+\\[HytaleServer\\]\\s+Hytale Server Booted! \\[Multiplayer(?:, Fresh Universe)?\\] took .*$":"/update patchline {{ServerBuildChannel}}"}
8484
App.UserActions=[]
8585
App.ForceUpdate=False
8686
App.ForceUpdateReason=
@@ -107,7 +107,7 @@ Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is
107107
Console.PreConnectRegex=
108108
Console.ConnectIPRegex=
109109
Console.MetricsRegex=
110-
Console.ServerInfoRegex=
110+
Console.ServerInfoRegex=^\[[\d\/]+ [\d:]+\s+INFO\]\s+\[UpdateModule\]\s+Update available: (?<Update_Available>.+?) \(current: .+?\)$
111111
Console.ServerAuthURLPromptRegex=^(\[.+?\]\s+\[AbstractCommand]\s+Or visit: )?(?<url>https:\/\/oauth\.accounts\.hytale\.com\/oauth2\/device\/verify\?user_code=.+)$
112112
Console.ServerAuthAckRegex=^downloading latest \(\".+?\" patchline\) to \"(.+?.zip)"|\[.+?\]\s+\[ServerAuthManager] Authentication successful! Mode: OAUTH_DEVICE$
113113
Console.ConsoleFormatRegex=^\[[\d\/\: ]+(?<type>.+?)\]\s+\[(?<source>.+?)\] (?<contents>.+)$

0 commit comments

Comments
 (0)