forked from pelican-eggs/games-standalone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-pterodactyl-starmade.json
42 lines (42 loc) · 1.68 KB
/
egg-pterodactyl-starmade.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": null,
"version": "PTDL_v2"
},
"exported_at": "2024-06-01T00:17:11+00:00",
"name": "starmade",
"author": "[email protected]",
"description": "starmade",
"features": null,
"docker_images": {
"ghcr.io/parkervcp/yolks:java_16": "ghcr.io/parkervcp/yolks:java_16"
},
"file_denylist": [],
"startup": "java -Xms128m -Xmx{{SERVER_MEMORY}}m -jar {{SERVER_JARFILE}} -server -port:{{SERVER_PORT}}",
"config": {
"files": "{}",
"logs": "{}",
"startup": "{\r\n \"done\": \"SenableGameState(1)\"\r\n}",
"stop": "/shutdown 0"
},
"scripts": {
"installation": {
"container": "eclipse-temurin:16-jdk-focal",
"entrypoint": "bash",
"script": "#!/bin/bash\r\n# starmade Installation Script\r\n#\r\n# Server Files: /mnt/server\r\napt update\r\napt -y install curl\r\n\r\ncd /mnt/server\r\n\r\nwget -O starter.jar http://files.star-made.org/StarMade-Starter.jar\r\n\r\njava -jar starter.jar -nogui\r\n\r\nmv ./StarMade/* ./\r\nrm -r ./StarMade\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
}
},
"variables": [
{
"name": "Server Jarfile",
"description": "",
"env_variable": "SERVER_JARFILE",
"default_value": "StarMade.jar",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:64",
"field_type": "text"
}
]
}