|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
3
|
|
"meta": {
|
|
展开 3 行未改动
|
|
4
|
|
"version": "PTDL_v2",
|
|
5
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/104/download/egg-scpsl-exiled.json"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2026-06-08T07:39:34+00:00",
|
|
8
|
|
"name": "SCP:SL - Exiled",
|
|
9
|
|
"author": "info@goover.de",
|
|
10
|
-
|
"description": "Egg for SCP: Secret Laboratory Dedicated Linux Server with Exiled Plugin Framework",
|
|
|
|
|
|
11
|
|
"features": [
|
|
12
|
|
"steam_disk_space"
|
|
13
|
|
],
|
|
展开 28 行未改动
|
|
14
|
|
"docker_images": {
|
|
15
|
|
"Mono latest": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:mono_latest"
|
|
16
|
|
},
|
|
17
|
|
"file_denylist": [],
|
|
18
|
|
"startup": "./LocalAdmin {{SERVER_PORT}}",
|
|
19
|
|
"config": {
|
|
20
|
|
"files": "{}",
|
|
21
|
|
"startup": "{\r\n \"done\": \"Waiting for players..\"\r\n}",
|
|
22
|
|
"logs": "{}",
|
|
23
|
|
"stop": "EXIT"
|
|
24
|
|
},
|
|
25
|
|
"scripts": {
|
|
26
|
|
"installation": {
|
|
27
|
|
"script": "#!/bin/bash\n# steamcmd Base Installation Script\n#\n# Server Files: /mnt/server\n\n#apt -y update\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\n\n## just in case someone removed the defaults.\nif [ \"${STEAM_USER}\" == \"\" ]; then\n echo -e \"steam user is not set.\\n\"\n echo -e \"Using anonymous user.\\n\"\n STEAM_USER=anonymous\n STEAM_PASS=\"\"\n STEAM_AUTH=\"\"\nelse\n echo -e \"user set to ${STEAM_USER}\"\nfi\n\n## download and install steamcmd\ncd /tmp\nmkdir -p /mnt/server/steamcmd\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd\ncd /mnt/server/steamcmd\n\n# SteamCMD fails otherwise for some reason, even running as root.\n# This is changed at the end of the install process anyways.\nchown -R root:root /mnt\nexport HOME=/mnt/server\n\n## install game using steamcmd\n./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\n\n## set up 32 bit libraries\nmkdir -p /mnt/server/.steam/sdk32\ncp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so\n\n## set up 64 bit libraries\nmkdir -p /mnt/server/.steam/sdk64\ncp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so\n\nmkdir -p $HOME/.config\n\n# Install Exiled\n\n## get release info and download links\nLATEST_JSON=$(curl --silent \"https://api.github.com/repos/ExMod-Team/EXILED/releases/latest\")\nRELEASES=$(curl --silent \"https://api.github.com/repos/ExMod-Team/EXILED/releases\")\n\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i Exiled.tar.gz)\nelse\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i Exiled.tar.gz)\n else\n echo -e \"defaulting to latest release\"\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\n fi\nfi\nif [ ! -z \"${DOWNLOAD_URL}\" ]; then\n if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then\n echo -e \"link is valid. setting download link to ${DOWNLOAD_URL}\"\n DOWNLOAD_LINK=${DOWNLOAD_URL}\n else\n echo -e \"link is invalid closing out\"\n exit 2\n fi\nfi\n\ncurl -sSL -o Exiled.tar.gz ${DOWNLOAD_LINK}\ntar -xzvmf Exiled.tar.gz\nrm -rf Exiled.tar.gz\n\ncp -r \"SCP Secret Laboratory\" /mnt/server/.config/\nrm -rf \"SCP Secret Laboratory\"\ncp -r EXILED /mnt/server/.config/\nrm -rf EXILED\necho \"-----------------------------------------\"\necho \"Installation completed...\"\necho \"-----------------------------------------\"",
|
|
28
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
|
|
29
|
|
"entrypoint": "bash"
|
|
30
|
|
}
|
|
31
|
|
},
|
|
32
|
|
"variables": [
|
|
33
|
|
{
|
|
34
|
|
"name": "SRCDS_APPID",
|
|
35
|
|
"description": "",
|
|
36
|
|
"env_variable": "SRCDS_APPID",
|
|
37
|
|
"default_value": "996560",
|
|
38
|
|
"user_viewable": true,
|
|
39
|
|
"user_editable": false,
|
|
40
|
|
"rules": "required|string|in:996560",
|
|
41
|
|
"field_type": "text"
|
|
42
|
|
},
|
|
43
|
|
{
|
|
44
|
|
"name": "Dotnet Bundle",
|
|
45
|
-
|
"description": "Only used for EXILED Framework Updater.",
|
|
|
|
|
|
46
|
|
"env_variable": "DOTNET_BUNDLE_EXTRACT_BASE_DIR",
|
|
47
|
|
"default_value": "./dotnet-bundle",
|
|
48
|
|
"user_viewable": false,
|
|
49
|
|
"user_editable": false,
|
|
50
|
|
"rules": "required|string",
|
|
51
|
|
"field_type": "text"
|
|
52
|
|
},
|
|
53
|
|
{
|
|
54
|
-
|
"name": "Version",
|
|
|
|
|
|
55
|
|
"description": "",
|
|
56
|
|
"env_variable": "VERSION",
|
|
57
|
|
"default_value": "latest",
|
|
展开 3 行未改动
|
|
58
|
|
"user_viewable": true,
|
|
59
|
|
"user_editable": true,
|
|
60
|
|
"rules": "required|string|max:20",
|
|
61
|
|
"field_type": "text"
|
|
62
|
|
},
|
|
63
|
|
{
|
|
64
|
-
|
"name": "Auto Update",
|
|
|
|
|
|
65
|
|
"description": "",
|
|
66
|
|
"env_variable": "AUTO_UPDATE",
|
|
67
|
|
"default_value": "0",
|
|
展开 4 行未改动
|
|
68
|
|
"user_viewable": true,
|
|
69
|
|
"user_editable": true,
|
|
70
|
|
"rules": "boolean",
|
|
71
|
|
"field_type": "text"
|
|
72
|
|
}
|
|
73
|
|
]
|
|
74
|
|
}
|