eggs/source_servers/scp-secret_laboratory/egg-s-c-p--secret-laboratory.json
2018-11-03 11:36:22 -04:00

54 lines
3.4 KiB
JSON

{
"_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"
}
]
}