From 08c06c1c524a7b563bc5067c46bcab0445e9c878 Mon Sep 17 00:00:00 2001 From: "Michael (Parker) Parker" Date: Sat, 3 Nov 2018 11:36:22 -0400 Subject: [PATCH] scp secret lab testing branch --- .../scp-secret_laboratory/config.txt | 20 +++++++ .../egg-s-c-p--secret-laboratory.json | 54 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 source_servers/scp-secret_laboratory/config.txt create mode 100644 source_servers/scp-secret_laboratory/egg-s-c-p--secret-laboratory.json diff --git a/source_servers/scp-secret_laboratory/config.txt b/source_servers/scp-secret_laboratory/config.txt new file mode 100644 index 00000000..490f9dda --- /dev/null +++ b/source_servers/scp-secret_laboratory/config.txt @@ -0,0 +1,20 @@ +GAME SETTINGS: +minimum_MTF_time_to_spawn = 350; +maximum_MTF_time_to_spawn = 470; +ci_respawn_percent = 30; +ci_on_start_percent = 10; +team_respawn_queue = 40143140314414041340; +server_forced_class = -1; (-1 = random) +map_seed = -1; (-1 = random) +intercom_cooldown = 60; +intercom_max_speech_time = 60; +auto_round_restart_time = 15; +friendly_fire = true; + +/////////////////////////////////// + +THESE SETTINGS REQUIRES THE GAME TO RESTART: +server_ip = auto; +server_name = SERVER NAME +administrator_password = verysecretpassword_imnotusingthisactually_soyoudontneedtopointyoutomethatishouldchangethiskthxbye +port_queue = 7777; \ No newline at end of file diff --git a/source_servers/scp-secret_laboratory/egg-s-c-p--secret-laboratory.json b/source_servers/scp-secret_laboratory/egg-s-c-p--secret-laboratory.json new file mode 100644 index 00000000..85c3fc27 --- /dev/null +++ b/source_servers/scp-secret_laboratory/egg-s-c-p--secret-laboratory.json @@ -0,0 +1,54 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2018-11-03T11:35:34-04:00", + "name": "SCP: Secret Laboratory", + "author": "parker@parkervcp.com", + "description": "SCP: Secret Laboratory is a multiplayer horror game, based on SCP - Containment Breach by Undertow Games (in 2012). To create this game, Unity engine was used to provide higher stability and more details. Still being in the beta phase, the game can contain a number of bugs and errors which are usually spotted by a large team of testers and fixed quickly after.", + "image": "quay.io\/parkervcp\/pterodactyl-images:mono-debian", + "startup": "\/usr\/bin\/mono ~\/MultiAdmin.exe server", + "config": { + "files": "{\r\n \"servers\/server\/config.txt\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port_queue:\\n - 7777\": \"port_queue:\\n - {{server.build.default.port}}\",\r\n \"max_players:\": \"max_players: {{server.build.env.MAX_PLAYERS}}\",\r\n \"server_name:\": \"server_name: {{server.build.env.SERVER_NAME}}\",\r\n \"contact_email:\": \"contact_email: {{server.build.env.CONTACT_EMAIL}}\"\r\n }\r\n }\r\n}", + "startup": "{}", + "logs": "{}", + "stop": "EXIT" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# SCP: Secret Laboratory 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 \/mnt\/server\/logs\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 786920 -beta beta validate +quit\r\n\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 number of players that can join the server", + "env_variable": "MAX_PLAYERS", + "default_value": "20", + "user_viewable": 1, + "user_editable": 0, + "rules": "required|numeric|digits_between:1,3" + }, + { + "name": "Server Name", + "description": "The public name for the server.", + "env_variable": "SERVER_NAME", + "default_value": "My Server Name", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:20" + }, + { + "name": "Contact Email", + "description": "This is required to have you server show up on the server list.", + "env_variable": "CONTACT_EMAIL", + "default_value": "", + "user_viewable": 1, + "user_editable": 1, + "rules": "nullable|string|max:32" + } + ] +} \ No newline at end of file