From bc5a5fafdd6ea010536d55f77ec3e1dcfddef5fb Mon Sep 17 00:00:00 2001 From: chasx003 Date: Sat, 4 May 2019 21:40:12 -0500 Subject: [PATCH 1/3] add KillingFloor 2 egg --- source_servers/killingfloor2/README.md | 19 ++++ .../killingfloor2/egg-killing-floor2.json | 90 +++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 source_servers/killingfloor2/README.md create mode 100644 source_servers/killingfloor2/egg-killing-floor2.json diff --git a/source_servers/killingfloor2/README.md b/source_servers/killingfloor2/README.md new file mode 100644 index 00000000..abb3ecec --- /dev/null +++ b/source_servers/killingfloor2/README.md @@ -0,0 +1,19 @@ +# Killing Floor 2 +Steam Description +In KILLING FLOOR 2, players descend into continental Europe where the outbreak caused by Horzine Biotech’s failed experiment has quickly spread and gained unstoppable momentum, essentially paralyzing the European Union— Just one month after the events in the original KILLING FLOOR, the specimen clones are everywhere and civilization is in disarray; communications have failed, governments have collapsed, and military forces have been systematically eradicated. The people of Europe know survival and self-preservation too well and lucky survivors have gone into hiding. + +Not all have given up hope though... A group of civilians and mercenaries have banded together to combat the outbreak and established privately funded operation bases across Europe. Upon tracking specimen clone outbreaks, players will descend into zed-laden hot zones and exterminate them. + + +### Server Ports +Killing Floor 2 requires 2 ports with an optional 1 for web management + +game port (default 7777) +query port (default 27015) +web admin (default 8080) + +| Port | default | +|---------|---------------| +| Game | 7777 | +| Query | 27015 | +| WebAdmin| 8080 | \ No newline at end of file diff --git a/source_servers/killingfloor2/egg-killing-floor2.json b/source_servers/killingfloor2/egg-killing-floor2.json new file mode 100644 index 00000000..9db88648 --- /dev/null +++ b/source_servers/killingfloor2/egg-killing-floor2.json @@ -0,0 +1,90 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2019-05-04T21:31:28-05:00", + "name": "Killing Floor 2", + "author": "chazx", + "description": "Killing Floor 2 Egg\r\n\r\n2 IPs required , 1 optional (for web admin interface), can use the web interface to set other options, or edit ini's in KFGame\/Config\/", + "image": "quay.io\/pterodactyl\/core:source", + "startup": ".\/Binaries\/Win64\/KFGameSteamServer.bin.x86_64 kf-bioticslab?AdminName={{WEB_ADMIN_NAME}}?AdminPassword={{WEB_ADMIN_PASSWORD}}?Difficulty={{GAME_DIFFICULTY}}?MaxPlayers={{MAX_PLAYERS}} -Port={{SERVER_PORT}} -WebAdminPort={{WEB_ADMIN_PORT}} -QueryPort={{STEAM_QUERY_PORT}}", + "config": { + "files": "{\r\n \"KFGame\/Config\/KFWeb.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"IpDrv.WebServer.bEnabled\": \"true\",\r\n \"IpDrv.WebServer.ListenPort\": \"{{server.build.env.WEB_ADMIN_PORT}}\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"DevOnline: Server data\",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Killing Floor 2 Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steamcmd \/mnt\/server\/logs\r\nmkdir -p \/mnt\/server\/KFGame\/Cache\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 232130 +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so", + "container": "ubuntu:18.04", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Max Players", + "description": "Maximum Players", + "env_variable": "MAX_PLAYERS", + "default_value": "12", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:12" + }, + { + "name": "Difficulty", + "description": "0 = Normal, 1 = Hard, 2 = Suicidal, 3 = Hell on Earth", + "env_variable": "GAME_DIFFICULTY", + "default_value": "1", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:3" + }, + { + "name": "Source APP ID", + "description": "Steam APP ID", + "env_variable": "SRCDS_APPID", + "default_value": "232130", + "user_viewable": 0, + "user_editable": 0, + "rules": "required|string|max:20" + }, + { + "name": "Web Admin Port", + "description": "Pass an allocated port to access the web interface", + "env_variable": "WEB_ADMIN_PORT", + "default_value": "8080", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:20" + }, + { + "name": "Steam Query Port", + "description": "Steam Query Port", + "env_variable": "STEAM_QUERY_PORT", + "default_value": "27015", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:20" + }, + { + "name": "Admin Name", + "description": "Admin Name for Web Portal", + "env_variable": "WEB_ADMIN_NAME", + "default_value": "admin", + "user_viewable": 1, + "user_editable": 1, + "rules": "nullable|string|max:20" + }, + { + "name": "Web Admin Password", + "description": "Web admin password", + "env_variable": "WEB_ADMIN_PASSWORD", + "default_value": "password", + "user_viewable": 1, + "user_editable": 1, + "rules": "nullable|string|max:20" + } + ] +} \ No newline at end of file From 5bd1a1f4dd1d2828101457730a5e30f1116e60c3 Mon Sep 17 00:00:00 2001 From: chasx003 <4624854+chasx003@users.noreply.github.com> Date: Sat, 4 May 2019 22:24:35 -0500 Subject: [PATCH 2/3] update README.md with killingfloor2 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 335b29d1..d924c6df 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ If you are reading this it looks like you are looking to add an egg to your serv * [PixARK](/source_servers/pixark/) * [Rust Staging Branch](/source_servers/rust-staging/) * [Starbound](/source_servers/starbound) +* [Killing Floor 2](/source_servers/killingfloor2) [Unreal Engine](/unreal_engine) * [Tower Unit](/unreal_engine/tower_unit/) From 34ad47b9ac83ba4c7fb808a484a8c7b32b973e45 Mon Sep 17 00:00:00 2001 From: chasx003 <4624854+chasx003@users.noreply.github.com> Date: Thu, 9 May 2019 19:51:18 -0500 Subject: [PATCH 3/3] fix author --- source_servers/killingfloor2/egg-killing-floor2.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source_servers/killingfloor2/egg-killing-floor2.json b/source_servers/killingfloor2/egg-killing-floor2.json index 9db88648..81232744 100644 --- a/source_servers/killingfloor2/egg-killing-floor2.json +++ b/source_servers/killingfloor2/egg-killing-floor2.json @@ -5,7 +5,7 @@ }, "exported_at": "2019-05-04T21:31:28-05:00", "name": "Killing Floor 2", - "author": "chazx", + "author": "trey@chazx.cc", "description": "Killing Floor 2 Egg\r\n\r\n2 IPs required , 1 optional (for web admin interface), can use the web interface to set other options, or edit ini's in KFGame\/Config\/", "image": "quay.io\/pterodactyl\/core:source", "startup": ".\/Binaries\/Win64\/KFGameSteamServer.bin.x86_64 kf-bioticslab?AdminName={{WEB_ADMIN_NAME}}?AdminPassword={{WEB_ADMIN_PASSWORD}}?Difficulty={{GAME_DIFFICULTY}}?MaxPlayers={{MAX_PLAYERS}} -Port={{SERVER_PORT}} -WebAdminPort={{WEB_ADMIN_PORT}} -QueryPort={{STEAM_QUERY_PORT}}", @@ -87,4 +87,4 @@ "rules": "nullable|string|max:20" } ] -} \ No newline at end of file +}