|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
3
|
|
"meta": {
|
|
展开 53 行未改动
|
|
4
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/193/download/egg-viaaas.json",
|
|
5
|
|
"version": "PTDL_v2"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2024-06-01T19:40:09+00:00",
|
|
8
|
|
"name": "VIAaaS",
|
|
9
|
|
"author": "regulad@outlook.com",
|
|
10
|
|
"description": "VIAaaS - ViaVersion as a Service - Standalone ViaVersion proxy",
|
|
11
|
|
"features": [
|
|
12
|
|
"eula",
|
|
13
|
|
"java_version",
|
|
14
|
|
"pid_limit"
|
|
15
|
|
],
|
|
16
|
|
"docker_images": {
|
|
17
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_11": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_11",
|
|
18
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_16": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_16",
|
|
19
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_17": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_17",
|
|
20
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_8": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_8"
|
|
21
|
|
},
|
|
22
|
|
"file_denylist": [],
|
|
23
|
|
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}} -sslPort={{WEBSERVER_PORT}}",
|
|
24
|
|
"config": {
|
|
25
|
|
"files": "{\r\n \"config/viaaas.yml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"bind-address\": \"0.0.0.0\"\r\n }\r\n }\r\n}",
|
|
26
|
|
"logs": "{}",
|
|
27
|
|
"startup": "{\r\n \"done\": \"Application started in \"\r\n}",
|
|
28
|
|
"stop": "end"
|
|
29
|
|
},
|
|
30
|
|
"scripts": {
|
|
31
|
|
"installation": {
|
|
32
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:alpine",
|
|
33
|
|
"entrypoint": "ash",
|
|
34
|
|
"script": "#!/bin/ash\r\n# VIAaaS Installation Script\r\n#\r\n# Server Files: /mnt/server\r\ncd /mnt/server\r\nwget -O ${SERVER_JARFILE} \"https://jitpack.io/com/github/ViaVersion/VIAaaS/master-SNAPSHOT/VIAaaS-master-SNAPSHOT-all.jar\"\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
|
|
35
|
|
}
|
|
36
|
|
},
|
|
37
|
|
"variables": [
|
|
38
|
|
{
|
|
39
|
|
"name": "VIAaaS JAR File",
|
|
40
|
|
"description": "The name of the JAR file to be used when downloading & running VIAaaS.",
|
|
41
|
|
"env_variable": "SERVER_JARFILE",
|
|
42
|
|
"default_value": "VIAaaS-all.jar",
|
|
43
|
|
"user_viewable": true,
|
|
44
|
|
"user_editable": true,
|
|
45
|
|
"rules": "required|string",
|
|
46
|
|
"field_type": "text"
|
|
47
|
|
},
|
|
48
|
|
{
|
|
49
|
|
"name": "Web Server Port",
|
|
50
|
|
"description": "The port to listen to web server connections on.",
|
|
51
|
|
"env_variable": "WEBSERVER_PORT",
|
|
52
|
|
"default_value": "25543",
|
|
53
|
|
"user_viewable": true,
|
|
54
|
|
"user_editable": true,
|
|
55
|
|
"rules": "required|string",
|
|
56
|
|
"field_type": "text"
|
|
57
|
|
}
|
|
58
|
|
]
|
|
59
|
|
}
|