Stationeers: Various updates for new dedicated server build (#156)

This commit is contained in:
Greelan 2022-09-16 07:45:35 +10:00 committed by GitHub
parent 975a9f51ed
commit fc2e7e4cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 531 additions and 193 deletions

76
stationeers-legacy.kvp Normal file
View File

@ -0,0 +1,76 @@
Meta.DisplayName=Stationeers (Legacy)
Meta.Description=Stationeers Dedicated Server (Legacy)
Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.Author=IceOfWraith, CubeCoders
Meta.URL=https://store.steampowered.com/app/544550/Stationeers/
Meta.DisplayImageSource=steam:544550
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2}
Meta.ConfigManifest=stationeers-legacyconfig.json
Meta.MetaConfigManifest=stationeers-legacymetaconfig.json
Meta.ConfigRoot=stationeers-legacy.kvp
Meta.MinAMPVersion=
Meta.SpecificDockerImage=
Meta.ContainerPolicy=Supported
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Stationeers (Legacy)
App.RootDir=./stationeers/
App.BaseDirectory=./stationeers/600760/
App.ExecutableWin=600760\rocketstation_DedicatedServer.exe
App.ExecutableLinux=600760/rocketstation_DedicatedServer.x86_64
App.WorkingDir=600760
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs=-batchmode -nographics -autostart -bindip={{$ApplicationIPBinding}} -basedirectory="{{$FullBaseDir}}" -loadworld="{{worldname}}" -modpath="{{$FullBaseDir}}{{modpath}}/" {{$FormattedArgs}}
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"544550"}
App.CommandLineParameterFormat=-{0}="{1}"
App.CommandLineParameterDelimiter=
App.ExitMethod=OS_CLOSE
App.ExitTimeout=30
App.ExitString=shutdown
App.ExitFile=app_exit.lck
App.HasWriteableConsole=False
App.HasReadableConsole=True
App.SupportsLiveSettingsChanges=False
App.LiveSettingChangeCommandFormat=set {0} "{1}"
App.ApplicationIPBinding=0.0.0.0
App.ApplicationPort1=28015
App.ApplicationPort2=27028
App.ApplicationPort3=0
App.RemoteAdminPort=0
App.MaxUsers=20
App.UseRandomAdminPassword=True
App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO
App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"600760","UpdateSourceVersion":"previous"},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}]
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.SupportsUniversalSleep=True
App.UniversalSleepApplicationUDPPort=1
App.UniversalSleepSteamQueryPort=2
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^<b><color=green>StationeerServer connected to Steam successfully<\/color><\/b>$
Console.UserJoinRegex=
Console.UserLeaveRegex=
Console.UserChatRegex=
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Console.SuppressLogAtStart=False
Console.ActivateLogRegex=
Console.UserActions={}
Limits.SleepMode=False
Limits.SleepOnStart=False
Limits.SleepDelayMinutes=5
Limits.DozeDelay=2
Limits.AutoRetryCount=5

View File

