Core Keeper Generic Template (#129)

This commit is contained in:
Shinynecrid 2022-06-02 21:49:51 -05:00 committed by GitHub
parent 96e7725198
commit 1ba8c94b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 151 additions and 0 deletions

81
core-keeper.kvp Normal file
View File

@ -0,0 +1,81 @@
Meta.DisplayName=Core Keeper
Meta.Description=Core Keeper Dedicated Server
Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.Author=Shinynecrid, Greelan
Meta.URL=https://steamdb.info/app/1621690/
Meta.DisplayImageSource=steam:1621690
Meta.EndpointURIFormat=steam://connect/{0}
Meta.ConfigManifest=core-keeperconfig.json
Meta.MetaConfigManifest=core-keepermetaconfig.json
Meta.ConfigRoot=core-keeper.kvp
Meta.MinAMPVersion=2.3.3.0
Meta.SpecificDockerImage=
Meta.DockerRequired=False
Meta.ContainerPolicy=Supported
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Core Keeper
App.RootDir=./core-keeper/
App.BaseDirectory=./core-keeper/1963720/
App.ExecutableWin=1963720\CoreKeeperServer.exe
App.ExecutableLinux=1963720/CoreKeeperServer
App.WorkingDir=1963720
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs={{$PlatformArgs}} -datapath "{{$FullBaseDir}}DedicatedServer" {{$FormattedArgs}} -batchmode -nographics -logfile -
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"1963720"}
App.CommandLineParameterFormat=-{0} "{1}"
App.CommandLineParameterDelimiter=
App.ExitMethod=OS_CLOSE
App.ExitTimeout=30
App.ExitString=q
App.ExitFile=app_exit.lck
App.HasWriteableConsole=True
App.HasReadableConsole=True
App.SupportsLiveSettingsChanges=False
App.LiveSettingChangeCommandFormat=set {0} "{1}"
App.ApplicationIPBinding=0.0.0.0
App.Ports=[{"Protocol":"UDP","Port":0,"Ref":"Port","Name":"Port","Description":"Dummy port"}]
App.PrimaryApplicationPortRef=Port
App.UniversalSleepApplicationUDPPortRef=Port
App.UniversalSleepSteamQueryPortRef=Port
App.MaxUsers=100
App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO
App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.TelnetLoginFormat={0}
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"1963720"},{"UpdateStageName":"Server Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/Greelan/AMPTemplates/core-keeper/core-keeperserverconfig.json","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./core-keeper/1963720/DedicatedServer"},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./core-keeper/1963720/DedicatedServer/ServerConfig.json","UpdateSourceArgs":"./core-keeperserverconfig.json","OverwriteExistingFiles":false}]
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.MonitorChildProcess=False
App.MonitorChildProcessWaitMs=100
App.MonitorChildProcessName=
App.SupportsUniversalSleep=False
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^Started session with Game ID .+$
Console.UserJoinRegex=^Successful authentication from (?<userid>.+?)$
Console.UserLeaveRegex=^Disconnected from (?<userid>.+?)$
Console.UserChatRegex=
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Console.MetricsRegex=
Console.SuppressLogAtStart=False
Console.ActivateLogRegex=
Console.UserActions={}
Limits.SleepMode=True
Limits.SleepOnStart=False
Limits.SleepDelayMinutes=5
Limits.DozeDelay=2
Limits.AutoRetryCount=5
Limits.SleepStartThresholdSeconds=25

55
core-keeperconfig.json Normal file
View File

@ -0,0 +1,55 @@
[
{
"DisplayName":"World",
"Category":"Server Settings",
"Description":"Set the index of the world to be loaded from the worlds folder",
"Keywords":"world,index",
"FieldName":"world",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"world",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"EnumValues":{}
},
{
"DisplayName":"World Name",
"Category":"Server Settings",
"Description":"Sets the name to use for the server",
"Keywords":"world",
"FieldName":"worldName",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"worldName",
"IncludeInCommandLine":false,
"DefaultValue":"Core Keeper Server Powered by AMP",
"EnumValues":{}
},
{
"DisplayName":"World Seed",
"Category":"Server Settings",
"Description":"Sets the seed to use to generate a new world. Set to 0 to generate a random seed",
"Keywords":"seed,world",
"FieldName":"worldSeed",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"worldSeed",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"EnumValues":{}
},
{
"DisplayName":"Player Limit",
"Category":"Server Settings",
"Description":"Sets the maximum number of players that will be allowed to connect to the server",
"Keywords":"max,players,limit",
"FieldName":"$MaxUsers",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"maxNumberPlayers",
"IncludeInCommandLine":false,
"DefaultValue":"100",
"suffix":"players",
"EnumValues":{}
}
]

View File

@ -0,0 +1,7 @@
[
{
"ConfigFile":"DedicatedServer/ServerConfig.json",
"AutoMap":true,
"ConfigType":"json"
}
]

View File

@ -0,0 +1,8 @@
{
"gameId": "",
"world": 0,
"worldName": "Core Keeper Server Powered by AMP",
"worldSeed": 0,
"maxNumberPlayers": 100,
"maxNumberPacketsSentPerFrame": 1
}