Merge pull request #79 from IceOfWraith/kf2

Add Killing Floor 2
This commit is contained in:
IceOfWraith 2022-03-16 00:08:21 -05:00 committed by GitHub
commit 528b431f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 348 additions and 0 deletions

76
killing-floor-2.kvp Normal file
View File

@ -0,0 +1,76 @@
Meta.DisplayName=Killing Floor 2
Meta.Description=Killing Floor 2 Dedicated Server
Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.Author=IceOfWraith
Meta.URL=https://store.steampowered.com/app/232090/Killing_Floor_2/
Meta.DisplayImageSource=steam:232090
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2}
Meta.ConfigManifest=killing-floor-2config.json
Meta.MetaConfigManifest=killing-floor-2metaconfig.json
Meta.ConfigRoot=killing-floor-2.kvp
Meta.MinAMPVersion=
Meta.SpecificDockerImage=
Meta.ContainerPolicy=Supported
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Killing Floor 2
App.RootDir=./killing-floor-2/
App.BaseDirectory=./killing-floor-2/232130/
App.ExecutableWin=232130\Binaries\Win64\KFServer.exe
App.ExecutableLinux=232130/Binaries/Win64/KFGameSteamServer.bin.x86_64
App.WorkingDir=232130
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs={{Map}}?Game={{Game}}?maxplayers={{$MaxUsers}} -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort2}} -WebAdminPort={{$RemoteAdminPort}} -Multihome={{$ApplicationIPBinding}} {{$FormattedArgs}}
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"232090"}
App.CommandLineParameterFormat=-{0}="{1}"
App.CommandLineParameterDelimiter=
App.ExitMethod=OS_CLOSE
App.ExitTimeout=30
App.ExitString=stop
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.ApplicationPort1=7777
App.ApplicationPort2=27015
App.ApplicationPort3=0
App.RemoteAdminPort=8080
App.MaxUsers=6
App.UseRandomAdminPassword=False
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": "232130"},{"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=False
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=^\[\d*\.\d*\] Log: Steam game server UID: \d*$
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

255
killing-floor-2config.json Normal file
View File

