Skip to content

Commit fc4bb28

Browse files
committed
Hytale: trigger immediate update check on start, tweak ServerInfo regex
1 parent 45569be commit fc4bb28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hytale.kvp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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","^\\[[\\d\\/]+ [\\d:]+\\s+INFO\\]\\s+\\[HytaleServer\\]\\s+Hytale Server Booted! \\[Multiplayer(?:, Fresh Universe)?\\] took .*$":"/update patchline {{ServerBuildChannel}}"}
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}}\n/update check"}
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=^\[[\d\/]+ [\d:]+\s+INFO\]\s+\[UpdateModule\]\s+Update available: (?<Update_Available>.+?) \(current: .+?\)$
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)