@ -0,0 +1,184 @@
[
{
"DisplayName": "Server Name",
"Category": "Server Settings",
"Description": "Display name of the server.",
"Keywords": "server,name",
"FieldName": "SERVERNAME",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.SERVERNAME",
"IncludeInCommandLine": false,
"DefaultValue": "AMP Powered Stationeers Server",
"EnumValues": {}
},
{
"DisplayName": "Server Password",
"Category": "Server Settings",
"Description": "Password that clients must supply to join.",
"Keywords": "password",
"FieldName": "PASSWORD",
"InputType": "password",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.PASSWORD",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
},
{
"DisplayName": "RCON Password",
"Category": "Server Settings",
"Description": "Password to access RCON using http://YOURIP:GAMEPORT. You should change after install.",
"Keywords": "RCON,password",
"FieldName": "RCONPASSWORD",
"InputType": "RandomPassword",
"IsFlagArgument": false,
"ParamFieldName": "RCON.RCONPASSWORD",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
},
{
"DisplayName": "Admin Password",
"Category": "Server Settings",
"Description": "Password to become the in-game admin. You should change after install.",
"Keywords": "admin,password",
"FieldName": "ADMINPASSWORD",
"InputType": "RandomPassword",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.ADMINPASSWORD",
"IncludeInCommandLine": false,
"DefaultValue": "Password123",
"EnumValues": {}
},
{
"DisplayName": "Max Players",
"Category": "Server Settings",
"Description": "The maximum number of players allowed on the server.",
"Keywords": "max,players",
"FieldName": "$MaxUsers",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.MAXPLAYER",
"IncludeInCommandLine": false,
"DefaultValue": "20",
"EnumValues": {}
},
{
"DisplayName": "Creator",
"Category": "Server Settings",
"Description": "Set creator's [Steam64 ID](https://steamidfinder.com/) as gamedata and key-value. This is for future integration of server instancing.",
"Keywords": "creator",
"FieldName": "creator",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "creator",
"IncludeInCommandLine": true,
"DefaultValue": "",
"SkipIfEmpty": true,
"EnumValues": {}
},
{
"DisplayName": "World Name",
"Category": "Server Settings",
"Description": "Name of the world directory to load.",
"Keywords": "world,name",
"FieldName": "worldname",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "worldname",
"IncludeInCommandLine": true,
"DefaultValue": "world",
"EnumValues": {}
},
{
"DisplayName": "Map",
"Category": "Server Settings",
"Description": "Default Moon. Will create a world of this type or display this world type in the server browser if loading a save.",
"Keywords": "world,type",
"FieldName": "worldtype",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "worldtype",
"IncludeInCommandLine": true,
"DefaultValue": "",
"SkipIfEmpty": true,
"EnumValues": {
"": "Default",
"Europa2": "Europa2",
"Loulan": "Loulan",
"Mars": "Mars",
"Mimas": "Mimas",
"Moon": "Moon",
"Space": "Space",
"Vulcan2": "Vulcan2"
}
},
{
"DisplayName": "Auto Save Interval",
"Category": "Server Settings",
"Description": "How frequently the server will save the world.",
"Keywords": "",
"FieldName": "autosaveinterval",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "autosaveinterval",
"IncludeInCommandLine": true,
"DefaultValue": "60",
"EnumValues": {},
"Suffix": "sec"
},
{
"DisplayName": "Clear All Interval",
"Category": "Server Settings",
"Description": "The interval to run \"clearall\" command. Minimum is 60 seconds. clearall will delete all disconnected characters. Set to a very high number. 0 to disable. ",
"Keywords": "clear,all,interval",
"FieldName": "clearallinterval",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "clearallinterval",
"IncludeInCommandLine": true,
"DefaultValue": "60",
"EnumValues": {},
"Suffix": "sec"
},
{
"DisplayName": "Mod Path",
"Category": "Server Settings",
"Description": "Where mods are located inside the datastore.",
"Keywords": "mod,path",
"FieldName": "modpath",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "modpath",
"IncludeInCommandLine": false,
"DefaultValue": "Mods",
"EnumValues": {}
},
{
"DisplayName": "GAMEPORT",
"Category": "Server Settings",
"Description": "",
"Keywords": "",
"FieldName": "$ApplicationPort1",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.GAMEPORT",
"IncludeInCommandLine": false,
"DefaultValue": "27500",
"Hidden": true
},
{
"DisplayName": "UPDATERPORT",
"Category": "Server Settings",
"Description": "",
"Keywords": "",
"FieldName": "$ApplicationPort2",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.UPDATERPORT",
"IncludeInCommandLine": false,
"DefaultValue": "27015",
"Hidden": true
}
]

View File

@ -0,0 +1,7 @@
[
{
"ConfigFile": "./default.ini",
"AutoMap": true,
"ConfigType": "ini"
}
]

View File

