Merge pull request #75 from IceOfWraith/stationeers

Create Stationeers Config
This commit is contained in:
PhonicUK 2022-02-19 16:59:54 +00:00 committed by GitHub
commit 3763a2ef99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 266 additions and 0 deletions

76
stationeers.kvp Normal file
View File

@ -0,0 +1,76 @@
Meta.DisplayName=Stationeers
Meta.Description=Stationeers Dedicated Server
Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.Author=CubeCoders
Meta.URL=https://store.steampowered.com/app/544550/Stationeers/
Meta.DisplayImageSource=steam:544550
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2}
Meta.ConfigManifest=stationeersconfig.json
Meta.MetaConfigManifest=stationeersmetaconfig.json
Meta.ConfigRoot=stationeers.kvp
Meta.MinAMPVersion=
Meta.SpecificDockerImage=
Meta.ContainerPolicy=Supported
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Stationeers
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}}" -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"},{"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=^\<color\=green\>StationeerServer connected to Steam successfully\<\/color\>$
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

183
stationeersconfig.json Normal file
View File

@ -0,0 +1,183 @@
[
{
"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": "",
"SkipIfEmpty": true,
"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 overwrite actual map on server browser if you use rocket to travel beween maps!",
"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"
},
{
"DisplayName": "UPDATERPORT",
"Category": "Server Settings",
"Description": "",
"Keywords": "",
"FieldName": "$ApplicationPort2",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "SERVER.UPDATERPORT",
"IncludeInCommandLine": false,
"DefaultValue": "27015"
}
]

View File

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