From dd4af121cfa131953f59620d907298007a3bbb8b Mon Sep 17 00:00:00 2001 From: Baconator Date: Fri, 8 Mar 2019 22:47:36 +0100 Subject: [PATCH 1/3] Add files via upload --- source_servers/svencoop/egg-sven-co-op.json | 72 +++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 source_servers/svencoop/egg-sven-co-op.json diff --git a/source_servers/svencoop/egg-sven-co-op.json b/source_servers/svencoop/egg-sven-co-op.json new file mode 100644 index 00000000..7bc00475 --- /dev/null +++ b/source_servers/svencoop/egg-sven-co-op.json @@ -0,0 +1,72 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2019-03-08T22:46:21+01:00", + "name": "Sven Co-op", + "author": "pteroducktyl@yildri.nl", + "description": "Sven Co-op is a co-operative game originally based around Valve Software's Half-Life. In this game players must work together against computer controlled enemies and solve puzzles as a team.", + "image": "quay.io\/pterodactyl\/core:source", + "startup": ".\/svends_run -console -port {{SERVER_PORT}} +maxplayers {{SC_PLAYERS}} +map {{SC_MAP}} +ip 0.0.0.0 -strictportbind -norestart", + "config": { + "files": "{\r\n \"svencoop\/server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"hostname\": \"hostname \\\"{{env.SC_NAME}}\\\"\",\r\n \"sv_password\": \"sv_password \\\"{{env.SC_PASSWORD}}\\\"\",\r\n \"\/\/sv_password\": \"sv_password \\\"{{env.SC_PASSWORD}}\\\"\",\r\n \"sv_region\": \"sv_region {{env.SC_REGION}}\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"Connection to Steam servers successful.\",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "stop": "quit" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Sven co-op Base 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\n\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steamcmd\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\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\n\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 276060 validate +quit\r\n\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so", + "container": "ubuntu:16.04", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Default Map", + "description": "The default map for the server.", + "env_variable": "SC_MAP", + "default_value": "svencoop1", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string" + }, + { + "name": "Max Players", + "description": "The maximum amount of players that can play on the server at once.", + "env_variable": "SC_PLAYERS", + "default_value": "12", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|numeric|between:2,32" + }, + { + "name": "Server Name", + "description": "The name your server will appear as on the in Sven Co-op in-game server list.", + "env_variable": "SC_NAME", + "default_value": "Sven Co-op server", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:40" + }, + { + "name": "Password", + "description": "Password required to join the server. Leave blank to disable.", + "env_variable": "SC_PASSWORD", + "default_value": "", + "user_viewable": 1, + "user_editable": 1, + "rules": "nullable|string|max:20" + }, + { + "name": "Region", + "description": "The region your server is in. This is used in Steam's server browser, so players can look for servers near by. This does not restrict players from connecting to your server.\r\n\r\n-1: Do not list server in the server browser.\r\n0: USA east coast.\r\n1: USA west coast.\r\n2: South America (continent)\r\n3: Europe.\r\n4: Asia.\r\n5: Australia (continent, aka Oceania)\r\n6: Middle East.\r\n7: Africa.\r\n255: International.", + "env_variable": "SC_REGION", + "default_value": "255", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|numeric|between:-1,255" + } + ] +} \ No newline at end of file From a5d94c394113ce3e8f590bc5f135041df1fc6680 Mon Sep 17 00:00:00 2001 From: Baconator Date: Fri, 8 Mar 2019 22:51:13 +0100 Subject: [PATCH 2/3] Create README.md --- source_servers/svencoop/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 source_servers/svencoop/README.md diff --git a/source_servers/svencoop/README.md b/source_servers/svencoop/README.md new file mode 100644 index 00000000..ce233c73 --- /dev/null +++ b/source_servers/svencoop/README.md @@ -0,0 +1,11 @@ +# Sven Co-op +Sven Co-op is a co-operative game originally based around Valve Software's Half-Life. In this game players must work together against computer controlled enemies and solve puzzles as a team. + +### Server Ports +Sven co-op requires a single port to be opened + +game ports (default 27015 ) + +| Port | default | +|---------|---------| +| Game | 27015 | From b683da99d0ae01aa44c661c48667b1c7d089dff0 Mon Sep 17 00:00:00 2001 From: Baconator Date: Fri, 8 Mar 2019 22:54:58 +0100 Subject: [PATCH 3/3] Add Sven Co-op to the main README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5ed24c56..72973bee 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ If you submit a PR without filling out the template I will deny it. This is for * [PixARK](/source_servers/pixark/) * [Rust Staging Branch](/source_servers/rust-staging/) * [Starbound](/source_servers/starbound) +* [Sven Co-op](/source_servers/svencoop) [Squad](/squad/)