Icarus: Add settings, branch option, remove player limit (#249)

This commit is contained in:
Greelan 2022-12-17 12:39:01 +11:00 committed by GitHub
parent feaffecd75
commit 1c96ebb890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 4 deletions

View File

@ -49,7 +49,7 @@ App.AdminMethod=STDIO
App.AdminLoginTransform=None App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5 App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5 App.RCONConnectRetrySeconds=5
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"2089300","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Icarus/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/icarusserversettings.ini","UpdateSourceArgs":"ServerSettings.ini","UpdateSourceTarget":"{{$FullBaseDir}}Icarus/Saved/Config/WindowsServer/","OverwriteExistingFiles":false}] App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"2089300","UpdateSourceVersion":"{{ServerBranch}}","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Icarus/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/icarusserversettings.ini","UpdateSourceArgs":"ServerSettings.ini","UpdateSourceTarget":"{{$FullBaseDir}}Icarus/Saved/Config/WindowsServer/","OverwriteExistingFiles":false}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False App.SteamForceLoginPrompt=False

View File

@ -123,12 +123,11 @@
{ {
"DisplayName":"Player Limit", "DisplayName":"Player Limit",
"Category":"Icarus Server Settings", "Category":"Icarus Server Settings",
"Description":"Maximum number of players that may connect to the server", "Description":"Maximum number of players that may connect to the server at one time",
"Keywords":"players,limit", "Keywords":"players,limit",
"FieldName":"$MaxUsers", "FieldName":"$MaxUsers",
"InputType":"number", "InputType":"number",
"MinValue":"1", "MinValue":"1",
"MaxValue":"8",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"/Script/Icarus.DedicatedServerSettings.MaxPlayers", "ParamFieldName":"/Script/Icarus.DedicatedServerSettings.MaxPlayers",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
@ -308,7 +307,7 @@
{ {
"DisplayName":"Enable Hardcore", "DisplayName":"Enable Hardcore",
"Category":"Icarus Server Settings", "Category":"Icarus Server Settings",
"Description":"If set, harcore mode will be enabled when creating a prospect (respawns will be disabled)", "Description":"If set, hardcore mode will be enabled when creating a prospect (respawns will be disabled)",
"Keywords":"hardcore", "Keywords":"hardcore",
"FieldName":"Hardcore", "FieldName":"Hardcore",
"InputType":"checkbox", "InputType":"checkbox",
@ -352,5 +351,53 @@
"Placeholder":"300", "Placeholder":"300",
"Suffix":"seconds", "Suffix":"seconds",
"EnumValues":{} "EnumValues":{}
},
{
"DisplayName":"Allow Non-Admins To Load Prospects",
"Category":"Icarus Server Settings",
"Description":"If set, anyone who joins the lobby can create a new prospect or load an existing one. Otherwise, only admins can",
"Keywords":"non,admins,create,prospects",
"FieldName":"AllowNonAdminsToLaunchProspects",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"/Script/Icarus.DedicatedServerSettings.AllowNonAdminsToLaunchProspects",
"IncludeInCommandLine":false,
"DefaultValue":"True",
"EnumValues":{
"False":"False",
"True":"True"
}
},
{
"DisplayName":"Allow Non-Admins To Delete Prospects",
"Category":"Icarus Server Settings",
"Description":"If set, anyone who joins the lobby can delete existing prospects from the server. Otherwise, only admins can",
"Keywords":"non,admins,delete,prospects",
"FieldName":"AllowNonAdminsToDeleteProspects",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"/Script/Icarus.DedicatedServerSettings.AllowNonAdminsToDeleteProspects",
"IncludeInCommandLine":false,
"DefaultValue":"False",
"EnumValues":{
"False":"False",
"True":"True"
}
},
{
"DisplayName":"Server Branch",
"Category":"SteamCMD and Updates",
"Description":"Sets the server branch to install. The client must be on the same version. NOTE: Update the server after switching branches!",
"Keywords":"server,branch,depot",
"FieldName":"ServerBranch",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"ServerBranch",
"IncludeInCommandLine":false,
"DefaultValue":"public",
"EnumValues":{
"public":"Public (default)",
"experimental":"Experimental"
}
} }
] ]

View File

@ -5,6 +5,8 @@ MaxPlayers=8
AdminPassword=Password123 AdminPassword=Password123
ShutdownIfNotJoinedFor=300 ShutdownIfNotJoinedFor=300
ShutdownIfEmptyFor=300 ShutdownIfEmptyFor=300
AllowNonAdminsToLaunchProspects=True
AllowNonAdminsToDeleteProspects=False
LoadProspect= LoadProspect=
CreateProspect= CreateProspect=
ResumeProspect=False ResumeProspect=False