Update Risk of Rain 2
Updated Risk of Rain 2 to use the MaxUsers properly.
This commit is contained in:
parent
9b51cb0b5a
commit
1a1db4cce7
@ -22,6 +22,7 @@ App.RootDir=./risk-of-rain-2/
|
|||||||
App.UpdateSource=Multi
|
App.UpdateSource=Multi
|
||||||
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "1180760", "ForceDownloadPlatform": "Windows"},{"UpdateStageName": "SDK Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "1007", "UpdateSourceTarget": "1180760", "ForceDownloadPlatform": "Windows"}]
|
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "1180760", "ForceDownloadPlatform": "Windows"},{"UpdateStageName": "SDK Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "1007", "UpdateSourceTarget": "1180760", "ForceDownloadPlatform": "Windows"}]
|
||||||
App.WorkingDir=1180760
|
App.WorkingDir=1180760
|
||||||
|
App.MaxUsers=4
|
||||||
Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+)|((Filename:.*))$
|
Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+)|((Filename:.*))$
|
||||||
Console.AppReadyRegex=^.*Press Enter to chat.$
|
Console.AppReadyRegex=^.*Press Enter to chat.$
|
||||||
Console.UserJoinRegex=^.*GameNetworkManager.AddPlayerInternal.*$
|
Console.UserJoinRegex=^.*GameNetworkManager.AddPlayerInternal.*$
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"Category": "Server Settings",
|
"Category": "Server Settings",
|
||||||
"Description": "The maximum number of players",
|
"Description": "The maximum number of players",
|
||||||
"Keywords": "max players",
|
"Keywords": "max players",
|
||||||
"FieldName": "sv_maxplayers",
|
"FieldName": "$MaxUsers",
|
||||||
"InputType": "number",
|
"InputType": "number",
|
||||||
"IsFlagArgument": false,
|
"IsFlagArgument": false,
|
||||||
"ParamFieldName": "sv_maxplayers",
|
"ParamFieldName": "sv_maxplayers",
|
||||||
@ -54,4 +54,4 @@
|
|||||||
"False": "0"
|
"False": "0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -1,19 +1,19 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"ConfigFile": "Risk of Rain 2_Data/Config/server.cfg",
|
"ConfigFile": "Risk of Rain 2_Data/Config/server.cfg",
|
||||||
"ConfigType": "kvp",
|
"ConfigType": "kvp",
|
||||||
"ConfigFormat": "{0} \"{1}\";",
|
"ConfigFormat": "{0} \"{1}\";",
|
||||||
"Subsections": [
|
"Subsections": [
|
||||||
{
|
{
|
||||||
"Heading": "$root",
|
"Heading": "$root",
|
||||||
"SettingMappings": {
|
"SettingMappings": {
|
||||||
"sv_maxplayers": "sv_maxplayers",
|
"sv_maxplayers": "$MaxUsers",
|
||||||
"steam_server_heartbeat_enabled": "steam_server_heartbeat_enabled",
|
"steam_server_heartbeat_enabled": "steam_server_heartbeat_enabled",
|
||||||
"sv_hostname": "sv_hostname",
|
"sv_hostname": "sv_hostname",
|
||||||
"sv_port": "$ApplicationPort1",
|
"sv_port": "$ApplicationPort1",
|
||||||
"steam_server_query_port": "$ApplicationPort2",
|
"steam_server_query_port": "$ApplicationPort2",
|
||||||
"steam_server_steam_port": "$ApplicationPort3",
|
"steam_server_steam_port": "$ApplicationPort3",
|
||||||
"sv_password": "sv_password",
|
"sv_password": "sv_password",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user