Path of Titans: fix serverpassword and servername settings (#376)
This commit is contained in:
parent
0c9005a209
commit
78967f269e
@ -22,7 +22,7 @@ App.ExecutableLinux=PathOfTitans/Binaries/Linux/PathOfTitansServer-Linux-Shippin
|
|||||||
App.WorkingDir=
|
App.WorkingDir=
|
||||||
App.LinuxCommandLineArgs=
|
App.LinuxCommandLineArgs=
|
||||||
App.WindowsCommandLineArgs=
|
App.WindowsCommandLineArgs=
|
||||||
App.CommandLineArgs=PathOfTitans {{ServerMap}}?ServerName="{{ServerName}}" {{$PlatformArgs}} -log -Port={{$GamePort}} -QueryPort={{$QueryPort}} -RconPort={{$RCONPort}} -ServerPassword="{{ServerPassword}}" -RconPassword="{{$RemoteAdminPassword}}" -MultiHome={{$ApplicationIPBinding}} {{$FormattedArgs}}
|
App.CommandLineArgs=PathOfTitans {{ServerMap}}?ServerName="{{ServerName}}" {{$PlatformArgs}} -log -Port={{$GamePort}} -QueryPort={{$QueryPort}} -RconPort={{$RCONPort}} -RconPassword="{{$RemoteAdminPassword}}" -MultiHome={{$ApplicationIPBinding}} {{$FormattedArgs}}
|
||||||
App.AppSettings={}
|
App.AppSettings={}
|
||||||
App.EnvironmentVariables={}
|
App.EnvironmentVariables={}
|
||||||
App.CommandLineParameterFormat=-{0}={1}
|
App.CommandLineParameterFormat=-{0}={1}
|
||||||
|
@ -68,14 +68,14 @@
|
|||||||
{
|
{
|
||||||
"DisplayName":"Server Name",
|
"DisplayName":"Server Name",
|
||||||
"Category":"POT Server Settings",
|
"Category":"POT Server Settings",
|
||||||
"Description":"Sets the public name of the server",
|
"Description":"Sets the public name of the server. To include spaces in the name displayed in the server list, you MUST use underscores to represent those spaces",
|
||||||
"Keywords":"name,servername",
|
"Keywords":"name,servername",
|
||||||
"FieldName":"ServerName",
|
"FieldName":"ServerName",
|
||||||
"InputType":"text",
|
"InputType":"text",
|
||||||
"IsFlagArgument":false,
|
"IsFlagArgument":false,
|
||||||
"ParamFieldName":"ServerName",
|
"ParamFieldName":"ServerName",
|
||||||
"IncludeInCommandLine":false,
|
"IncludeInCommandLine":false,
|
||||||
"DefaultValue":"AMP Powered POT Server",
|
"DefaultValue":"AMP_Powered_POT_Server",
|
||||||
"EnumValues":{}
|
"EnumValues":{}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -100,6 +100,21 @@
|
|||||||
"InputType":"password",
|
"InputType":"password",
|
||||||
"IsFlagArgument":false,
|
"IsFlagArgument":false,
|
||||||
"ParamFieldName":"ServerPassword",
|
"ParamFieldName":"ServerPassword",
|
||||||
|
"IncludeInCommandLine":true,
|
||||||
|
"SkipIfEmpty":true,
|
||||||
|
"DefaultValue":"",
|
||||||
|
"EnumValues":{}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"DisplayName":"Server Password",
|
||||||
|
"Category":"POT Server Settings",
|
||||||
|
"Description":"",
|
||||||
|
"Keywords":"",
|
||||||
|
"FieldName":"ServerPassword",
|
||||||
|
"InputType":"password",
|
||||||
|
"Hidden":true,
|
||||||
|
"IsFlagArgument":false,
|
||||||
|
"ParamFieldName":"/Script/PathOfTitans.IGameSession.ServerPassword",
|
||||||
"IncludeInCommandLine":false,
|
"IncludeInCommandLine":false,
|
||||||
"DefaultValue":"",
|
"DefaultValue":"",
|
||||||
"EnumValues":{}
|
"EnumValues":{}
|
||||||
|
@ -1,4 +1,16 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"ConfigFile":"PathOfTitans/Saved/Config/WindowsServer/Game.ini",
|
||||||
|
"AutoMap":true,
|
||||||
|
"ConfigType":"ini",
|
||||||
|
"ConfigFormatRegex":"^(?<key>.+?)=(?<value>.*?)$"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ConfigFile":"PathOfTitans/Saved/Config/LinuxServer/Game.ini",
|
||||||
|
"AutoMap":true,
|
||||||
|
"ConfigType":"ini",
|
||||||
|
"ConfigFormatRegex":"^(?<key>.+?)=(?<value>.*?)$"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ConfigFile":"PathOfTitans/Saved/MOTD.txt",
|
"ConfigFile":"PathOfTitans/Saved/MOTD.txt",
|
||||||
"ConfigType":"kvp",
|
"ConfigType":"kvp",
|
||||||
|
Loading…
Reference in New Issue
Block a user