forked from pelican-eggs/eggs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-better-crewlink-server.json
92 lines (92 loc) · 3.67 KB
/
egg-better-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
83
84
85
86
87
88
89
90
91
92
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2022-07-25T23:48:33+02:00",
"name": "BetterCrewlink Server",
"author": "[email protected]",
"description": "An egg designed to allow support for Proximity Chat in Among Us using BetterCrewLink Server",
"features": null,
"docker_images": {
"ghcr.io\/parkervcp\/yolks:nodejs_12": "ghcr.io\/parkervcp\/yolks:nodejs_12"
},
"file_denylist": [],
"startup": "yarn start",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"<info> BetterCrewLink 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\/OhMyGuus\/BetterCrewLink-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": "Select one of the available BetterCrewLink-server branches. Master per default.",
"env_variable": "BRANCH",
"default_value": "master",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "Domain",
"description": "Domain of your server or ip of your server",
"env_variable": "HOSTNAME",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:50",
"field_type": "text"
},
{
"name": "Server name",
"description": "Specifiy the name of your BetterCrewLink server",
"env_variable": "NAME",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:75",
"field_type": "text"
},
{
"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",
"field_type": "text"
},
{
"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",
"field_type": "text"
},
{
"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",
"field_type": "text"
}
]
}