@ -1,20 +1,20 @@
Meta.DisplayName=Stationeers (Legacy Server) Meta.DisplayName=Stationeers
Meta.Description=Stationeers Dedicated Server (Legacy) Meta.Description=Stationeers Dedicated Server
Meta.OS=Windows, Linux Meta.OS=Windows, Linux
Meta.Arch=x86_64 Meta.Arch=x86_64
Meta.Author=IceOfWraith, CubeCoders Meta.Author=IceOfWraith, Greelan
Meta.URL=https://store.steampowered.com/app/544550/Stationeers/ Meta.URL=https://store.steampowered.com/app/544550/Stationeers/
Meta.DisplayImageSource=steam:544550 Meta.DisplayImageSource=steam:544550
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$UpdatePort}
Meta.ConfigManifest=stationeersconfig.json Meta.ConfigManifest=stationeersconfig.json
Meta.MetaConfigManifest=stationeersmetaconfig.json Meta.MetaConfigManifest=stationeersmetaconfig.json
Meta.ConfigRoot=stationeers.kvp Meta.ConfigRoot=stationeers.kvp
Meta.MinAMPVersion= Meta.MinAMPVersion=2.4.0.2
Meta.SpecificDockerImage= Meta.SpecificDockerImage=
Meta.ContainerPolicy=Supported Meta.ContainerPolicy=Supported
Meta.Prerequsites=[] Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Stationeers (Legacy Server) App.DisplayName=Stationeers
App.RootDir=./stationeers/ App.RootDir=./stationeers/
App.BaseDirectory=./stationeers/600760/ App.BaseDirectory=./stationeers/600760/
App.ExecutableWin=600760\rocketstation_DedicatedServer.exe App.ExecutableWin=600760\rocketstation_DedicatedServer.exe
@ -22,49 +22,47 @@ App.ExecutableLinux=600760/rocketstation_DedicatedServer.x86_64
App.WorkingDir=600760 App.WorkingDir=600760
App.LinuxCommandLineArgs= App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs= App.WindowsCommandLineArgs=
App.CommandLineArgs=-batchmode -nographics -autostart -bindip={{$ApplicationIPBinding}} -basedirectory="{{$FullBaseDir}}" -loadworld="{{worldname}}" -modpath="{{$FullBaseDir}}{{modpath}}/" {{$FormattedArgs}} App.CommandLineArgs=-{{LoadMode}} "{{SaveName}}" {{WorldType}} -noclear -settings StartLocalHost true GamePort {{$GamePort}} UpdatePort {{$UpdatePort}} SavePath "{{$FullBaseDir}}saves" {{$FormattedArgs}}
App.AppSettings={} App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"544550"} App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"544550"}
App.CommandLineParameterFormat=-{0}="{1}" App.CommandLineParameterFormat={0} "{1}"
App.CommandLineParameterDelimiter= App.CommandLineParameterDelimiter=
App.ExitMethod=OS_CLOSE App.ExitMethod=OS_CLOSE
App.ExitTimeout=30 App.ExitTimeout=15
App.ExitString=shutdown App.ExitString=quit
App.ExitFile=app_exit.lck App.ExitFile=app_exit.lck
App.HasWriteableConsole=False App.HasWriteableConsole=True
App.HasReadableConsole=True App.HasReadableConsole=True
App.SupportsLiveSettingsChanges=False App.SupportsLiveSettingsChanges=False
App.LiveSettingChangeCommandFormat=set {0} "{1}" App.LiveSettingChangeCommandFormat=set {0} "{1}"
App.ApplicationIPBinding=0.0.0.0 App.ApplicationIPBinding=0.0.0.0
App.ApplicationPort1=28015 App.Ports=[{"Protocol":"UDP","Name":"Game Port","Description":"Port for game traffic","Port":27016,"Ref":"GamePort"},{"Protocol":"UDP","Name":"Update Port","Description":"Port for Steam updates","Port":27015,"Ref":"UpdatePort"}]
App.ApplicationPort2=27028 App.PrimaryApplicationPortRef=GamePort
App.ApplicationPort3=0 App.UniversalSleepApplicationUDPPort=GamePort
App.RemoteAdminPort=0 App.UniversalSleepSteamQueryPort=UpdatePort
App.MaxUsers=20 App.MaxUsers=10
App.UseRandomAdminPassword=True App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123 App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO 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":"600760","UpdateSourceVersion":"previous"},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}] App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"600760"},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False App.SteamForceLoginPrompt=False
App.RapidStartup=False App.RapidStartup=False
App.SupportsUniversalSleep=True App.SupportsUniversalSleep=True
App.UniversalSleepApplicationUDPPort=1
App.UniversalSleepSteamQueryPort=2
App.WakeupMode=Any App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}} App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex= Console.FilterMatchRegex=
Console.FilterMatchReplacement= Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^<b><color=green>StationeerServer connected to Steam successfully<\/color><\/b>$ Console.AppReadyRegex=^(?:> )*?[\d:]+ (Started new game in world .+?|World\s+loaded)$
Console.UserJoinRegex= Console.UserJoinRegex=^(?:> )*?[\d:]+ Client (?<username>.+?) \((?<userid>.+?)\) is ready!$
Console.UserLeaveRegex= Console.UserLeaveRegex=^(?:> )*?[\d:]+ Client disconnected: .* \| (?<username>.+?)\s+connectTime: \d+.\d+s, ClientId: (?<userid>.+?)$
Console.UserChatRegex= Console.UserChatRegex=^$
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Console.SuppressLogAtStart=False Console.SuppressLogAtStart=False
Console.ActivateLogRegex= Console.ActivateLogRegex=

