|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
3
|
|
"meta": {
|
|
展开 40 行未改动
|
|
4
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/158/download/egg-ftb-revelation.json",
|
|
5
|
|
"version": "PTDL_v2"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2024-06-01T19:39:44+00:00",
|
|
8
|
|
"name": "FTB Revelation",
|
|
9
|
|
"author": "aevum@decess.us",
|
|
10
|
|
"description": "Revelation is a general all-purpose pack that is designed for solo play as well as small and medium population servers. This pack contains a mix of magic, tech and exploration mods, and is the largest pack ever built and released by the Feed The Beast Team.",
|
|
11
|
|
"features": [
|
|
12
|
|
"eula",
|
|
13
|
|
"java_version",
|
|
14
|
|
"pid_limit"
|
|
15
|
|
],
|
|
16
|
|
"docker_images": {
|
|
17
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_8": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_8"
|
|
18
|
|
},
|
|
19
|
|
"file_denylist": [],
|
|
20
|
|
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar FTBserver-*.jar",
|
|
21
|
|
"config": {
|
|
22
|
|
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
|
23
|
|
"logs": "{}",
|
|
24
|
|
"startup": "{\r\n \"done\": \")! For help, type \"\r\n}",
|
|
25
|
|
"stop": "stop"
|
|
26
|
|
},
|
|
27
|
|
"scripts": {
|
|
28
|
|
"installation": {
|
|
29
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:alpine",
|
|
30
|
|
"entrypoint": "ash",
|
|
31
|
|
"script": "#!/bin/ash\r\n# Forge Installation Script\r\n#\r\n# Server Files: /mnt/server\r\n\r\nBASEURL=https://www.feed-the-beast.com/projects/ftb-revelation/files\r\nPATTERN=\"(projects\\/ftb-revelation\\/files\\/\\d{7,})\"\r\nID=`curl -sl ${BASEURL}| grep -A2 ${MODPACK_VERSION} | grep -oE \"${PATTERN}\"`\r\nSECONDURL=https://www.feed-the-beast.com/${ID}\r\nGOOD_ID=`curl -sl ${SECONDURL} | grep -B2 Server_${MODPACK_VERSION}.zip | grep -oE \"${PATTERN}\"`\r\n\r\nDL_URL=https://www.feed-the-beast.com/${GOOD_ID}/download\r\n\r\ncd /mnt/server\r\n\r\ncurl -L ${DL_URL} -o ftbrevelations-${MODPACK_VERSION}.zip\r\n\r\nunzip ftbrevelations-${MODPACK_VERSION}.zip\r\n\r\nrm -rf ftbrevelations-${MODPACK_VERSION}.zip\r\n\r\nsh ./FTBInstall.sh\r\n\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
|
|
32
|
|
}
|
|
33
|
|
},
|
|
34
|
|
"variables": [
|
|
35
|
|
{
|
|
36
|
|
"name": "Modpack Version",
|
|
37
|
|
"description": "Version of the modpack to use",
|
|
38
|
|
"env_variable": "MODPACK_VERSION",
|
|
39
|
|
"default_value": "2.4.1",
|
|
40
|
|
"user_viewable": true,
|
|
41
|
|
"user_editable": true,
|
|
42
|
|
"rules": "required|string|max:20",
|
|
43
|
|
"field_type": "text"
|
|
44
|
|
}
|
|
45
|
|
]
|
|
46
|
|
}
|