Skip to content

Commit 562e9fc

Browse files
committed
2 parents f704393 + 9b3ac7d commit 562e9fc

3 files changed

Lines changed: 55 additions & 11 deletions

File tree

humanitz.kvp

Lines changed: 10 additions & 10 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=3
24+
Meta.ConfigVersion=4
2525
Meta.ReleaseNotes=
2626
Meta.BreakingReleaseNotes=
2727
Meta.ImportableExtensions=[]
@@ -42,9 +42,9 @@ App.AppSettings={}
4242
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"1766060"}
4343
App.CommandLineParameterFormat=-{0}={1}
4444
App.CommandLineParameterDelimiter=
45-
App.ExitMethod=OS_CLOSE
46-
App.ExitTimeout=30
47-
App.ExitString=stop
45+
App.ExitMethod=String
46+
App.ExitTimeout=15
47+
App.ExitString=shutdown
4848
App.ExitFile=app_exit.lck
4949
App.HasWriteableConsole=True
5050
App.HasReadableConsole=True
@@ -55,15 +55,15 @@ App.ForceIPBinding=False
5555
App.SupportsIPv6=False
5656
App.ApplicationIPBinding=0.0.0.0
5757
App.Ports=@IncludeJson[humanitzports.json]
58-
App.AdminPortRef=0
58+
App.AdminPortRef=RCONPort
5959
App.PrimaryApplicationPortRef=GamePort
6060
App.UniversalSleepApplicationUDPPortRef=GamePort
6161
App.UniversalSleepSteamQueryPortRef=QueryPort
6262
App.MaxUsers=16
63-
App.UseRandomAdminPassword=False
64-
App.PersistRandomPassword=False
63+
App.UseRandomAdminPassword=True
64+
App.PersistRandomPassword=True
6565
App.RemoteAdminPassword=
66-
App.AdminMethod=STDIO
66+
App.AdminMethod=SourceRCON
6767
App.IgnoreSTDOUTAfterRCON=False
6868
App.AdminLoginTransform=None
6969
App.LoginTransformPrefix=
@@ -89,8 +89,8 @@ Console.FilterMatchRegex=
8989
Console.FilterMatchReplacement=
9090
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
9191
Console.AppReadyRegex=^\[[\d\.]+-[\d\.:]+\]\[[\d ]+\]LogInit: Display: Engine is initialized\. Leaving FEngineLoop::Init\(\)$
92-
Console.UserJoinRegex=^$
93-
Console.UserLeaveRegex=^$
92+
Console.UserJoinRegex=^\[[\d\.]+-[\d\.:]+\]\[[\d ]+\]LogKaiHelper: Player Connected (?<username>.+?) NetID\((?<userid>.+?)\)$
93+
Console.UserLeaveRegex=^\[[\d\.]+-[\d\.:]+\]\[[\d ]+\]LogKaiHelper: Player Disconnected (?<username>.+?) NetID\((?<userid>.+?)\)$
9494
Console.UserChatRegex=^$
9595
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
9696
Console.MetricsRegex=

humanitzconfig.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,41 @@
11
[
2+
{
3+
"DisplayName": "Enable RCON",
4+
"Category": "HumanitZ:stadia_controller",
5+
"Subcategory": "Server:dns:1",
6+
"Description": "",
7+
"Keywords": "",
8+
"FieldName": "RCONEnabled",
9+
"InputType": "text",
10+
"Hidden": true,
11+
"ParamFieldName": "Host Settings.RCONEnabled",
12+
"DefaultValue": "true",
13+
"EnumValues": {}
14+
},
15+
{
16+
"DisplayName": "RCON Port",
17+
"Category": "HumanitZ:stadia_controller",
18+
"Subcategory": "Server:dns:1",
19+
"Description": "",
20+
"Keywords": "",
21+
"FieldName": "$RCONPort",
22+
"InputType": "number",
23+
"Hidden": true,
24+
"ParamFieldName": "Host Settings.RConPort",
25+
"EnumValues": {}
26+
},
27+
{
28+
"DisplayName": "RCON Password",
29+
"Category": "HumanitZ:stadia_controller",
30+
"Subcategory": "Server:dns:1",
31+
"Description": "",
32+
"Keywords": "",
33+
"FieldName": "$RemoteAdminPassword",
34+
"InputType": "text",
35+
"Hidden": true,
36+
"ParamFieldName": "Host Settings.RCONPass",
37+
"EnumValues": {}
38+
},
239
{
340
"DisplayName": "Server Name",
441
"Category": "HumanitZ:stadia_controller",

humanitzports.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,17 @@
77
"Description": "Port for game traffic"
88
},
99
{
10-
"Protocol": "Both",
10+
"Protocol": "UDP",
1111
"Port": 27015,
1212
"Ref": "QueryPort",
1313
"Name": "Query Port",
1414
"Description": "Port for query traffic"
15+
},
16+
{
17+
"Protocol": "TCP",
18+
"Port": 8888,
19+
"Ref": "RCONPort",
20+
"Name": "RCON Port",
21+
"Description": "Port for RCON traffic"
1522
}
1623
]

0 commit comments

Comments
 (0)