From f75fb709904a89927be7ca5184c5238694ca6c7c Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Tue, 7 Nov 2023 13:03:14 +1100 Subject: [PATCH] AC --- astro-colonyconfig.json | 40 ++++++++++++++++++++++++++++++++++ astro-colonyserversettings.ini | 3 +++ 2 files changed, 43 insertions(+) diff --git a/astro-colonyconfig.json b/astro-colonyconfig.json index be3a23b..51b631d 100644 --- a/astro-colonyconfig.json +++ b/astro-colonyconfig.json @@ -82,6 +82,18 @@ "DefaultValue":"", "EnumValues":{} }, + { + "DisplayName":"Seed", + "Category":"Server Settings", + "Description":"Sets a seed to create a new savegame with. Default is a random seed", + "Keywords":"seed", + "FieldName":"Seed", + "InputType":"number", + "MinValue":"1", + "ParamFieldName":"/Script/AstroColony.EHServerSubsystem.Seed", + "DefaultValue":"{{randomdigits(8)}}", + "EnumValues":{} + }, { "DisplayName":"Savegame Name", "Category":"Server Settings", @@ -149,5 +161,33 @@ "False":"False", "True":"True" } + }, + { + "DisplayName":"Autosave Interval", + "Category":"Server Settings", + "Description":"Sets the server autosave interval", + "Keywords":"server,autosave,interval,AutosaveInterval", + "FieldName":"AutosaveInterval", + "InputType":"number", + "MinValue":"1", + "ParamFieldName":"/Script/AstroColony.EHServerSubsystem.AutosaveInterval", + "DefaultValue":"5.0", + "Placeholder":"5.0", + "Suffix":"minutes", + "EnumValues":{} + }, + { + "DisplayName":"Autosave Count", + "Category":"Server Settings", + "Description":"Sets the limit on the number of autosave copies to store", + "Keywords":"server,save,autosave,limit,count,AutosavesCount", + "FieldName":"AutosavesCount", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"/Script/AstroColony.EHServerSubsystem.AutosavesCount", + "DefaultValue":"10", + "Placeholder":"10", + "Suffix":"autosaves", + "EnumValues":{} } ] \ No newline at end of file diff --git a/astro-colonyserversettings.ini b/astro-colonyserversettings.ini index 3007875..99d4c1d 100644 --- a/astro-colonyserversettings.ini +++ b/astro-colonyserversettings.ini @@ -1,5 +1,6 @@ [/Script/AstroColony.EHServerSubsystem] ServerPassword= +Seed= MapName=MyAstroColony MaxPlayers=5 SavegameName=MyAstroColony @@ -8,3 +9,5 @@ AdminList= SharedTechnologies=True OxygenConsumption=True FreeConstruction=False +AutosaveInterval=5.0 +AutosavesCount=10