Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various: add public IP selector setting #822

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 25 additions & 13 deletions arma-reforgerconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,6 @@
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Public IP Binding",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ExternalIP",
"InputType":"text",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"publicAddress",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Enable BattlEye",
"Category":"Server Settings",
Expand Down Expand Up @@ -158,6 +145,31 @@
"True":"true"
}
},
{
"DisplayName":"Public IP Selection Mode",
"Category":"Server Settings",
"Description":"Sets whether AMP should automatically select the public IP advertised for the server, or whether it should use the IP set under Server Public IP",
"Keywords":"public,ip,address,publicAddress",
"FieldName":"publicAddress",
"InputType":"enum",
"ParamFieldName":"publicAddress",
"DefaultValue":"{{$ExternalIP}}",
"EnumValues":{
"{{$ExternalIP}}":"Automatic (default)",
"{{ManualPublicIP}}":"Manual"
}
},
{
"DisplayName":"Server Public IP",
"Category":"Server Settings",
"Description":"Sets the public IP advertised for the server, if \"Manual\" is selected as the Public IP Selection Mode. Useful if the host network has multiple public IPs, or the server is behind a public proxy",
"Keywords":"manual,public,ip,publicAddress",
"FieldName":"ManualPublicIP",
"InputType":"text",
"ParamFieldName":"ManualPublicIP",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Enable Crossplay",
"Category":"Server Settings",
Expand Down
38 changes: 25 additions & 13 deletions astroneerconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
[
{
"DisplayName":"Public IP",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ExternalIP",
"InputType":"text",
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"/Script/Astro.AstroServerSettings.PublicIP",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Server Port",
"Category":"Server Settings",
Expand Down Expand Up @@ -195,5 +182,30 @@
"Placeholder":"3.000000",
"Suffix":"fps",
"EnumValues":{}
},
{
"DisplayName":"Public IP Selection Mode",
"Category":"Server Settings",
"Description":"Sets whether AMP should automatically select the public IP advertised for the server, or whether it should use the IP set under Server Public IP",
"Keywords":"public,ip,publicip",
"FieldName":"PublicIP",
"InputType":"enum",
"ParamFieldName":"/Script/Astro.AstroServerSettings.PublicIP",
"DefaultValue":"{{$ExternalIP}}",
"EnumValues":{
"{{$ExternalIP}}":"Automatic (default)",
"{{ManualPublicIP}}":"Manual"
}
},
{
"DisplayName":"Server Public IP",
"Category":"Server Settings",
"Description":"Sets the public IP advertised for the server, if \"Manual\" is selected as the Public IP Selection Mode. Useful if the host network has multiple public IPs, or the server is behind a public proxy",
"Keywords":"manual,public,ip,publicip",
"FieldName":"ManualPublicIP",
"InputType":"text",
"ParamFieldName":"ManualPublicIP",
"DefaultValue":"",
"EnumValues":{}
}
]
2 changes: 1 addition & 1 deletion frozen-flame.kvp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ App.ExecutableLinux=1348640/FrozenFlame/Binaries/Linux/FrozenFlameServer-Linux-S
App.WorkingDir=1348640
App.LinuxCommandLineArgs=FrozenFlame -stdout
App.WindowsCommandLineArgs=FrozenFlame -stdout -FullStdOutLogOutput
App.CommandLineArgs={{$PlatformArgs}} -Port={{$GamePort}} -QueryPort={{$QueryPort}} -RconPort={{$RCONPort}} -RconPassword={{$RemoteAdminPassword}} -ip={{$ExternalIP}} {{noeac}}{{PublicServer}}{{$FormattedArgs}} -LOCALLOGTIMES
App.CommandLineArgs={{$PlatformArgs}} -Port={{$GamePort}} -QueryPort={{$QueryPort}} -RconPort={{$RCONPort}} -RconPassword={{$RemoteAdminPassword}} -ip={{PublicIP}} {{noeac}}{{PublicServer}}{{$FormattedArgs}} -LOCALLOGTIMES
App.AppSettings={}
App.EnvironmentVariables={}
App.CommandLineParameterFormat=-{0}="{1}"
Expand Down
25 changes: 25 additions & 0 deletions frozen-flameconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,31 @@
"True":"-ini:Engine:[URL]:MetaServerUrl=meta.frozen-flame.xyz -ini:Engine:[URL]:MetaServerSecret=TEuj7URa2horRuENjjpm3d1rqBPtHOz4 "
}
},
{
"DisplayName":"Public IP Selection Mode",
"Category":"Frozen Flame Server Settings",
"Description":"Sets whether AMP should automatically select the public IP advertised for the server, or whether it should use the IP set under Server Public IP",
"Keywords":"public,ip,publicip",
"FieldName":"PublicIP",
"InputType":"enum",
"ParamFieldName":"PublicIP",
"DefaultValue":"{{$ExternalIP}}",
"EnumValues":{
"{{$ExternalIP}}":"Automatic (default)",
"{{ManualPublicIP}}":"Manual"
}
},
{
"DisplayName":"Server Public IP",
"Category":"Frozen Flame Server Settings",
"Description":"Sets the public IP advertised for the server, if \"Manual\" is selected as the Public IP Selection Mode. Useful if the host network has multiple public IPs, or the server is behind a public proxy",
"Keywords":"manual,public,ip,publicip",
"FieldName":"ManualPublicIP",
"InputType":"text",
"ParamFieldName":"ManualPublicIP",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Player Limit",
"Category":"Frozen Flame Server Settings",
Expand Down
38 changes: 25 additions & 13 deletions impostorconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
[
{
"DisplayName":"Public IP",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ExternalIP",
"InputType":"text",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"$.Server.PublicIp",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Public Port",
"Category":"Server Settings",
Expand Down Expand Up @@ -228,5 +215,30 @@
"False":"false",
"True":"true"
}
},
{
"DisplayName":"Public IP Selection Mode",
"Category":"Server Settings",
"Description":"Sets whether AMP should automatically select the public IP advertised for the server, or whether it should use the IP set under Server Public IP",
"Keywords":"public,ip,publicip",
"FieldName":"PublicIp",
"InputType":"enum",
"ParamFieldName":"$.Server.PublicIp",
"DefaultValue":"{{$ExternalIP}}",
"EnumValues":{
"{{$ExternalIP}}":"Automatic (default)",
"{{ManualPublicIP}}":"Manual"
}
},
{
"DisplayName":"Server Public IP",
"Category":"Server Settings",
"Description":"Sets the public IP advertised for the server, if \"Manual\" is selected as the Public IP Selection Mode. Useful if the host network has multiple public IPs, or the server is behind a public proxy",
"Keywords":"manual,public,ip,publicip",
"FieldName":"ManualPublicIP",
"InputType":"text",
"ParamFieldName":"ManualPublicIP",
"DefaultValue":"",
"EnumValues":{}
}
]
18 changes: 15 additions & 3 deletions myth-of-empiresconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,19 +247,31 @@
}
},
{
"DisplayName":"Out IP Address",
"DisplayName":"Out IP Address Selection Mode",
"Category":"MOE Basic Settings",
"Description":"Sets the 'OutAddress' IP parameter. Usually this should be set to 'Public IP'. However, for purely LAN servers, the 'Server IP Address' may need to be used - make sure this is set to an actual IP under Security and Privacy, and not 0.0.0.0",
"Description":"Sets how to specify the 'OutAddress' IP parameter. Usually this should be set to 'Automatic Public IP' or 'Manual Public IP' (set the Server Public IP accordingly). However, for purely LAN servers, the 'Server IP Address' may need to be used - make sure this is set to an actual IP under Security and Privacy, and not 0.0.0.0",
"Keywords":"out,ip,address,public,outaddress",
"FieldName":"OutAddress",
"InputType":"enum",
"ParamFieldName":"OutAddress",
"DefaultValue":"{{$ExternalIP}}",
"EnumValues":{
"{{$ExternalIP}}":"Public IP",
"{{$ExternalIP}}":"Automatic Public IP",
"{{ManualPublicIP}}":"Manual Public IP",
"{{$ApplicationIPBinding}}":"Server IP Address"
}
},
{
"DisplayName":"Server Public IP",
"Category":"MOE Basic Settings",
"Description":"Sets the public IP advertised for the server, if 'Manual Public IP' is selected as the Out IP Address Selection Mode. Useful if the host network has multiple public IPs, or the server is behind a public proxy",
"Keywords":"manual,public,ip,publicip",
"FieldName":"ManualPublicIP",
"InputType":"text",
"ParamFieldName":"ManualPublicIP",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Additional Command Line Arguments",
"Category":"MOE Basic Settings",
Expand Down
38 changes: 26 additions & 12 deletions openrct2config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@
"DefaultValue":"Server",
"EnumValues":{}
},
{
"DisplayName":"Advertise Address",
"Category":"OpenRCT2 Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ExternalIP",
"InputType":"text",
"Hidden":true,
"ParamFieldName":"network.advertise_address",
"EnumValues":{}
},
{
"DisplayName":"Host Mode",
"Category":"OpenRCT2 Server Settings",
Expand Down Expand Up @@ -300,6 +289,31 @@
"True":"true"
}
},
{
"DisplayName":"Advertise Address Selection Mode",
"Category":"OpenRCT2 Server Settings",
"Description":"Sets whether AMP should automatically select the public IP advertised for the server, or whether it should use the IP set under Server Public IP",
"Keywords":"public,ip,advertise,advertise_address",
"FieldName":"advertise_address",
"InputType":"enum",
"ParamFieldName":"network.advertise_address",
"DefaultValue":"{{$ExternalIP}}",
"EnumValues":{
"{{$ExternalIP}}":"Automatic (default)",
"{{ManualPublicIP}}":"Manual"
}
},
{
"DisplayName":"Server Public IP",
"Category":"OpenRCT2 Server Settings",
"Description":"Sets the public IP advertised for the server, if \"Manual\" is selected as the Advertise Address Selection Mode. Useful if the host network has multiple public IPs, or the server is behind a public proxy",
"Keywords":"manual,public,ip,advertise,advertise_address",
"FieldName":"ManualPublicIP",
"InputType":"text",
"ParamFieldName":"ManualPublicIP",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Master Server URL",
"Category":"OpenRCT2 Server Settings",
Expand Down Expand Up @@ -339,7 +353,7 @@
"DisplayName":"Allow Known Keys Only",
"Category":"OpenRCT2 Server Settings",
"Description":"If enabled, only connections from clients with known encryption keys will be allowed",
"Keywords":"known,keys,only,knownkeysonly",
"Keywords":"known,keys,only,known_keys_only",
"FieldName":"known_keys_only",
"InputType":"checkbox",
"ParamFieldName":"network.known_keys_only",
Expand Down
2 changes: 1 addition & 1 deletion palworld-modded.kvp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ App.ExecutableLinux=/usr/bin/wine
App.WorkingDir=2394010
App.LinuxCommandLineArgs="./Pal/Binaries/Win64/PalServer-Win64-Shipping-Cmd.exe"
App.WindowsCommandLineArgs=
App.CommandLineArgs={{$PlatformArgs}} Pal {{CommunityServer}}-Port={{$GamePort}} -QueryPort={{$QueryPort}} -RCONPort={{$RCONPort}} -MultiHome={{$ApplicationIPBinding}} -publicport={{$GamePort}} -publicip={{$ExternalIP}} -players={{$MaxUsers}} {{MultiThread}}{{$FormattedArgs}} {{CustomArgs}} -stdout -FullStdOutLogOutput
App.CommandLineArgs={{$PlatformArgs}} Pal {{CommunityServer}}-Port={{$GamePort}} -QueryPort={{$QueryPort}} -RCONPort={{$RCONPort}} -MultiHome={{$ApplicationIPBinding}} -publicport={{$GamePort}} -publicip={{PublicIP}} -players={{$MaxUsers}} {{MultiThread}}{{$FormattedArgs}} {{CustomArgs}} -stdout -FullStdOutLogOutput
App.UseLinuxIOREDIR=False
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"1623730","WINEPREFIX":"{{$FullRootDir}}.wine","WINEARCH":"win64","WINEDEBUG":"-all","WINEDLLOVERRIDES":"dwmapi.dll=n,b"}
Expand Down
36 changes: 25 additions & 11 deletions palworld-moddedconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@
"ParamFieldName":"RCONPort",
"EnumValues":{}
},
{
"DisplayName":"Public IP",
"Category":"Palworld Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ExternalIP",
"InputType":"text",
"Hidden":true,
"ParamFieldName":"PublicIP",
"EnumValues":{}
},
{
"DisplayName":"Enable RCON",
"Category":"Palworld Server Settings",
Expand Down Expand Up @@ -99,6 +88,31 @@
"True":"-publiclobby "
}
},
{
"DisplayName":"Public IP Selection Mode",
"Category":"Palworld Server Settings",
"Description":"Sets whether AMP should automatically select the public IP advertised for the server, or whether it should use the IP set under Server Public IP",
"Keywords":"public,ip,publicip",
"FieldName":"PublicIP",
"InputType":"enum",
"ParamFieldName":"PublicIP",
"DefaultValue":"{{$ExternalIP}}",
"EnumValues":{
"{{$ExternalIP}}":"Automatic (default)",
"{{ManualPublicIP}}":"Manual"
}
},
{
"DisplayName":"Server Public IP",
"Category":"Palworld Server Settings",
"Description":"Sets the public IP advertised for the server, if \"Manual\" is selected as the Public IP Selection Mode. Useful if the host network has multiple public IPs, or the server is behind a public proxy",
"Keywords":"manual,public,ip,publicip",
"FieldName":"ManualPublicIP",
"InputType":"text",
"ParamFieldName":"ManualPublicIP",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Server Password",
"Category":"Palworld Server Settings",
Expand Down
2 changes: 1 addition & 1 deletion palworld.kvp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ App.ExecutableLinux=2394010/Pal/Binaries/Linux/PalServer-Linux-Shipping
App.WorkingDir=2394010
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs={{$PlatformArgs}} Pal {{CommunityServer}}-Port={{$GamePort}} -QueryPort={{$QueryPort}} -RCONPort={{$RCONPort}} -MultiHome={{$ApplicationIPBinding}} -publicport={{$GamePort}} -publicip={{$ExternalIP}} -players={{$MaxUsers}} {{MultiThread}}{{$FormattedArgs}} {{CustomArgs}} -stdout -FullStdOutLogOutput
App.CommandLineArgs={{$PlatformArgs}} Pal {{CommunityServer}}-Port={{$GamePort}} -QueryPort={{$QueryPort}} -RCONPort={{$RCONPort}} -MultiHome={{$ApplicationIPBinding}} -publicport={{$GamePort}} -publicip={{PublicIP}} -players={{$MaxUsers}} {{MultiThread}}{{$FormattedArgs}} {{CustomArgs}} -stdout -FullStdOutLogOutput
App.UseLinuxIOREDIR=False
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"1623730"}
Expand Down
Loading