-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg.json
45 lines (45 loc) · 1.98 KB
/
egg.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2020-08-27T08:34:25+00:00",
"name": "SRVPro",
"author": "[email protected]",
"description": "A YGOPro Server.",
"image": "git-registry.mycard.moe\/mycard\/srvpro-pterodactyl",
"startup": "node ygopro-server.js",
"config": {
"files": "{\r\n \"config\/config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"modules.welcome\": \"{{env.WELCOME}}\",\r\n \"modules.windbot.spawn\": true,\r\n \"modules.http.port\": \"{{env.HTTP_PORT}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"server started\",\r\n \"userInteraction\": []\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\ncd \/mnt\/server\r\nmv \/ygopro-server\/* .\r\ncp data\/default_config.json config\/config.json",
"container": "git-registry.mycard.moe\/mycard\/srvpro:latest",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Welcome Message",
"description": "The welcome message displayed when entering the server.",
"env_variable": "WELCOME",
"default_value": "MyCard YGOPro Server",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|string"
},
{
"name": "HTTP Port",
"description": "The port for HTTP API used for SRVPro Dashboard at http:\/\/srvpro.ygo233.com\/dashboard.html. Please set this value same to the other allocated port.",
"env_variable": "HTTP_PORT",
"default_value": "7922",
"user_viewable": 1,
"user_editable": 0,
"rules": "required|integer"
}
]
}