diff --git a/core-keeper.kvp b/core-keeper.kvp new file mode 100644 index 0000000..5201654 --- /dev/null +++ b/core-keeper.kvp @@ -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/CubeCoders/AMPTemplates/main/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 (?.+?)$ +Console.UserLeaveRegex=^Disconnected from (?.+?)$ +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 diff --git a/core-keeperconfig.json b/core-keeperconfig.json new file mode 100644 index 0000000..edecf7b --- /dev/null +++ b/core-keeperconfig.json @@ -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":{} + } +] \ No newline at end of file diff --git a/core-keepermetaconfig.json b/core-keepermetaconfig.json new file mode 100644 index 0000000..6e1feb7 --- /dev/null +++ b/core-keepermetaconfig.json @@ -0,0 +1,7 @@ +[ + { + "ConfigFile":"DedicatedServer/ServerConfig.json", + "AutoMap":true, + "ConfigType":"json" + } +] diff --git a/core-keeperserverconfig.json b/core-keeperserverconfig.json new file mode 100644 index 0000000..a130474 --- /dev/null +++ b/core-keeperserverconfig.json @@ -0,0 +1,8 @@ +{ + "gameId": "", + "world": 0, + "worldName": "Core Keeper Server Powered by AMP", + "worldSeed": 0, + "maxNumberPlayers": 100, + "maxNumberPacketsSentPerFrame": 1 +} \ No newline at end of file