-
Notifications
You must be signed in to change notification settings - Fork 0
/
java-generic.json
55 lines (55 loc) · 2 KB
/
java-generic.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-04-27T23:05:50+01:00",
"name": "Java Generic",
"author": "[email protected]",
"description": "A generic egg for Java.",
"features": null,
"docker_images": {
"Java 21, Python 3.12": "ghcr.io\/zingyawesome\/pyjava:3.12-21",
"Java 21": "ghcr.io\/parkervcp\/yolks:java_21",
"Java 17": "ghcr.io\/parkervcp\/yolks:java_17",
"Java 11": "ghcr.io\/parkervcp\/yolks:java_11"
},
"file_denylist": [],
"startup": "java -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -jar {{JAR_FILE}} {{EXTRA_ARGS}}",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": [\r\n \"Running on http\",\r\n \"is ready.\",\r\n \"has been loaded.\",\r\n \"Finished Loading!\"\r\n ]\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/sh\r\n# Installation Script\r\n\r\necho -e \"Server installation has been completed.\"\r\nexit 0",
"container": "alpine",
"entrypoint": "sh"
}
},
"variables": [
{
"name": "Startup File",
"description": "The .jar file that starts the server.",
"env_variable": "JAR_FILE",
"default_value": "server.jar",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Extra Arguments",
"description": "Any extra arguments to pass after the file.",
"env_variable": "EXTRA_ARGS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:50",
"field_type": "text"
}
]
}