View File

@ -1,184 +1,257 @@
[ [
{
"DisplayName":"Game Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$GamePort",
"InputType":"number",
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"GamePort",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Update Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$UpdatePort",
"InputType":"number",
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"UpdatePort",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{ {
"DisplayName":"Server Name", "DisplayName":"Server Name",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Display name of the server.", "Description":"Sets the name of the server to be displayed on the server list.",
"Keywords":"server,name", "Keywords":"server,name",
"FieldName": "SERVERNAME", "FieldName":"ServerName",
"InputType":"text", "InputType":"text",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "SERVER.SERVERNAME", "ParamFieldName":"ServerName",
"IncludeInCommandLine": false, "IncludeInCommandLine":true,
"DefaultValue":"AMP Powered Stationeers Server", "DefaultValue":"AMP Powered Stationeers Server",
"EnumValues":{} "EnumValues":{}
}, },
{
"DisplayName":"Make Server Public",
"Category":"Server Settings",
"Description":"If enabled, the server will be visible in the in-game server list.",
"Keywords":"public,visible",
"FieldName":"ServerVisible",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"ServerVisible",
"IncludeInCommandLine":true,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{ {
"DisplayName":"Server Password", "DisplayName":"Server Password",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Password that clients must supply to join.", "Description":"Sets the password to join the server.",
"Keywords":"password", "Keywords":"password",
"FieldName": "PASSWORD", "FieldName":"ServerPassword",
"InputType":"password", "InputType":"password",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "SERVER.PASSWORD", "ParamFieldName":"ServerPassword",
"IncludeInCommandLine": false, "IncludeInCommandLine":true,
"DefaultValue":"", "DefaultValue":"",
"EnumValues":{} "EnumValues":{}
}, },
{ {
"DisplayName": "RCON Password", "DisplayName":"Server Auth Secret",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Password to access RCON using http://YOURIP:GAMEPORT. You should change after install.", "Description":"Sets the authorisation secret to allow server commands to be run from a client. Requires the same \"ServerAuthSecret\" to be set on the client.",
"Keywords": "RCON,password", "Keywords":"auth,secret,commands",
"FieldName": "RCONPASSWORD", "FieldName":"ServerAuthSecret",
"InputType": "RandomPassword", "InputType":"password",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "RCON.RCONPASSWORD", "ParamFieldName":"ServerAuthSecret",
"IncludeInCommandLine": false, "IncludeInCommandLine":true,
"DefaultValue":"", "DefaultValue":"",
"EnumValues":{} "EnumValues":{}
}, },
{ {
"DisplayName": "Admin Password", "DisplayName":"Player Limit",
"Category": "Server Settings",
"Description": "Password to become the in-game admin. You should change after install.",
"Keywords": "admin,password",
"FieldName": "ADMINPASSWORD",
"InputType": "RandomPassword",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.ADMINPASSWORD",
"IncludeInCommandLine": false,
"DefaultValue": "Password123",
"EnumValues": {}
},
{
"DisplayName": "Max Players",
"Category":"Server Settings", "Category":"Server Settings",
"Description":"The maximum number of players allowed on the server.", "Description":"The maximum number of players allowed on the server.",
"Keywords": "max,players", "Keywords":"max,players,limit",
"FieldName":"$MaxUsers", "FieldName":"$MaxUsers",
"InputType":"number", "InputType":"number",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "SERVER.MAXPLAYER", "ParamFieldName":"ServerMaxPlayers",
"IncludeInCommandLine": false,
"DefaultValue": "20",
"EnumValues": {}
},
{
"DisplayName": "Creator",
"Category": "Server Settings",
"Description": "Set creator's [Steam64 ID](https://steamidfinder.com/) as gamedata and key-value. This is for future integration of server instancing.",
"Keywords": "creator",
"FieldName": "creator",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "creator",
"IncludeInCommandLine":true, "IncludeInCommandLine":true,
"DefaultValue": "",
"SkipIfEmpty":true, "SkipIfEmpty":true,
"DefaultValue":"10",
"EnumValues":{} "EnumValues":{}
}, },
{ {
"DisplayName": "World Name", "DisplayName":"Load Mode",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Name of the world directory to load.", "Description":"Sets the mode for loading world saves based on the Save Name. \"Load Manual Save\" loads the last manual save. \"Load Latest Save\" loads the latest save, whether manual or auto. If there is no save, a new world is created.",
"Keywords": "world,name", "Keywords":"load,latest",
"FieldName": "worldname", "FieldName":"LoadMode",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"LoadMode",
"IncludeInCommandLine":false,
"DefaultValue":"loadlatest",
"EnumValues":{
"load":"Load Manual Save",
"loadlatest":"Load Latest Save"
}
},
{
"DisplayName":"Save Name",
"Category":"Server Settings",
"Description":"Sets the name of the world directory to load, or to create if it does not already exist.",
"Keywords":"save,name",
"FieldName":"SaveName",
"InputType":"text", "InputType":"text",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "worldname", "ParamFieldName":"SaveName",
"IncludeInCommandLine": true, "IncludeInCommandLine":false,
"DefaultValue":"world", "DefaultValue":"world",
"EnumValues":{} "EnumValues":{}
}, },
{ {
"DisplayName":"Map", "DisplayName":"Map",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Default Moon. Will create a world of this type or display this world type in the server browser if loading a save.", "Description":"Sets the type of world (map) to be created. Default is moon.",
"Keywords": "world,type", "Keywords":"world,type,map",
"FieldName": "worldtype", "FieldName":"WorldType",
"InputType":"enum", "InputType":"enum",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "worldtype", "ParamFieldName":"WorldType",
"IncludeInCommandLine": true, "IncludeInCommandLine":false,
"DefaultValue": "", "DefaultValue":"moon",
"SkipIfEmpty": true,
"EnumValues":{ "EnumValues":{
"": "Default", "moon":"Moon",
"Europa2": "Europa2", "mars":"Mars",
"Loulan": "Loulan", "europa":"Europa",
"Mars": "Mars", "europa2":"Europa2",
"Mimas": "Mimas", "mimas":"Mimas",
"Moon": "Moon", "vulcan":"Vulcan",
"Space": "Space", "vulcan2":"Vulcan2",
"Vulcan2": "Vulcan2" "space":"Space",
"loulan":"Loulan",
"venus":"Venus"
} }
}, },
{ {
"DisplayName": "Auto Save Interval", "DisplayName":"Enable Autosave",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "How frequently the server will save the world.", "Description":"If enabled, the world will be autosaved at the interval set under \"Autosave Interval\".",
"Keywords": "", "Keywords":"autosave",
"FieldName": "autosaveinterval", "FieldName":"AutoSave",
"InputType": "number", "InputType":"checkbox",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "autosaveinterval", "ParamFieldName":"AutoSave",
"IncludeInCommandLine":true, "IncludeInCommandLine":true,
"DefaultValue": "60", "DefaultValue":"true",
"EnumValues": {}, "EnumValues":{
"Suffix": "sec" "True":"true",
"False":"false"
}
}, },
{ {
"DisplayName": "Clear All Interval", "DisplayName":"Autosave Interval",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "The interval to run \"clearall\" command. Minimum is 60 seconds. clearall will delete all disconnected characters. Set to a very high number. 0 to disable. ", "Description":"Sets how frequently the server will save the world if autosave is enabled.",
"Keywords": "clear,all,interval", "Keywords":"autosave,interval",
"FieldName": "clearallinterval", "FieldName":"SaveInterval",
"InputType":"number", "InputType":"number",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "clearallinterval", "ParamFieldName":"SaveInterval",
"IncludeInCommandLine":true, "IncludeInCommandLine":true,
"DefaultValue": "60", "DefaultValue":"300",
"EnumValues": {}, "Suffix":"seconds",
"Suffix": "sec"
},
{
"DisplayName": "Mod Path",
"Category": "Server Settings",
"Description": "Where mods are located inside the datastore.",
"Keywords": "mod,path",
"FieldName": "modpath",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "modpath",
"IncludeInCommandLine": false,
"DefaultValue": "Mods",
"EnumValues":{} "EnumValues":{}
}, },
{ {
"DisplayName": "GAMEPORT", "DisplayName":"Enable Autopause",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "", "Description":"If enabled, the server will be paused when no player is connected.",
"Keywords": "", "Keywords":"autopause",
"FieldName": "$ApplicationPort1", "FieldName":"AutoPauseServer",
"InputType": "number", "InputType":"checkbox",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "SERVER.GAMEPORT", "ParamFieldName":"AutoPauseServer",
"IncludeInCommandLine": false, "IncludeInCommandLine":true,
"DefaultValue": "27500", "DefaultValue":"true",
"Hidden": true "EnumValues":{
"True":"true",
"False":"false"
}
}, },
{ {
"DisplayName": "UPDATERPORT", "DisplayName":"Show Framerate",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "", "Description":"If enabled, shows the framerate of the server.",
"Keywords": "", "Keywords":"framerate,fps",
"FieldName": "$ApplicationPort2", "FieldName":"ShowFps",
"InputType": "number", "InputType":"checkbox",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "SERVER.UPDATERPORT", "ParamFieldName":"ShowFps",
"IncludeInCommandLine": false, "IncludeInCommandLine":true,
"DefaultValue": "27015", "DefaultValue":"false",
"Hidden": true "EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Show Latency",
"Category":"Server Settings",
"Description":"If enabled, shows the latency of the server.",
"Keywords":"latency",
"FieldName":"ShowLatency",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"ShowLatency",
"IncludeInCommandLine":true,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Server IP Binding",
"Category":"Server Settings",
"Description":"Sets the binding of the server. Default is blank (all IPs). Change to internal interface IP only if the server has issues.",
"Keywords":"ip,binding,localip,address",
"FieldName":"LocalIpAddress",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"LocalIpAddress",
"IncludeInCommandLine":true,
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Enable UPnP",
"Category":"Server Settings",
"Description":"If enabled, the server will attempt to configure automatic port forwarding on a compatible router.",
"Keywords":"upnp",
"FieldName":"UPNPEnabled",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"UPNPEnabled",
"IncludeInCommandLine":true,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
} }
] ]

View File

@ -1,7 +1,7 @@
[ [
{ {
"ConfigFile": "./default.ini", "ConfigFile":"setting.xml",
"AutoMap":true, "AutoMap":true,
"ConfigType": "ini" "ConfigType":"xml"
} }
] ]