@ -0,0 +1,255 @@
[
{
"DisplayName": "Starting Map",
"Category": "Server Config",
"Description": "Set the server's starting map. Survival compatible maps denoted with \"*\".",
"Keywords": "Map",
"FieldName": "Map",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "Map",
"IncludeInCommandLine": false,
"DefaultValue": "KF-Bioticslab",
"EnumValues": {
"KF-Airship": "Airship",
"KF-AshwoodAsylum": "Ashwood Asylum",
"KF-Biolapse": "Biolapse",
"KF-Bioticslab": "Biotics Lab*",
"KF-BlackForest": "Black Forest",
"KF-BurningParis": "Burning Paris*",
"KF-CarillonHamlet": "Carillon Hamlet",
"KF-Catacombs": "Catacombs",
"KF-ContainmentStation": "Containment Station",
"KF-Desolation": "Desolation",
"KF-DieSector": "DieSector",
"KF-Dystopia2029": "Dystopia 2029",
"KF-Elysium": "Elysium",
"KF-EvacuationPoint": "Evacuation Point",
"KF-Farmhouse": "Farmhouse*",
"KF-HellmarkStation": "Hellmark Station",
"KF-HostileGrounds": "Hostile Grounds",
"KF-InfernalRealm": "Infernal Realm",
"KF-KrampusLair": "Krampus Lair",
"KF-Lockdown": "Lockdown",
"KF-MonsterBall": "Monster Ball",
"KF-Moonbase": "Moonbase",
"KF-Netherhold": "Netherhold",
"KF-Nightmare": "Nightmare",
"KF-Nuked": "Nuked",
"KF-Outpost": "Outpost",
"KF-PowerCore_Holdout": "Power Core Holdout",
"KF-Prison": "Prison*",
"KF-Sanitarium": "Sanitarium",
"KF-Santasworkshop": "Santa's Workshop",
"KF-ShoppingSpree": "Shopping Spree",
"KF-Spillway": "Spillway",
"KF-SteamFortress": "Steam Fortress",
"KF-TheDescent": "The Descent",
"KF-TragicKingdom": "Tragic Kingdom",
"KF-VolterManor": "Volter Manor*",
"KF-ZedLanding": "ZedLanding"
}
},
{
"DisplayName": "Starting Game Mode",
"Category": "Server Config",
"Description": "Set the server's starting game mode. Not all game modes work with all maps.",
"Keywords": "Game,mode",
"FieldName": "Game",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "Game",
"IncludeInCommandLine": false,
"DefaultValue": "KFGameContent.KFGameInfo_Survival",
"EnumValues": {
"KFGameContent.KFGameInfo_Survival": "Survival",
"KFGameContent.KFGameInfo_WeeklySurvival": "Weekly",
"KFGameContent.KFGameInfo_VersusSurvival": "Versus",
"KFGameContent.KFGameInfo_Endless": "Endless",
"KFGameContent.KFGameInfo_Objective": "Objective"
}
},
{
"DisplayName": "Enable Web Admin",
"Category": "Server Config",
"Description": "Allows managing the server in a browser using the IP:RemoteAdminPort (from ADS Edit Ports menu).",
"Keywords": "web,admin",
"FieldName": "bEnabled",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "IpDrv.WebServer.bEnabled",
"IncludeInCommandLine": false,
"DefaultValue": "true",
"EnumValues": {
"True": "true",
"False": "false"
}
},
{
"DisplayName": "Admin Password",
"Category": "Server Config",
"Description": "Password to become admin in-game. Username is \"admin\". Change this after install.",
"Keywords": "admin,password",
"FieldName": "AdminPassword",
"InputType": "RandomPassword",
"IsFlagArgument": false,
"ParamFieldName": "Engine.AccessControl.AdminPassword",
"IncludeInCommandLine": false,
"DefaultValue": "Password123",
"EnumValues": {}
},
{
"DisplayName": "Game Password",
"Category": "Server Config",
"Description": "Password to join the game. Change this after install.",
"Keywords": "game,password",
"FieldName": "GamePassword",
"InputType": "password",
"IsFlagArgument": false,
"ParamFieldName": "Engine.AccessControl.GamePassword",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
},
{
"DisplayName": "Server Name",
"Category": "Server Config",
"Description": "The name to be displayed in the server browser.",
"Keywords": "server,name",
"FieldName": "ServerName",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "Engine.GameReplicationInfo.ServerName",
"IncludeInCommandLine": false,
"DefaultValue": "AMP Powered KF2 Server",
"EnumValues": {}
},
{
"DisplayName": "Max Players",
"Category": "Server Config",
"Description": "Set server maximum amount of players.",
"Keywords": "Max,Users,players",
"FieldName": "$MaxUsers",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "maxplayers",
"IncludeInCommandLine": false,
"DefaultValue": "6",
"EnumValues": {}
},
{
"DisplayName": "Max Spectators",
"Category": "Server Config",
"Description": "Set server maximum amount of spectators.",
"Keywords": "Max,spectators",
"FieldName": "MaxSpectators",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "Engine.GameInfo.MaxSpectators",
"IncludeInCommandLine": false,
"DefaultValue": "2",
"EnumValues": {}
},
{
"DisplayName": "Difficulty",
"Category": "Server Config",
"Description": "Sets the difficulty level.",
"Keywords": "game,difficulty",
"FieldName": "GameDifficulty",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "Engine.GameInfo.GameDifficulty",
"IncludeInCommandLine": false,
"DefaultValue": "0",
"EnumValues": {
"0": "Normal",
"1": "Hard",
"2": "Suicidal",
"3": "Hell on Earth"
}
},
{
"DisplayName": "Admin Can Pause?",
"Category": "Server Config",
"Description": "Allows the admin to pause the game.",
"Keywords": "admin,pause",
"FieldName": "bAdminCanPause",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "Engine.GameInfo.bAdminCanPause",
"IncludeInCommandLine": false,
"DefaultValue": "false",
"EnumValues": {
"True": "true",
"False": "false"
}
},
{
"DisplayName": "Change Levels?",
"Category": "Server Config",
"Description": "Whether or not the game will change levels or loop the same.",
"Keywords": "change,levels",
"FieldName": "bChangeLevels",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "Engine.GameInfo.bChangeLevels",
"IncludeInCommandLine": false,
"DefaultValue": "true",
"EnumValues": {
"True": "true",
"False": "false"
}
},
{
"DisplayName": "Clan Motto",
"Category": "Server Config",
"Description": "Clan motto displayed when a user joins.",
"Keywords": "clan,motto",
"FieldName": "ClanMotto",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "KFGame.KFGameInfo.ClanMotto",
"IncludeInCommandLine": false,
"DefaultValue": "We are the AMP clan!",
"EnumValues": {}
},
{
"DisplayName": "MOTD",
"Category": "Server Config",
"Description": "MOTD when a user joins.",
"Keywords": "Server,MOTD",
"FieldName": "ServerMOTD",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "KFGame.KFGameInfo.ServerMOTD",
"IncludeInCommandLine": false,
"DefaultValue": "Welcome to our server. \\n \\n Have fun and good luck!",
"EnumValues": {}
},
{
"DisplayName": "MOTD Banner Link",
"Category": "Server Config",
"Description": "Image location for MOTD banner.",
"Keywords": "Banner,Link",
"FieldName": "BannerLink",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "KFGame.KFGameInfo.BannerLink",
"IncludeInCommandLine": false,
"DefaultValue": "http://art.tripwirecdn.com/TestItemIcons/MOTDServer.png",
"EnumValues": {}
},
{
"DisplayName": "MOTD Website Link",
"Category": "Server Config",
"Description": "Link displayed on MOTD.",
"Keywords": "Website,Link",
"FieldName": "WebsiteLink",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "KFGame.KFGameInfo.WebsiteLink",
"IncludeInCommandLine": false,
"DefaultValue": "https://cubecoders.com/AMP",
"EnumValues": {}
}
]

View File

@ -0,0 +1,17 @@
[
{
"ConfigFile": "./KFGame/Config/PCServer-KFGame.ini",
"AutoMap": true,
"ConfigType": "ini"
},
{
"ConfigFile": "./KFGame/Config/LinuxServer-KFGame.ini",
"AutoMap": true,
"ConfigType": "ini"
},
{
"ConfigFile": "./KFGame/Config/KFWeb.ini",
"AutoMap": true,
"ConfigType": "ini"
}
]