Skip to content

Commit 5fc4585

Browse files
authored
Add files via upload
0 parents  commit 5fc4585

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

Diff for: egg-sun-proxy.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
3+
"meta": {
4+
"version": "PTDL_v1",
5+
"update_url": null
6+
},
7+
"exported_at": "2021-01-02T20:33:01+01:00",
8+
"name": "SunProxy",
9+
"author": "[email protected]",
10+
"description": "A Ptero Egg for the Sun Proxy.",
11+
"features": null,
12+
"images": [
13+
"quay.io\/parkervcp\/pterodactyl-images:base_debian"
14+
],
15+
"startup": ".\/{{SUN_FILE}}",
16+
"config": {
17+
"files": "{\r\n \"config.yml\": {\r\n \"parser\": \"yml\",\r\n \"find\": {\r\n \"proxy\": {\r\n \"port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n }\r\n}",
18+
"startup": "{\r\n \"done\": \"Starting Sun On \"\r\n}",
19+
"logs": "{}",
20+
"stop": "^C"
21+
},
22+
"scripts": {
23+
"installation": {
24+
"script": "#!\/bin\/bash\r\necho -e \"Installing required dependencies\"\r\napt update\r\napt install -y wget dos2unix\r\n\r\nif [ ! -d \/mnt\/server ]; then\r\n mkdir \/mnt\/server\r\nfi\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"Downloading the latest SunProxy build\"\r\nwget -qO sun_linux64 https:\/\/sunproxy.ml\/api\/v0\/download.php --show-progress\r\nchmod +x sun_linux64\r\necho -e \"Download the default SunProxy config\"\r\nwget -qO config.yml https:\/\/raw.githubusercontent.com\/AetherPlace\/PterodactylEggs\/main\/sunproxy\/config.yml --show-progress\r\ndos2unix -q config.yml\r\necho -e \"Installation complete\"",
25+
"container": "debian:buster-slim",
26+
"entrypoint": "bash"
27+
}
28+
},
29+
"variables": [
30+
{
31+
"name": "SUN_FILE",
32+
"description": "The Sun File name",
33+
"env_variable": "SUN_FILE",
34+
"default_value": "sun_linux64",
35+
"user_viewable": true,
36+
"user_editable": true,
37+
"rules": "required|string|max:20"
38+
}
39+
]
40+
}

0 commit comments

Comments
 (0)