forked from pelican-eggs/eggs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-crewlink-server.json
82 lines (82 loc) · 3.32 KB
/
egg-crewlink-server.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2020-12-16T20:11:55+01:00",
"name": "Crewlink server",
"author": "[email protected]",
"description": "An egg designed to allow support for Proximity Chat in Among Us using CrewLink Server",
"features": null,
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12",
"startup": "yarn start",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"<info> CrewLink Server started\"\r\n}",
"logs": "{}",
"stop": "^c"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y git\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\nINSTALL_REPO=\"https:\/\/github.com\/ottomated\/crewlink-server.git\"\r\necho -e Install repo set to ${INSTALL_REPO}\r\necho -e \"\/mnt\/server is empty.\\ncloning files from repo\"\r\necho -e \"running 'git clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .'\"\r\ngit clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .\r\n\r\nif [ -f \/mnt\/server\/package.json ]; then\r\n \/usr\/local\/bin\/yarn install\r\nfi\r\n\r\necho -e \"install complete\"\r\nexit 0",
"container": "node:12-buster-slim",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Github branch",
"description": "Set this to 'devel' if you wanna run a develop server.",
"env_variable": "BRANCH",
"default_value": "master",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
},
{
"name": "Domain",
"description": "Domain of your server or ip of your server",
"env_variable": "ADDRESS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:50"
},
{
"name": "Server name",
"description": "Specifiy the name of your Crewlink server",
"env_variable": "NAME",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:75"
},
{
"name": "Use HTTPS",
"description": "Enables https. You must place privkey.pem and fullchain.pem in your CWD.",
"env_variable": "HTTPS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:20"
},
{
"name": "Path to SSL",
"description": "Alternate path to SSL certificates.",
"env_variable": "SSLPATH",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:250"
},
{
"name": "Port",
"description": "Choose the port your server should run on",
"env_variable": "PORT",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
}
]
}