mirror of
https://github.com/pelican-eggs/games-standalone.git
synced 2024-11-25 11:52:35 +01:00
42 lines
1.7 KiB
JSON
42 lines
1.7 KiB
JSON
|
{
|
||
|
"_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": "contact@hunters-tavern.de",
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
}
|