Skip to content

Commit 6e0cfb1

Browse files
committed
feat: Add Console Regex, Limits, UserActions, UpdateSources & missing .kvp sections
1 parent 611e5be commit 6e0cfb1

1 file changed

Lines changed: 14 additions & 22 deletions

File tree

hytale.kvp

Lines changed: 14 additions & 22 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=17
24+
Meta.ConfigVersion=18
2525
Meta.ReleaseNotes=
2626
Meta.BreakingReleaseNotes=
2727
Meta.AppConfigId=36d2e805-a54d-4a40-acc9-c101c720ae05
@@ -75,12 +75,8 @@ App.RCONConnectRetrySeconds=5
7575
App.RCONHeartbeatMinutes=0
7676
App.RCONHeartbeatCommand=ping
7777
App.RCONSelectIPMethod=Default
78-
App.TelnetLoginFormat={0}
79-
App.TelnetNewLineType=Default
80-
App.TailLogFilePath=server.log
8178
App.UpdateSources=@IncludeJson[hytaleupdates.json]
8279
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}}\n/update check"}
8480
App.UserActions=[]
8581
App.ForceUpdate=False
8682
App.ForceUpdateReason=
@@ -89,35 +85,31 @@ App.SteamUpdateAnonymousLogin=True
8985
App.SteamForceLoginPrompt=False
9086
App.RapidStartup=False
9187
App.SmartExcludeExemptions=["*.cfg","*.conf","*.config","*.ini","*.json","*.xml","*.properties","*.kvp","*.yml","*.yaml","*.toml","*.lua"]
92-
App.SmartExcludeSupported=False
88+
App.SmartExcludeSupported=True
9389
App.DumpFullChildProcessTree=False
9490
App.MonitorChildProcessName=
9591
App.MonitorDirectChildOnly=False
9692
App.SupportsUniversalSleep=False
9793
App.WakeupMode=Any
9894
App.ApplicationReadyMode=RegexMatch
99-
Console.FilterMatchRegex=Run '\/update download' to stage the update.*
100-
Console.FilterMatchReplacement=Stop the server and click the Update button on the Status page to update
95+
Console.FilterMatchRegex=\e\[(\d+;)*(\d+)?[ABCDHJKfmsu]|\e\[?[?\>\=\da-z]+\nConsole.FilterMatchReplacement=
10196
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
102-
Console.AppReadyRegex=^\[[\d\/]+ [\d:]+\s+INFO\]\s+\[HytaleServer\]\s+Hytale Server Booted! \[Multiplayer(?:, Fresh Universe)?\] took .*$
103-
Console.UserJoinRegex=^\[[\d\/]+ [\d:]+\s+INFO\]\s+\[HandshakeHandler\]\s+Mutual authentication complete for\s+(?<username>[^ ]+?)\s+\((?<userid>.+?)\)\s+from\s+.+?\s+\(\/(?<endpoint>(?:\d{1,3}(?:\.\d{1,3}){3})|(?:[0-9a-fA-F:]+)):\d+,\s*streamId=\d+\)\s*$
104-
Console.UserLeaveRegex=^\[[\d\/]+\s+[\d:]+\s+INFO\]\s+(?:\[Universe\|P\]\s+Removing player\s+'(?<username>[^ ]+?)'\s+\((?<userid>[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12})\)|\[Hytale\]\s+\{Setup\(null\s+\(null,\s*streamId=\d+\)\),\s*(?<username>[^ ]+?),\s*(?<userid>[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}),\s*SECURE\}\s+was closed\.)\s*$
105-
Console.UserChatRegex=^\[[\d\/]+\s+[\d:]+\s+INFO\]\s+\[Hytale\]\s+(?<username>[^ ]+?):\s+(?<message>.+?)$
106-
Console.UpdateAvailableRegex=^$
97+
Console.AppReadyRegex=^\[INFO\] Server started on [\d.:]+$
98+
Console.UserJoinRegex=^\[INFO\] (?<username>.+?) \(UUID: (?<userid>[^"]+)\) connected from [\d.:]+$
99+
Console.UserLeaveRegex=^\[INFO\] (?<username>.+?) \(UUID: (?<userid>[^"]+)\) disconnected$
100+
Console.UserChatRegex=^\[CHAT\] <(?<username>.+?)> (?<message>.+)$
101+
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
107102
Console.PreConnectRegex=
108103
Console.ConnectIPRegex=
109104
Console.MetricsRegex=
110-
Console.ServerInfoRegex=^(?:\[[\d\/]+ [\d:]+\s+INFO\]\s+\[UpdateModule\]\s+)?Update available: (?<Update_Available>.+?) \(current: .+?\)$
111-
Console.ServerAuthURLPromptRegex=^(\[.+?\]\s+\[AbstractCommand]\s+Or visit: )?(?<url>https:\/\/oauth\.accounts\.hytale\.com\/oauth2\/device\/verify\?user_code=.+)$
112-
Console.ServerAuthAckRegex=^downloading latest \(\".+?\" patchline\) to \"(.+?.zip)"|\[.+?\]\s+\[ServerAuthManager] Authentication successful! Mode: OAUTH_DEVICE$
113-
Console.ConsoleFormatRegex=^\[[\d\/\: ]+(?<type>.+?)\]\s+\[(?<source>.+?)\] (?<contents>.+)$
114-
Console.DownloadProgressRegex=^(\[=*\s*\] (?<percent>[\d.]+%) \((?<progressValue>[\d.]*) (?<progressUnits>[KMG]B) \/ (?<totalValue>[\d.]*) (?<totalUnits>[KMG]B)\)|#*\s*(?<percent>[\d.]+%))$
105+
Console.ServerInfoRegex=
115106
Console.HideFromConsoleRegex=
116107
Console.SuppressLogAtStart=False
117-
Console.UserActions={}
118-
Limits.SleepMode=False
108+
Console.ActivateLogRegex=
109+
Console.UserActions={"Kick": "kick {{username}}", "Ban": "ban {{username}}"}
110+
Limits.SleepMode=True
119111
Limits.SleepOnStart=False
120-
Limits.SleepDelayMinutes=5
112+
Limits.SleepDelayMinutes=10
121113
Limits.DozeDelay=2
122114
Limits.AutoRetryCount=2
123-
Limits.SleepStartThresholdSeconds=25
115+
Limits.SleepStartThresholdSeconds=30

0 commit comments

Comments
 (0)